Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007987/0.0007987, allocations: 86.34 kB / 16.31 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009171/0.0009172, allocations: 186.6 kB / 17.21 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 241.2 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1777/0.1777, allocations: 38.09 MB / 330.4 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003062, allocations: 11.98 kB / 400.2 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 59.17 MB / 459.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005887/0.128, allocations: 4.517 MB / 463.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.1312, allocations: 1.618 MB / 465.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.1316, allocations: 23.81 kB / 465.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.132, allocations: 75.39 kB / 465.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008874/0.1328, allocations: 290.6 kB / 465.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.1337, allocations: 243.5 kB / 466.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008141/0.1345, allocations: 0.7209 MB / 466.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008357/0.1354, allocations: 484.3 kB / 467.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003597/0.1357, allocations: 235 kB / 467.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.1363, allocations: 374.9 kB / 467.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.1364, allocations: 20 kB / 467.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.1367, allocations: 103.8 kB / 468 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.1369, allocations: 215.5 kB / 468.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.137, allocations: 109.5 kB / 468.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.1375, allocations: 0.4909 MB / 468.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1375, allocations: 0 / 468.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1375, allocations: 4 kB / 468.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.1376, allocations: 0 / 468.8 MB, free: 13.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001782/0.1393, allocations: 0.7931 MB / 469.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1394, allocations: 8.031 kB / 469.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.1395, allocations: 86.5 kB / 469.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/0.1401, allocations: 95.28 kB / 469.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008424/0.1409, allocations: 470.7 kB / 470.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.1409, allocations: 29 kB / 470.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.1411, allocations: 63.88 kB / 470.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009106/0.142, allocations: 0.6762 MB / 471 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.142, allocations: 7.938 kB / 471 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/0.1421, allocations: 16 kB / 471 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.1422, allocations: 36.98 kB / 471.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007805/0.143, allocations: 0.5228 MB / 471.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.1465, allocations: 3.11 MB / 474.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.1471, allocations: 321.2 kB / 475 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.1474, allocations: 170.2 kB / 475.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.1474, allocations: 19.98 kB / 475.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1475, allocations: 38.55 kB / 475.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.1475, allocations: 0 / 475.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00195/0.1494, allocations: 1.203 MB / 476.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.1495, allocations: 81.11 kB / 476.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.1499, allocations: 401.6 kB / 476.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.15, allocations: 33.7 kB / 477 MB, free: 5.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.1502, allocations: 291.2 kB / 477.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.1503, allocations: 126.3 kB / 477.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.1503, allocations: 8 kB / 477.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1505, allocations: 350.8 kB / 477.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.1508, allocations: 192.9 kB / 477.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.1512, allocations: 385.5 kB / 478.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.1516, allocations: 247.8 kB / 478.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1516, allocations: 4 kB / 478.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001699/0.1533, allocations: 0.8224 MB / 479.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1533, allocations: 16.05 kB / 479.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1533, allocations: 8 kB / 479.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.1545, allocations: 265.4 kB / 479.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.1551, allocations: 139.8 kB / 479.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004615/0.1597, allocations: 3.757 MB / 483.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.1601, allocations: 31.91 kB / 483.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.1601, allocations: 24 kB / 483.6 MB, free: 14.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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: 2 * 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: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.1605, allocations: 221.6 kB / 483.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.1606, allocations: 39.53 kB / 483.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007577/0.1613, allocations: 489.1 kB / 484.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1613, allocations: 7.953 kB / 484.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1613, allocations: 4 kB / 484.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.1614, allocations: 0 / 484.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.1627, allocations: 1.011 MB / 485.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1627, allocations: 0 / 485.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.1632, allocations: 95.89 kB / 485.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.1632, allocations: 4 kB / 485.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.1632, allocations: 11.94 kB / 485.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.1632, allocations: 7.984 kB / 485.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1632, allocations: 0 / 485.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.1642, allocations: 0.7351 MB / 486.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.1643, allocations: 124.6 kB / 486.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.1643, allocations: 11.95 kB / 486.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.1646, allocations: 15.98 kB / 486.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1646, allocations: 27.77 kB / 486.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.1647, allocations: 20.23 kB / 486.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002868/0.165, allocations: 263.1 kB / 486.6 MB, free: 11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.165, allocations: 3.938 kB / 486.6 MB, free: 11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005354/0.1655, allocations: 124 kB / 486.8 MB, free: 10.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * 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.001151/0.1667, allocations: 1.285 MB / 488 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.168, allocations: 0.7831 MB / 488.8 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.168, allocations: 0 / 488.8 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.1683, allocations: 208.6 kB / 489 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/0.1688, allocations: 78.02 kB / 489.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/0.175, allocations: 3.734 MB / 492.8 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.1755, allocations: 0.9018 MB / 493.7 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003995/0.1759, allocations: 139.3 kB / 493.9 MB, free: 3.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.1761, allocations: 171.4 kB / 494 MB, free: 3.352 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1761, allocations: 0 / 494 MB, free: 3.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.199, allocations: 10.01 MB / 0.4922 GB, free: 9.539 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.1993, allocations: 222.2 kB / 0.4925 GB, free: 9.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.189, allocations: 0 / 0.4925 GB, free: 9.293 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat does not exist to compare? outputFormat=mat