Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.001002/0.001001, allocations: 188.7 kB / 8.138 MB, free: 2.219 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.9786/0.9786, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.00158/0.00158, allocations: 118.2 kB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1527/0.1527, allocations: 37.92 MB / 330.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.172/0.3248, allocations: 59.34 MB / 389.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07196/0.3967, allocations: 53.23 MB / 443.1 MB, free: 24.91 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/0.6197, allocations: 88.23 MB / 0.5189 GB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.6199, allocations: 85.3 kB / 0.519 GB, free: 10.77 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.028/0.6479, allocations: 13.21 MB / 0.5319 GB, free: 5.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.6479, allocations: 10.19 kB / 0.5319 GB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008166/0.6488, allocations: 98.88 kB / 0.532 GB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.6491, allocations: 270.7 kB / 0.5322 GB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.6491, allocations: 10.52 kB / 0.5322 GB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.6491, allocations: 12.34 kB / 0.5323 GB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003023/0.6494, allocations: 195.7 kB / 0.5324 GB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.6498, allocations: 296.2 kB / 0.5327 GB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6498, allocations: 1.25 kB / 0.5327 GB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.6498, allocations: 1.281 kB / 0.5327 GB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.35e-05/0.6499, allocations: 19.73 kB / 0.5327 GB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.6512, allocations: 1.242 MB / 0.534 GB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.6514, allocations: 141.5 kB / 0.5341 GB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.6515, allocations: 48.02 kB / 0.5341 GB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.6515, allocations: 5.5 kB / 0.5341 GB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.6516, allocations: 35.97 kB / 0.5342 GB, free: 3.684 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.6516, allocations: 0 / 0.5342 GB, free: 3.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004565/0.652, allocations: 223.3 kB / 0.5344 GB, free: 3.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.6521, allocations: 87.08 kB / 0.5345 GB, free: 3.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.6522, allocations: 160.5 kB / 0.5346 GB, free: 3.367 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.6522, allocations: 25.7 kB / 0.5346 GB, free: 3.336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.6522, allocations: 154.2 kB / 0.5348 GB, free: 3.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.6523, allocations: 49.52 kB / 0.5348 GB, free: 3.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.6523, allocations: 0 / 0.5348 GB, free: 3.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.6523, allocations: 330 kB / 0.5352 GB, free: 2.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.6524, allocations: 41.3 kB / 0.5352 GB, free: 2.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-05/0.6525, allocations: 143.5 kB / 0.5353 GB, free: 2.703 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.6526, allocations: 72.16 kB / 0.5354 GB, free: 2.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6526, allocations: 1.25 kB / 0.5354 GB, free: 2.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002488/0.6528, allocations: 196.4 kB / 0.5356 GB, free: 2.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.6529, allocations: 3.5 kB / 0.5356 GB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6529, allocations: 3.438 kB / 0.5356 GB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6529, allocations: 5.5 kB / 0.5356 GB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.6531, allocations: 46.5 kB / 0.5356 GB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6531, allocations: 4.938 kB / 0.5357 GB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.6532, allocations: 7.594 kB / 0.5357 GB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.6532, allocations: 20.89 kB / 0.5357 GB, free: 2.586 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 (25): * Single equations (assignments): 25 * 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.049e-05/0.6533, allocations: 110.5 kB / 0.5358 GB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.6533, allocations: 19.25 kB / 0.5358 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.6535, allocations: 138.7 kB / 0.5359 GB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6535, allocations: 6.344 kB / 0.5359 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.6535, allocations: 0 / 0.5359 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6535, allocations: 1.406 kB / 0.5359 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006482/0.6542, allocations: 0.7661 MB / 0.5367 GB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6542, allocations: 3.656 kB / 0.5367 GB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.6543, allocations: 35.98 kB / 0.5367 GB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.6543, allocations: 5.688 kB / 0.5367 GB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.6544, allocations: 3.969 kB / 0.5367 GB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6544, allocations: 4.156 kB / 0.5367 GB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.6544, allocations: 7.75 kB / 0.5368 GB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002203/0.6546, allocations: 483.1 kB / 0.5372 GB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002509/0.6549, allocations: 0.8589 MB / 0.538 GB, free: 288 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.6549, allocations: 92.92 kB / 0.5381 GB, free: 176 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.6549, allocations: 15.97 kB / 0.5382 GB, free: 160 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.6551, allocations: 0 / 0.5382 GB, free: 160 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.6551, allocations: 19.33 kB / 0.5382 GB, free: 144 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.6551, allocations: 8 kB / 0.5382 GB, free: 136 kB / 346.7 MB Notification: Performance of sort global known variables: time 5.547e-05/0.6552, allocations: 129.1 kB / 0.5383 GB, free: 24 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009825/0.6561, allocations: 44.05 kB / 0.5383 GB, free: 15.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.0001129/0.6563, allocations: 103.1 kB / 0.5384 GB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.6565, allocations: 123.7 kB / 0.5386 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6565, allocations: 0 / 0.5386 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.6566, allocations: 56.61 kB / 0.5386 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.6568, allocations: 35.22 kB / 0.5386 GB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.6574, allocations: 349.4 kB / 0.539 GB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.6578, allocations: 0.7853 MB / 0.5397 GB, free: 14.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6578, allocations: 0 / 0.5397 GB, free: 14.52 MB / 362.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)