Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_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.001189/0.001189, allocations: 109.7 kB / 16.63 MB, free: 6.816 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.00128/0.001281, allocations: 189.9 kB / 17.55 MB, free: 5.949 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.428/1.428, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1857/0.1857, allocations: 38.02 MB / 329.4 MB, free: 9.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 66.28 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 58.06 MB / 456.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.007744/0.1158, allocations: 5.141 MB / 461.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.1189, allocations: 1.698 MB / 463.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.1194, allocations: 27.81 kB / 463.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008934/0.1204, allocations: 263 kB / 463.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007026/0.1211, allocations: 251 kB / 463.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.1218, allocations: 235.6 kB / 464 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007776/0.1226, allocations: 0.6312 MB / 464.7 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005372/0.1231, allocations: 304.6 kB / 465 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.1236, allocations: 286.9 kB / 465.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/0.1242, allocations: 410.7 kB / 465.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.1243, allocations: 40 kB / 465.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.1247, allocations: 147.8 kB / 465.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.1249, allocations: 247.3 kB / 466.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.1253, allocations: 274.7 kB / 466.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007122/0.126, allocations: 0.6542 MB / 467 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.126, allocations: 0 / 467 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.126, allocations: 0 / 467 MB, free: 13.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.1261, allocations: 3.938 kB / 467 MB, free: 13.74 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.001997/0.1281, allocations: 0.8866 MB / 467.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.1281, allocations: 15.89 kB / 467.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.1282, allocations: 82.7 kB / 468 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005722/0.1288, allocations: 92.23 kB / 468.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009257/0.1298, allocations: 487.7 kB / 468.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.1298, allocations: 33.38 kB / 468.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.13, allocations: 51.94 kB / 468.6 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.1309, allocations: 0.684 MB / 469.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1309, allocations: 7.938 kB / 469.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.131, allocations: 16 kB / 469.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.1311, allocations: 36.98 kB / 469.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007858/0.1319, allocations: 0.5307 MB / 469.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.1356, allocations: 3.102 MB / 473 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.1362, allocations: 321.2 kB / 473.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1364, allocations: 170.2 kB / 473.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.1365, allocations: 11.98 kB / 473.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.1365, allocations: 42.56 kB / 473.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.1365, allocations: 0 / 473.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001894/0.1384, allocations: 1.208 MB / 474.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1385, allocations: 81.11 kB / 474.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.1389, allocations: 397.6 kB / 475.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.1389, allocations: 33.7 kB / 475.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.1392, allocations: 295.2 kB / 475.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.1393, allocations: 114.4 kB / 475.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.1395, allocations: 106.1 kB / 475.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1396, allocations: 350.7 kB / 476.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.14, allocations: 197 kB / 476.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.1404, allocations: 381.5 kB / 476.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/0.1412, allocations: 0.5932 MB / 477.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.1412, allocations: 4 kB / 477.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001873/0.1431, allocations: 0.8412 MB / 478.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.1431, allocations: 10.34 kB / 478.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1431, allocations: 8 kB / 478.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.1444, allocations: 265.9 kB / 478.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.145, allocations: 139.8 kB / 478.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004721/0.1498, allocations: 4.045 MB / 482.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.1502, allocations: 27.97 kB / 482.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.1502, allocations: 24 kB / 482.6 MB, free: 13.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003042/0.1505, allocations: 225.6 kB / 482.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.1506, allocations: 39.53 kB / 482.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007857/0.1514, allocations: 493 kB / 483.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1515, allocations: 7.938 kB / 483.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1515, allocations: 0 / 483.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1515, allocations: 0 / 483.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.1529, allocations: 1.011 MB / 484.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.153, allocations: 7.938 kB / 484.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.1534, allocations: 87.88 kB / 484.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.1534, allocations: 4 kB / 484.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.1535, allocations: 8 kB / 484.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1535, allocations: 3.984 kB / 484.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.1535, allocations: 7.984 kB / 484.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009205/0.1544, allocations: 0.755 MB / 485.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1545, allocations: 120.6 kB / 485.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.1546, allocations: 8.25 kB / 485.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.1549, allocations: 15.98 kB / 485.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.155, allocations: 31.97 kB / 485.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.1551, allocations: 11.98 kB / 485.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.1555, allocations: 267.1 kB / 485.7 MB, free: 9.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1555, allocations: 0 / 485.7 MB, free: 9.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006346/0.1561, allocations: 124 kB / 485.8 MB, free: 9.863 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.1574, allocations: 1.304 MB / 487.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.1591, allocations: 0.8455 MB / 488 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1591, allocations: 7.875 kB / 488 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.1594, allocations: 199.8 kB / 488.2 MB, free: 7.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.1599, allocations: 78.14 kB / 488.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009365/0.1693, allocations: 5.519 MB / 493.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.1699, allocations: 0.8937 MB / 494.7 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003892/0.1703, allocations: 135.3 kB / 494.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.1706, allocations: 167.4 kB / 494.9 MB, free: 364 kB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1706, allocations: 4 kB / 495 MB, free: 360 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.1975, allocations: 10.39 MB / 0.4935 GB, free: 6.117 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.1978, allocations: 229.9 kB / 0.4937 GB, free: 5.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.29, allocations: 64 / 0.4937 GB, free: 5.859 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)