Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.001492/0.001493, allocations: 185.7 kB / 8.137 MB, free: 2.219 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.454/1.454, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0009762/0.0009762, allocations: 79.92 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1917/0.1917, allocations: 37.96 MB / 347.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2387/0.4304, allocations: 62.44 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.5549, allocations: 56.31 MB / 466.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3421/0.8971, allocations: 93.22 MB / 0.5465 GB, free: 1.277 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.8974, allocations: 83.94 kB / 0.5466 GB, free: 1.195 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.03454/0.932, allocations: 13.23 MB / 0.5595 GB, free: 3.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.932, allocations: 8 kB / 0.5595 GB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.9331, allocations: 99.59 kB / 0.5596 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.9336, allocations: 265.5 kB / 0.5599 GB, free: 3.363 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.9337, allocations: 8 kB / 0.5599 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.9337, allocations: 8 kB / 0.5599 GB, free: 3.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003637/0.9341, allocations: 212.2 kB / 0.5601 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.9345, allocations: 286.4 kB / 0.5604 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.9346, allocations: 0 / 0.5604 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.9346, allocations: 4 kB / 0.5604 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-05/0.9347, allocations: 23.97 kB / 0.5604 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.9366, allocations: 1.252 MB / 0.5616 GB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.937, allocations: 169.1 kB / 0.5618 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.105e-05/0.9371, allocations: 45.78 kB / 0.5618 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.9371, allocations: 0 / 0.5618 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.9372, allocations: 42.48 kB / 0.5619 GB, free: 1.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.9372, allocations: 0 / 0.5619 GB, free: 1.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007066/0.9379, allocations: 261.4 kB / 0.5621 GB, free: 0.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.9379, allocations: 81.05 kB / 0.5622 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.9381, allocations: 163.6 kB / 0.5623 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.9381, allocations: 25.7 kB / 0.5624 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.9382, allocations: 151.8 kB / 0.5625 GB, free: 476 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.9383, allocations: 51.3 kB / 0.5626 GB, free: 424 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.9383, allocations: 3.938 kB / 0.5626 GB, free: 420 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.9384, allocations: 330.8 kB / 0.5629 GB, free: 80 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.9385, allocations: 40 kB / 0.5629 GB, free: 40 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.9387, allocations: 143.5 kB / 0.5631 GB, free: 15.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.9388, allocations: 75.89 kB / 0.5631 GB, free: 15.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.9388, allocations: 0 / 0.5631 GB, free: 15.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004134/0.9392, allocations: 224.6 kB / 0.5633 GB, free: 15.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.9393, allocations: 8.688 kB / 0.5634 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.9393, allocations: 4 kB / 0.5634 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002349/0.9395, allocations: 40.83 kB / 0.5634 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.9397, allocations: 51.84 kB / 0.5634 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.9408, allocations: 1.279 MB / 0.5647 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.9409, allocations: 4 kB / 0.5647 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.941, allocations: 8.156 kB / 0.5647 GB, free: 14.04 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 (24): * Single equations (assignments): 23 * 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 0.0001041/0.9411, allocations: 120.9 kB / 0.5648 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.9411, allocations: 19.8 kB / 0.5648 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.9415, allocations: 175.8 kB / 0.565 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.9415, allocations: 4 kB / 0.565 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.9415, allocations: 0 / 0.565 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.9415, allocations: 0 / 0.565 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007746/0.9423, allocations: 0.5022 MB / 0.5655 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9423, allocations: 0 / 0.5655 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.9424, allocations: 16 kB / 0.5655 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/0.9426, allocations: 40.83 kB / 0.5656 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.9426, allocations: 0 / 0.5656 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009851/0.9436, allocations: 1.26 MB / 0.5668 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.9436, allocations: 0 / 0.5668 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004056/0.944, allocations: 326.3 kB / 0.5671 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005102/0.9446, allocations: 0.7018 MB / 0.5678 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.9446, allocations: 96.91 kB / 0.5679 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.9447, allocations: 4 kB / 0.5679 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.9448, allocations: 0 / 0.5679 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.9448, allocations: 7.984 kB / 0.5679 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.9449, allocations: 4 kB / 0.5679 GB, free: 10.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.553e-05/0.945, allocations: 132.3 kB / 0.568 GB, free: 10.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009583/0.9459, allocations: 51.91 kB / 0.5681 GB, free: 10.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * 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: 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.0001794/0.9461, allocations: 108.2 kB / 0.5682 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.9466, allocations: 243.2 kB / 0.5684 GB, free: 9.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9466, allocations: 0 / 0.5684 GB, free: 9.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.9468, allocations: 162.4 kB / 0.5686 GB, free: 9.742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.9471, allocations: 36.31 kB / 0.5686 GB, free: 9.707 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.9478, allocations: 292 kB / 0.5689 GB, free: 9.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.9482, allocations: 0.7782 MB / 0.5696 GB, free: 8.578 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.9483, allocations: 0 / 0.5696 GB, free: 8.578 MB / 410.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat does not exist to compare? outputFormat=mat