Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.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.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",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.0009671/0.0009671, allocations: 188.3 kB / 7.847 MB, free: 2.512 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.162/1.162, allocations: 221.4 MB / 229.7 MB, free: 3.004 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.0009762/0.0009762, allocations: 94.92 kB / 280.5 MB, free: 1.301 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03759/0.03759, allocations: 8.102 MB / 339.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1769/0.2145, allocations: 58.61 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.297, allocations: 52.52 MB / 450.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.5364, allocations: 78.98 MB / 0.5171 GB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001567/0.5366, allocations: 57.42 kB / 0.5171 GB, free: 15.41 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.01414/0.5507, allocations: 5.943 MB / 0.5229 GB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5508, allocations: 11.94 kB / 0.5229 GB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.5509, allocations: 15.81 kB / 0.523 GB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.5511, allocations: 205.6 kB / 0.5232 GB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.5511, allocations: 4 kB / 0.5232 GB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.5511, allocations: 8.844 kB / 0.5232 GB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002154/0.5514, allocations: 106.1 kB / 0.5233 GB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.5516, allocations: 159.7 kB / 0.5234 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5516, allocations: 0 / 0.5234 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.5516, allocations: 0 / 0.5234 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.5517, allocations: 7.938 kB / 0.5234 GB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008915/0.5526, allocations: 0.5214 MB / 0.5239 GB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/0.5534, allocations: 151.1 kB / 0.5241 GB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.5535, allocations: 46.92 kB / 0.5241 GB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.5536, allocations: 85.09 kB / 0.5242 GB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.5536, allocations: 30.75 kB / 0.5242 GB, free: 9.453 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/0.5536, allocations: 0 / 0.5242 GB, free: 9.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006865/0.5543, allocations: 179.1 kB / 0.5244 GB, free: 9.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.5544, allocations: 77.11 kB / 0.5245 GB, free: 9.211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.5545, allocations: 122.8 kB / 0.5246 GB, free: 9.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.5545, allocations: 25.7 kB / 0.5246 GB, free: 9.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.5545, allocations: 122.9 kB / 0.5247 GB, free: 8.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.5546, allocations: 27.55 kB / 0.5248 GB, free: 8.914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.5546, allocations: 0 / 0.5248 GB, free: 8.914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.5547, allocations: 325.3 kB / 0.5251 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.388e-05/0.5547, allocations: 29.75 kB / 0.5251 GB, free: 8.574 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.5548, allocations: 51.12 kB / 0.5252 GB, free: 8.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.555, allocations: 45.89 kB / 0.5252 GB, free: 8.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.555, allocations: 0 / 0.5252 GB, free: 8.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005721/0.5556, allocations: 186.6 kB / 0.5254 GB, free: 8.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.5556, allocations: 4 kB / 0.5254 GB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5556, allocations: 0 / 0.5254 GB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/0.5561, allocations: 86.2 kB / 0.5255 GB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.5562, allocations: 8 kB / 0.5255 GB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.5579, allocations: 1.419 MB / 0.5269 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.558, allocations: 11.95 kB / 0.5269 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.558, allocations: 4 kB / 0.5269 GB, free: 6.812 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.283e-05/0.5581, allocations: 107.4 kB / 0.527 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.5581, allocations: 12 kB / 0.527 GB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006777/0.5588, allocations: 213.1 kB / 0.5272 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5588, allocations: 3.938 kB / 0.5272 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5589, allocations: 4 kB / 0.5272 GB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5589, allocations: 3.984 kB / 0.5272 GB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.5591, allocations: 196.5 kB / 0.5274 GB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5591, allocations: 288 / 0.5274 GB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.88e-05/0.5592, allocations: 15.98 kB / 0.5274 GB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/0.5596, allocations: 77.34 kB / 0.5275 GB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.5597, allocations: 15.98 kB / 0.5275 GB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.5611, allocations: 1.393 MB / 0.5289 GB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5611, allocations: 0 / 0.5289 GB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006156/0.5617, allocations: 293.2 kB / 0.5291 GB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006942/0.5625, allocations: 0.6512 MB / 0.5298 GB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.5625, allocations: 88.95 kB / 0.5299 GB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.5625, allocations: 0 / 0.5299 GB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.5627, allocations: 4 kB / 0.5299 GB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.5627, allocations: 7.984 kB / 0.5299 GB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.5627, allocations: 4 kB / 0.5299 GB, free: 3.789 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.02e-05/0.5628, allocations: 105.4 kB / 0.53 GB, free: 3.695 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008546/0.5636, allocations: 39.84 kB / 0.53 GB, free: 3.66 MB / 346.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 (10): * Single equations (assignments): 9 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.5638, allocations: 111.2 kB / 0.5301 GB, free: 3.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.5645, allocations: 219.6 kB / 0.5303 GB, free: 3.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5645, allocations: 4 kB / 0.5303 GB, free: 3.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.5649, allocations: 184 kB / 0.5305 GB, free: 3.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.5651, allocations: 13 kB / 0.5305 GB, free: 3.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.5655, allocations: 149.9 kB / 0.5307 GB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.5658, allocations: 0.7308 MB / 0.5314 GB, free: 2.238 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5658, allocations: 4 kB / 0.5314 GB, free: 2.234 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneperfectTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1)