Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001152/0.001152, allocations: 187 kB / 8.135 MB, free: 2.203 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.477/1.477, allocations: 205.2 MB / 213.7 MB, free: 13.92 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.0009268/0.0009269, allocations: 85.72 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1869/0.1869, allocations: 37.96 MB / 347.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2055/0.3924, allocations: 62.44 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.495, allocations: 56.32 MB / 466.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3334/0.8284, allocations: 93.27 MB / 0.5466 GB, free: 1.207 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.8288, allocations: 79.95 kB / 0.5467 GB, free: 1.129 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.04568/0.8745, allocations: 18.05 MB / 0.5643 GB, free: 14.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.8746, allocations: 8 kB / 0.5643 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.8761, allocations: 143.4 kB / 0.5644 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.8766, allocations: 293.2 kB / 0.5647 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.8767, allocations: 12 kB / 0.5647 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.8767, allocations: 19.98 kB / 0.5647 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005414/0.8773, allocations: 305.2 kB / 0.565 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.8779, allocations: 402.7 kB / 0.5654 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.8779, allocations: 3.984 kB / 0.5654 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.878, allocations: 4 kB / 0.5654 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.8781, allocations: 32.62 kB / 0.5654 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.8805, allocations: 1.667 MB / 0.5671 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.8808, allocations: 189.4 kB / 0.5673 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.881, allocations: 134.1 kB / 0.5674 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.881, allocations: 8.172 kB / 0.5674 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.8811, allocations: 34.75 kB / 0.5674 GB, free: 11.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.8811, allocations: 0 / 0.5674 GB, free: 11.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001099/0.8822, allocations: 0.5174 MB / 0.5679 GB, free: 10.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.8822, allocations: 81.11 kB / 0.568 GB, free: 10.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.8824, allocations: 175 kB / 0.5682 GB, free: 10.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.8824, allocations: 25.7 kB / 0.5682 GB, free: 10.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.8825, allocations: 167.8 kB / 0.5684 GB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.8826, allocations: 82.88 kB / 0.5684 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.8826, allocations: 0 / 0.5684 GB, free: 10.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.8827, allocations: 334.7 kB / 0.5688 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.8828, allocations: 104.5 kB / 0.5689 GB, free: 9.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.883, allocations: 196.8 kB / 0.569 GB, free: 9.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.8832, allocations: 133.2 kB / 0.5692 GB, free: 9.492 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8832, allocations: 0 / 0.5692 GB, free: 9.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006898/0.8839, allocations: 410.8 kB / 0.5696 GB, free: 9.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.884, allocations: 5.406 kB / 0.5696 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.884, allocations: 4 kB / 0.5696 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.8844, allocations: 76.8 kB / 0.5696 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.8846, allocations: 59.91 kB / 0.5697 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.8866, allocations: 1.697 MB / 0.5714 GB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.8868, allocations: 7.906 kB / 0.5714 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.8869, allocations: 16.06 kB / 0.5714 GB, free: 7.105 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.887, allocations: 117 kB / 0.5715 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.8871, allocations: 19.72 kB / 0.5715 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007879/0.8879, allocations: 364 kB / 0.5719 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.8879, allocations: 7.906 kB / 0.5719 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.8879, allocations: 4 kB / 0.5719 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.8879, allocations: 7.938 kB / 0.5719 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.8894, allocations: 0.8527 MB / 0.5727 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8895, allocations: 4 kB / 0.5727 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.8896, allocations: 35.92 kB / 0.5727 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002762/0.8899, allocations: 68.8 kB / 0.5728 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.8899, allocations: 3.938 kB / 0.5728 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.8917, allocations: 1.611 MB / 0.5744 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.8917, allocations: 11.92 kB / 0.5744 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000684/0.8924, allocations: 495.7 kB / 0.5749 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007307/0.8932, allocations: 0.8514 MB / 0.5757 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.8932, allocations: 96.83 kB / 0.5758 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.8933, allocations: 0 / 0.5758 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.8934, allocations: 7.984 kB / 0.5758 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.8935, allocations: 11.98 kB / 0.5758 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.8935, allocations: 8 kB / 0.5758 GB, free: 2.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.66e-05/0.8936, allocations: 137.5 kB / 0.576 GB, free: 2.098 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001043/0.8947, allocations: 79.91 kB / 0.576 GB, free: 2.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.8948, allocations: 103.2 kB / 0.5761 GB, free: 1.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006758/0.8955, allocations: 402.3 kB / 0.5765 GB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8955, allocations: 4 kB / 0.5765 GB, free: 1.504 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.8959, allocations: 257.8 kB / 0.5768 GB, free: 1.242 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.8963, allocations: 27.94 kB / 0.5768 GB, free: 1.215 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008931/0.8972, allocations: 444.1 kB / 0.5772 GB, free: 0.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/0.8977, allocations: 0.8217 MB / 0.578 GB, free: 15.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8977, allocations: 0 / 0.578 GB, free: 15.9 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat does not exist to compare? outputFormat=mat