Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009819/0.000982, allocations: 184.3 kB / 7.84 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 221.4 MB / 229.6 MB, free: 3.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009358, allocations: 102.1 kB / 280.5 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03763/0.03763, allocations: 8.101 MB / 339.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1758/0.2134, allocations: 58.62 MB / 398 MB, free: 67.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06977/0.2832, allocations: 52.51 MB / 450.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.5142, allocations: 80.2 MB / 0.5183 GB, free: 13.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001533/0.5144, allocations: 66.81 kB / 0.5183 GB, free: 13.91 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.02347/0.5379, allocations: 8.469 MB / 0.5266 GB, free: 7.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.5379, allocations: 11.94 kB / 0.5266 GB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.5381, allocations: 23.72 kB / 0.5266 GB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.5385, allocations: 259 kB / 0.5269 GB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5386, allocations: 8 kB / 0.5269 GB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.5386, allocations: 11.98 kB / 0.5269 GB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004552/0.5391, allocations: 231.9 kB / 0.5271 GB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.5396, allocations: 264.2 kB / 0.5274 GB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5396, allocations: 0 / 0.5274 GB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.5396, allocations: 3.906 kB / 0.5274 GB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.5396, allocations: 4 kB / 0.5274 GB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.5415, allocations: 1.145 MB / 0.5285 GB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.5418, allocations: 253.1 kB / 0.5287 GB, free: 5.387 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.5421, allocations: 149.9 kB / 0.5289 GB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.5422, allocations: 85.09 kB / 0.529 GB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5423, allocations: 42.19 kB / 0.529 GB, free: 5.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.764e-06/0.5423, allocations: 0 / 0.529 GB, free: 5.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.002069/0.5443, allocations: 0.5779 MB / 0.5296 GB, free: 4.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.5444, allocations: 88.98 kB / 0.5297 GB, free: 4.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.5446, allocations: 173.2 kB / 0.5298 GB, free: 4.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.5447, allocations: 25.7 kB / 0.5299 GB, free: 4.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.5448, allocations: 119.6 kB / 0.53 GB, free: 4.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.5448, allocations: 79.5 kB / 0.53 GB, free: 4.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.5449, allocations: 4 kB / 0.53 GB, free: 4.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.545, allocations: 325.3 kB / 0.5304 GB, free: 3.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.5453, allocations: 129.5 kB / 0.5305 GB, free: 3.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.5455, allocations: 152.7 kB / 0.5306 GB, free: 3.773 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.5459, allocations: 159.9 kB / 0.5308 GB, free: 3.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5459, allocations: 0 / 0.5308 GB, free: 3.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002043/0.548, allocations: 0.6154 MB / 0.5314 GB, free: 3.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.548, allocations: 11.28 kB / 0.5314 GB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.548, allocations: 0 / 0.5314 GB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.5499, allocations: 334.5 kB / 0.5317 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.5501, allocations: 39.03 kB / 0.5317 GB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.5538, allocations: 2.249 MB / 0.5339 GB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.554, allocations: 15.84 kB / 0.534 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.5541, allocations: 7.984 kB / 0.534 GB, free: 0.9844 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.5542, allocations: 108.9 kB / 0.5341 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.5543, allocations: 15.81 kB / 0.5341 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.5564, allocations: 0.6404 MB / 0.5347 GB, free: 388 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.5564, allocations: 7.906 kB / 0.5347 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.5564, allocations: 0 / 0.5347 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.5564, allocations: 0 / 0.5347 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.5568, allocations: 383.9 kB / 0.5351 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5568, allocations: 0 / 0.5351 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.557, allocations: 38.09 kB / 0.5351 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.5588, allocations: 336.2 kB / 0.5354 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.5588, allocations: 0 / 0.5354 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/0.5623, allocations: 2.242 MB / 0.5376 GB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5623, allocations: 4 kB / 0.5376 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001905/0.5642, allocations: 0.687 MB / 0.5383 GB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002019/0.5662, allocations: 1.051 MB / 0.5393 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.5663, allocations: 104.8 kB / 0.5394 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.5664, allocations: 4 kB / 0.5394 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.5666, allocations: 11.98 kB / 0.5394 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.5667, allocations: 23.81 kB / 0.5395 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.5667, allocations: 4 kB / 0.5395 GB, free: 12.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001127/0.5668, allocations: 143.5 kB / 0.5396 GB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009868/0.5678, allocations: 83.86 kB / 0.5397 GB, free: 12.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002123/0.5681, allocations: 111.2 kB / 0.5398 GB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.5692, allocations: 479.2 kB / 0.5403 GB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5692, allocations: 0 / 0.5403 GB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007791/0.57, allocations: 345.8 kB / 0.5406 GB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.5703, allocations: 17.33 kB / 0.5406 GB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.5711, allocations: 285.6 kB / 0.5409 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.5715, allocations: 0.7713 MB / 0.5416 GB, free: 10.25 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5715, allocations: 4 kB / 0.5416 GB, free: 10.24 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)