Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 183.5 kB / 8.138 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.2 MB / 213.7 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009397/0.0009399, allocations: 95.36 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1837/0.1837, allocations: 37.97 MB / 347.7 MB, free: 7.535 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2147/0.3985, allocations: 62.44 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.5095, allocations: 56.3 MB / 466.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/0.8435, allocations: 93.22 MB / 0.5465 GB, free: 1.293 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.8438, allocations: 79.95 kB / 0.5466 GB, free: 1.215 MB / 378.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.03465/0.8785, allocations: 13.25 MB / 0.5595 GB, free: 3.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.8785, allocations: 8 kB / 0.5595 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009886/0.8795, allocations: 91.61 kB / 0.5596 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.88, allocations: 277.5 kB / 0.5599 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.88, allocations: 4 kB / 0.5599 GB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.88, allocations: 12 kB / 0.5599 GB, free: 3.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003527/0.8804, allocations: 204.2 kB / 0.5601 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.8808, allocations: 282.4 kB / 0.5604 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.8809, allocations: 3.938 kB / 0.5604 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.8809, allocations: 15.97 kB / 0.5604 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-05/0.881, allocations: 19.98 kB / 0.5604 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.8827, allocations: 1.244 MB / 0.5616 GB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.8831, allocations: 137.1 kB / 0.5618 GB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.8832, allocations: 46.75 kB / 0.5618 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.8832, allocations: 0 / 0.5618 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.8833, allocations: 42.56 kB / 0.5618 GB, free: 1.215 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.8833, allocations: 3.938 kB / 0.5618 GB, free: 1.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006639/0.884, allocations: 226.2 kB / 0.5621 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.884, allocations: 77.11 kB / 0.5621 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.8843, allocations: 159.6 kB / 0.5623 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.8843, allocations: 25.7 kB / 0.5623 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.8844, allocations: 159.8 kB / 0.5625 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.8845, allocations: 47.3 kB / 0.5625 GB, free: 496 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.8845, allocations: 4.031 kB / 0.5625 GB, free: 492 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.8846, allocations: 322.8 kB / 0.5628 GB, free: 160 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.8847, allocations: 47.98 kB / 0.5629 GB, free: 112 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.8849, allocations: 140.8 kB / 0.563 GB, free: 15.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.8851, allocations: 65.22 kB / 0.5631 GB, free: 15.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.8851, allocations: 0 / 0.5631 GB, free: 15.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003143/0.8854, allocations: 193.6 kB / 0.5632 GB, free: 15.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.8854, allocations: 9.438 kB / 0.5633 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8854, allocations: 4 kB / 0.5633 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.8855, allocations: 7.906 kB / 0.5633 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.8856, allocations: 55.84 kB / 0.5633 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.8856, allocations: 4 kB / 0.5633 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.8858, allocations: 4 kB / 0.5633 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.8858, allocations: 12 kB / 0.5633 GB, free: 15.57 MB / 410.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 9.03e-05/0.8859, allocations: 112.8 kB / 0.5634 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.8859, allocations: 15.81 kB / 0.5635 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.8862, allocations: 151 kB / 0.5636 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.8862, allocations: 0 / 0.5636 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.8863, allocations: 11.91 kB / 0.5636 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.8863, allocations: 0 / 0.5636 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.8872, allocations: 0.7538 MB / 0.5644 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8872, allocations: 4 kB / 0.5644 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.8873, allocations: 28.36 kB / 0.5644 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.8874, allocations: 12 kB / 0.5644 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.8874, allocations: 11.91 kB / 0.5644 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.8874, allocations: 4 kB / 0.5644 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.8874, allocations: 7.938 kB / 0.5644 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003776/0.8878, allocations: 479.1 kB / 0.5649 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004474/0.8883, allocations: 0.8549 MB / 0.5657 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.8883, allocations: 92.92 kB / 0.5658 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.8884, allocations: 8 kB / 0.5658 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.8885, allocations: 7.984 kB / 0.5658 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.8886, allocations: 15.91 kB / 0.5658 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.8886, allocations: 4 kB / 0.5658 GB, free: 12.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.547e-05/0.8887, allocations: 132.3 kB / 0.566 GB, free: 12.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001001/0.8897, allocations: 44 kB / 0.566 GB, free: 12.4 MB / 410.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.0001819/0.8899, allocations: 115.1 kB / 0.5661 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.8901, allocations: 120.2 kB / 0.5662 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8901, allocations: 4 kB / 0.5662 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.8902, allocations: 53.17 kB / 0.5663 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.8906, allocations: 36.5 kB / 0.5663 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008856/0.8915, allocations: 350 kB / 0.5667 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.8921, allocations: 0.786 MB / 0.5674 GB, free: 10.85 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8921, allocations: 0 / 0.5674 GB, free: 10.85 MB / 410.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat does not exist to compare? outputFormat=mat