Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",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.001382/0.001382, allocations: 85.27 kB / 16.31 MB, free: 6.449 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.001407/0.001408, allocations: 180.3 kB / 17.21 MB, free: 6.32 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.514/1.514, allocations: 223.2 MB / 241.2 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1917/0.1917, allocations: 38.1 MB / 330.4 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.000439, allocations: 11.98 kB / 400.2 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1416, allocations: 59.18 MB / 459.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006698/0.1483, allocations: 4.447 MB / 463.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.1515, allocations: 1.524 MB / 465.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000524/0.152, allocations: 23.88 kB / 465.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.1524, allocations: 79.39 kB / 465.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.1535, allocations: 270.7 kB / 465.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009035/0.1544, allocations: 227.6 kB / 465.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007932/0.1552, allocations: 0.6821 MB / 466.6 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009405/0.1562, allocations: 0.5153 MB / 467.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.1566, allocations: 207 kB / 467.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.1571, allocations: 351 kB / 467.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.261e-05/0.1572, allocations: 24 kB / 467.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.1577, allocations: 175.7 kB / 467.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.1579, allocations: 223.5 kB / 468.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.1581, allocations: 109.5 kB / 468.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006417/0.1587, allocations: 498.8 kB / 468.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1587, allocations: 0 / 468.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1588, allocations: 0 / 468.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1588, allocations: 0 / 468.6 MB, free: 13.94 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001287/0.1601, allocations: 0.6996 MB / 469.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1601, allocations: 12.03 kB / 469.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.1602, allocations: 86.52 kB / 469.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005575/0.1608, allocations: 87.36 kB / 469.5 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.1614, allocations: 402.1 kB / 469.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1615, allocations: 21 kB / 469.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.1617, allocations: 59.97 kB / 470 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000974/0.1627, allocations: 0.6648 MB / 470.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.1627, allocations: 7.844 kB / 470.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.1627, allocations: 27.98 kB / 470.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.1629, allocations: 48.97 kB / 470.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00097/0.1639, allocations: 0.6635 MB / 471.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.1673, allocations: 2.433 MB / 473.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.1679, allocations: 361.6 kB / 474.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.1682, allocations: 262.2 kB / 474.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.1683, allocations: 4.281 kB / 474.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1683, allocations: 42.84 kB / 474.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.545e-06/0.1683, allocations: 4 kB / 474.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002379/0.1707, allocations: 1.47 MB / 476 MB, free: 6.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.1708, allocations: 85.05 kB / 476.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.1711, allocations: 282.9 kB / 476.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1711, allocations: 29.7 kB / 476.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.1714, allocations: 247.9 kB / 476.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.1716, allocations: 165.6 kB / 476.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.1716, allocations: 4 kB / 476.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1718, allocations: 350.8 kB / 477.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.1722, allocations: 217 kB / 477.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.1726, allocations: 357.8 kB / 477.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.173, allocations: 280.2 kB / 477.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1731, allocations: 3.953 kB / 478 MB, free: 4.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00123/0.1743, allocations: 0.7164 MB / 478.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1743, allocations: 8 kB / 478.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009168/0.1752, allocations: 0.5186 MB / 479.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/0.1756, allocations: 72.73 kB / 479.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.176, allocations: 111.8 kB / 479.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.1776, allocations: 1.589 MB / 481 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.1779, allocations: 35.92 kB / 481 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.178, allocations: 20 kB / 481 MB, free: 0.957 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002752/0.1782, allocations: 217.7 kB / 481.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1784, allocations: 31.62 kB / 481.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008842/0.1792, allocations: 0.5666 MB / 481.8 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.1793, allocations: 15.98 kB / 481.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1793, allocations: 0 / 481.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1793, allocations: 4 kB / 481.8 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.1812, allocations: 1.192 MB / 483 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1812, allocations: 0 / 483 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.1816, allocations: 83.89 kB / 483.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.1816, allocations: 7.953 kB / 483.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.1816, allocations: 11.98 kB / 483.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1816, allocations: 0 / 483.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1817, allocations: 7.938 kB / 483.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.1828, allocations: 0.918 MB / 484.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.715e-05/0.183, allocations: 112.6 kB / 484.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.183, allocations: 11.95 kB / 484.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.1832, allocations: 20.02 kB / 484.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.1833, allocations: 35.95 kB / 484.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.1833, allocations: 8 kB / 484.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.1835, allocations: 197.9 kB / 484.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1835, allocations: 0 / 484.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005291/0.184, allocations: 116 kB / 484.6 MB, free: 13.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.001638/0.1857, allocations: 1.487 MB / 486 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.1868, allocations: 0.6724 MB / 486.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1868, allocations: 0 / 486.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.1871, allocations: 259.5 kB / 487 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.1877, allocations: 59.94 kB / 487 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.1922, allocations: 3.118 MB / 490.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.1928, allocations: 0.8782 MB / 491 MB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000388/0.1932, allocations: 127.1 kB / 491.1 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.1934, allocations: 143.4 kB / 491.3 MB, free: 6.355 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1934, allocations: 0 / 491.3 MB, free: 6.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.2159, allocations: 8.008 MB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.2162, allocations: 219.7 kB / 499.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.334, allocations: 4 kB / 499.5 MB, free: 14.31 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat does not exist to compare? outputFormat=mat