Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",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 3.2.2+maint.om/package.mo): time 0.001063/0.001063, allocations: 180.6 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.98/0.98, allocations: 194.2 MB / 202.8 MB, free: 8.648 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001654/0.001654, allocations: 124.7 kB / 247.8 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1498/0.1498, allocations: 37.92 MB / 330.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1777/0.3275, allocations: 59.34 MB / 389.9 MB, free: 78.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07164/0.3992, allocations: 53.22 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.6355, allocations: 89.59 MB / 0.5202 GB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/0.6357, allocations: 80.61 kB / 0.5203 GB, free: 10.54 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.03087/0.6665, allocations: 14.64 MB / 0.5346 GB, free: 4.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.6666, allocations: 8.312 kB / 0.5346 GB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.6676, allocations: 111.5 kB / 0.5347 GB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.668, allocations: 279.9 kB / 0.535 GB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.668, allocations: 6.062 kB / 0.535 GB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.6681, allocations: 10.28 kB / 0.535 GB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003643/0.6685, allocations: 206.7 kB / 0.5352 GB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.6688, allocations: 292.7 kB / 0.5355 GB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.6688, allocations: 7.844 kB / 0.5355 GB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.6689, allocations: 4 kB / 0.5355 GB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.6689, allocations: 15.98 kB / 0.5355 GB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.6703, allocations: 1.289 MB / 0.5368 GB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.6706, allocations: 135.1 kB / 0.5369 GB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.6706, allocations: 43.59 kB / 0.5369 GB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.6707, allocations: 0 / 0.5369 GB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.6707, allocations: 38.55 kB / 0.537 GB, free: 2.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.6707, allocations: 0 / 0.537 GB, free: 2.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002309/0.6709, allocations: 116 kB / 0.5371 GB, free: 2.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.671, allocations: 81.08 kB / 0.5371 GB, free: 2.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.6711, allocations: 167 kB / 0.5373 GB, free: 2.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.6711, allocations: 25.7 kB / 0.5373 GB, free: 1.996 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.6712, allocations: 157.4 kB / 0.5375 GB, free: 1.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.6712, allocations: 42.27 kB / 0.5375 GB, free: 1.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.6712, allocations: 4 kB / 0.5375 GB, free: 1.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.6713, allocations: 329.8 kB / 0.5378 GB, free: 1.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.6713, allocations: 30.5 kB / 0.5379 GB, free: 1.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.6714, allocations: 139 kB / 0.538 GB, free: 1.301 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.277e-05/0.6715, allocations: 69.95 kB / 0.5381 GB, free: 1.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6715, allocations: 4 kB / 0.5381 GB, free: 1.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002295/0.6717, allocations: 186.5 kB / 0.5382 GB, free: 1.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6717, allocations: 8 kB / 0.5383 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.6718, allocations: 0 / 0.5383 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6718, allocations: 8 kB / 0.5383 GB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.672, allocations: 51.84 kB / 0.5383 GB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.672, allocations: 4.438 kB / 0.5383 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.6721, allocations: 27.73 kB / 0.5383 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.6721, allocations: 8 kB / 0.5384 GB, free: 0.9805 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.6722, allocations: 112.9 kB / 0.5385 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.6722, allocations: 19.8 kB / 0.5385 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.6724, allocations: 128.1 kB / 0.5386 GB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6724, allocations: 7.906 kB / 0.5386 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6725, allocations: 4 kB / 0.5386 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6725, allocations: 4 kB / 0.5386 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.6731, allocations: 0.7314 MB / 0.5393 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.6731, allocations: 4 kB / 0.5393 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.6732, allocations: 23.92 kB / 0.5394 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6732, allocations: 4 kB / 0.5394 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.6733, allocations: 4 kB / 0.5394 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6733, allocations: 4 kB / 0.5394 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.6733, allocations: 7.938 kB / 0.5394 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002983/0.6736, allocations: 444.7 kB / 0.5398 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004041/0.674, allocations: 0.8068 MB / 0.5406 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.6741, allocations: 99.73 kB / 0.5407 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.6741, allocations: 7.984 kB / 0.5407 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.6742, allocations: 0 / 0.5407 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.6743, allocations: 15.25 kB / 0.5407 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.6743, allocations: 8 kB / 0.5407 GB, free: 14.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.547e-05/0.6744, allocations: 130.8 kB / 0.5408 GB, free: 14.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009171/0.6753, allocations: 59.78 kB / 0.5409 GB, free: 14.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001174/0.6754, allocations: 110.3 kB / 0.541 GB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.6756, allocations: 119 kB / 0.5411 GB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6756, allocations: 4.062 kB / 0.5411 GB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.6757, allocations: 52.67 kB / 0.5412 GB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.676, allocations: 26.41 kB / 0.5412 GB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.6765, allocations: 326 kB / 0.5415 GB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.6769, allocations: 0.7921 MB / 0.5423 GB, free: 12.73 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6769, allocations: 0 / 0.5423 GB, free: 12.73 MB / 362.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)