Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.001035/0.001035, allocations: 184.9 kB / 8.135 MB, free: 2.195 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.357/1.357, 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.0009386/0.0009386, allocations: 99.33 kB / 261.8 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.1801/0.1801, allocations: 37.98 MB / 347.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.201/0.3811, allocations: 62.44 MB / 410.1 MB, free: 46.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.4777, allocations: 56.31 MB / 466.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.349/0.8267, allocations: 95.59 MB / 0.5488 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.827, allocations: 91.94 kB / 0.5489 GB, free: 14.83 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0251/0.8522, allocations: 7.873 MB / 0.5566 GB, free: 6.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.8522, allocations: 8 kB / 0.5566 GB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.8524, allocations: 47.44 kB / 0.5567 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.8546, allocations: 0.7188 MB / 0.5574 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.8546, allocations: 8 kB / 0.5574 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.8547, allocations: 19.91 kB / 0.5574 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005174/0.8552, allocations: 237.2 kB / 0.5576 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.8558, allocations: 324.5 kB / 0.5579 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.8558, allocations: 0 / 0.5579 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.8559, allocations: 0 / 0.5579 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.8559, allocations: 8 kB / 0.5579 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.8579, allocations: 1.394 MB / 0.5593 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.8582, allocations: 141.1 kB / 0.5594 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.8583, allocations: 81.73 kB / 0.5595 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.8584, allocations: 4 kB / 0.5595 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.8584, allocations: 38.44 kB / 0.5596 GB, free: 3.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.334e-06/0.8584, allocations: 4 kB / 0.5596 GB, free: 3.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001252/0.8597, allocations: 0.5977 MB / 0.5601 GB, free: 2.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.8598, allocations: 81.11 kB / 0.5602 GB, free: 2.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.8601, allocations: 247.5 kB / 0.5605 GB, free: 2.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.8601, allocations: 25.7 kB / 0.5605 GB, free: 2.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.8602, allocations: 183.5 kB / 0.5607 GB, free: 2.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.8603, allocations: 63.22 kB / 0.5607 GB, free: 2.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.8603, allocations: 0 / 0.5607 GB, free: 2.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8604, allocations: 334.8 kB / 0.561 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.8606, allocations: 63.97 kB / 0.5611 GB, free: 1.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.8607, allocations: 161.8 kB / 0.5612 GB, free: 1.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.8609, allocations: 87.89 kB / 0.5613 GB, free: 1.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8609, allocations: 0 / 0.5613 GB, free: 1.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004338/0.8613, allocations: 265.3 kB / 0.5616 GB, free: 1.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.8614, allocations: 5.406 kB / 0.5616 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.8614, allocations: 4 kB / 0.5616 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.8614, allocations: 4 kB / 0.5616 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.8617, allocations: 59.89 kB / 0.5617 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.8617, allocations: 7.938 kB / 0.5617 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.862, allocations: 11.91 kB / 0.5617 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.862, allocations: 12 kB / 0.5617 GB, free: 1.316 MB / 394.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 (29): * Single equations (assignments): 29 * 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 0.0001173/0.8621, allocations: 112.9 kB / 0.5618 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.8622, allocations: 35.64 kB / 0.5618 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.8626, allocations: 219.8 kB / 0.562 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.8626, allocations: 0 / 0.562 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8626, allocations: 0 / 0.562 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.8627, allocations: 7.984 kB / 0.562 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008451/0.8635, allocations: 0.562 MB / 0.5626 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.8635, allocations: 4 kB / 0.5626 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.8638, allocations: 43.95 kB / 0.5626 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.8638, allocations: 3.984 kB / 0.5626 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.8638, allocations: 0 / 0.5626 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.8638, allocations: 4 kB / 0.5626 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.8638, allocations: 3.938 kB / 0.5627 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006601/0.8645, allocations: 443 kB / 0.5631 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008488/0.8654, allocations: 0.9111 MB / 0.564 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.24e-05/0.8655, allocations: 108.9 kB / 0.5641 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.8655, allocations: 3.984 kB / 0.5641 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.8657, allocations: 4 kB / 0.5641 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.8658, allocations: 11.89 kB / 0.5641 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.8658, allocations: 8 kB / 0.5641 GB, free: 14.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002149/0.866, allocations: 195.1 kB / 0.5643 GB, free: 14.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001019/0.867, allocations: 56 kB / 0.5643 GB, free: 14.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.0002183/0.8673, allocations: 115.2 kB / 0.5644 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.8677, allocations: 171.8 kB / 0.5646 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.8677, allocations: 4 kB / 0.5646 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.8678, allocations: 83.91 kB / 0.5647 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.8683, allocations: 61.98 kB / 0.5648 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.8695, allocations: 471.8 kB / 0.5652 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/0.87, allocations: 0.8489 MB / 0.566 GB, free: 12.65 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.87, allocations: 0 / 0.566 GB, free: 12.65 MB / 410.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat does not exist to compare? outputFormat=mat