Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.001084/0.001084, allocations: 184 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.296/1.296, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0008491/0.0008491, allocations: 82.8 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.1604/0.1604, allocations: 37.96 MB / 347.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1893/0.3497, allocations: 62.44 MB / 410.1 MB, free: 46.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.4632, allocations: 56.32 MB / 466.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.8129, allocations: 98.15 MB / 0.5513 GB, free: 12.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.8132, allocations: 91.94 kB / 0.5514 GB, free: 12.33 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.03082/0.844, allocations: 11.21 MB / 0.5624 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.844, allocations: 8.188 kB / 0.5624 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.8442, allocations: 55.34 kB / 0.5624 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/0.8474, allocations: 1.201 MB / 0.5636 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.8475, allocations: 23.92 kB / 0.5636 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.8476, allocations: 20 kB / 0.5636 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005847/0.8481, allocations: 337.6 kB / 0.564 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.8489, allocations: 448.8 kB / 0.5644 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.8489, allocations: 3.938 kB / 0.5644 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.8489, allocations: 0.75 kB / 0.5644 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.759e-05/0.849, allocations: 16.78 kB / 0.5644 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.8517, allocations: 2.019 MB / 0.5664 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.8521, allocations: 225.7 kB / 0.5666 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.8523, allocations: 126.1 kB / 0.5667 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.8524, allocations: 4.188 kB / 0.5667 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.8524, allocations: 34.75 kB / 0.5668 GB, free: 12.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.8524, allocations: 0 / 0.5668 GB, free: 12.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001044/0.8535, allocations: 0.6576 MB / 0.5674 GB, free: 11.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.8535, allocations: 81.11 kB / 0.5675 GB, free: 11.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.8538, allocations: 304.7 kB / 0.5678 GB, free: 11.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.8538, allocations: 25.7 kB / 0.5678 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.854, allocations: 259.2 kB / 0.568 GB, free: 10.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.8541, allocations: 82.94 kB / 0.5681 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.8541, allocations: 3.938 kB / 0.5681 GB, free: 10.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.8542, allocations: 346.8 kB / 0.5685 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.8544, allocations: 76.86 kB / 0.5685 GB, free: 10.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.8546, allocations: 256.4 kB / 0.5688 GB, free: 9.973 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.8548, allocations: 131.9 kB / 0.5689 GB, free: 9.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8548, allocations: 4 kB / 0.5689 GB, free: 9.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006646/0.8554, allocations: 401.6 kB / 0.5693 GB, free: 9.434 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.8555, allocations: 4.625 kB / 0.5693 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8555, allocations: 4 kB / 0.5693 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.8557, allocations: 60.77 kB / 0.5694 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.856, allocations: 76.28 kB / 0.5694 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.8572, allocations: 1.416 MB / 0.5708 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.8575, allocations: 4 kB / 0.5708 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.8575, allocations: 24.06 kB / 0.5708 GB, free: 7.727 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.8576, allocations: 120.8 kB / 0.571 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.8577, allocations: 39.53 kB / 0.571 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.858, allocations: 213 kB / 0.5712 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.858, allocations: 8.062 kB / 0.5712 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.8581, allocations: 3.984 kB / 0.5712 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.8581, allocations: 3.984 kB / 0.5712 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/0.8587, allocations: 0.6059 MB / 0.5718 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8587, allocations: 0 / 0.5718 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.859, allocations: 51.97 kB / 0.5718 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.859, allocations: 0 / 0.5718 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.859, allocations: 192 / 0.5718 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.859, allocations: 12.03 kB / 0.5719 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.859, allocations: 0 / 0.5719 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004648/0.8595, allocations: 451.6 kB / 0.5723 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006844/0.8602, allocations: 0.9037 MB / 0.5732 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.8603, allocations: 116.6 kB / 0.5733 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.8604, allocations: 7.938 kB / 0.5733 GB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.8605, allocations: 4.062 kB / 0.5733 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.8606, allocations: 15.98 kB / 0.5733 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.8606, allocations: 7.938 kB / 0.5733 GB, free: 5.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000217/0.8608, allocations: 231.2 kB / 0.5735 GB, free: 4.809 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001003/0.8618, allocations: 95.84 kB / 0.5736 GB, free: 4.715 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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.0002228/0.862, allocations: 131.1 kB / 0.5738 GB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.8626, allocations: 347.2 kB / 0.5741 GB, free: 4.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8626, allocations: 4.312 kB / 0.5741 GB, free: 4.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.8627, allocations: 91.86 kB / 0.5742 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.8633, allocations: 77.39 kB / 0.5743 GB, free: 4.059 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.8644, allocations: 0.5865 MB / 0.5748 GB, free: 3.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/0.865, allocations: 0.897 MB / 0.5757 GB, free: 2.516 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.865, allocations: 0 / 0.5757 GB, free: 2.516 MB / 410.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat does not exist to compare? outputFormat=mat