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: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001628, allocations: 114.2 kB / 17.69 MB, free: 5.312 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.001833/0.001833, allocations: 191 kB / 18.63 MB, free: 4.379 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.662/1.662, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1926/0.1926, allocations: 38.04 MB / 330.5 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.5 kB / 400.3 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1449, allocations: 58.06 MB / 458.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007284/0.1523, allocations: 4.424 MB / 462.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.1551, allocations: 1.429 MB / 464.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.1554, allocations: 15.88 kB / 464.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.1567, allocations: 369.5 kB / 464.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007082/0.1574, allocations: 254.8 kB / 464.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00077/0.1582, allocations: 235.4 kB / 465 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006795/0.1589, allocations: 0.5612 MB / 465.6 MB, free: 60 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004908/0.1594, allocations: 289.1 kB / 465.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.1597, allocations: 255 kB / 466.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005331/0.1603, allocations: 358.8 kB / 466.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.23e-05/0.1604, allocations: 40 kB / 466.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.1608, allocations: 215.7 kB / 466.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.1611, allocations: 251.3 kB / 467 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.1614, allocations: 246.8 kB / 467.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007727/0.1622, allocations: 0.6737 MB / 467.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1622, allocations: 0 / 467.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1622, allocations: 8 kB / 467.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1622, allocations: 0 / 467.9 MB, free: 13.75 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.001554/0.1638, allocations: 0.7661 MB / 468.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.1638, allocations: 19.77 kB / 468.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006394/0.1645, allocations: 92.22 kB / 468.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/0.1653, allocations: 427.2 kB / 469.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.1653, allocations: 29.38 kB / 469.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.1655, allocations: 56.11 kB / 469.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.1666, allocations: 0.6726 MB / 469.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.1666, allocations: 4 kB / 469.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.1666, allocations: 20 kB / 470 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.1668, allocations: 52.95 kB / 470 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/0.1678, allocations: 0.6713 MB / 470.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/0.1718, allocations: 2.421 MB / 473.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.1724, allocations: 361.6 kB / 473.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.1728, allocations: 254.3 kB / 473.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.1728, allocations: 4.281 kB / 473.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.1729, allocations: 42.78 kB / 473.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.024e-06/0.1729, allocations: 4 kB / 473.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002545/0.1754, allocations: 1.466 MB / 475.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.1755, allocations: 81.11 kB / 475.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.1758, allocations: 286.8 kB / 475.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.1759, allocations: 33.83 kB / 475.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.176, allocations: 251.7 kB / 475.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.1762, allocations: 157.7 kB / 476 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.1763, allocations: 90.16 kB / 476.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.1766, allocations: 350.8 kB / 476.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.1769, allocations: 224.9 kB / 476.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.1774, allocations: 353.8 kB / 477 MB, free: 4.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008154/0.1782, allocations: 0.6317 MB / 477.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1782, allocations: 0 / 477.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001242/0.1795, allocations: 0.72 MB / 478.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.1795, allocations: 15.92 kB / 478.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008525/0.1804, allocations: 0.5186 MB / 478.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.1807, allocations: 76.67 kB / 479 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.1811, allocations: 107.9 kB / 479.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.183, allocations: 1.722 MB / 480.8 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.1833, allocations: 36.03 kB / 480.8 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.1834, allocations: 23.98 kB / 480.9 MB, free: 124 kB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000305/0.1837, allocations: 210 kB / 481.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1838, allocations: 39.47 kB / 481.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009698/0.1848, allocations: 0.5628 MB / 481.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.1848, allocations: 12 kB / 481.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1848, allocations: 3.938 kB / 481.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1849, allocations: 7.984 kB / 481.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.1868, allocations: 1.204 MB / 482.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1868, allocations: 4 kB / 482.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/0.1873, allocations: 83.88 kB / 483 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1873, allocations: 0 / 483 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.1873, allocations: 12.09 kB / 483 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1873, allocations: 8 kB / 483 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1873, allocations: 4 kB / 483 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.1887, allocations: 0.9313 MB / 483.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.1888, allocations: 108.8 kB / 484 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.1888, allocations: 8 kB / 484 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.1891, allocations: 23.98 kB / 484.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.1892, allocations: 27.89 kB / 484.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.1892, allocations: 12 kB / 484.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002945/0.1895, allocations: 197.9 kB / 484.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1895, allocations: 0 / 484.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000538/0.19, allocations: 116 kB / 484.4 MB, free: 12.43 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 (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.0003676/0.1904, allocations: 143.2 kB / 484.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.1917, allocations: 0.6726 MB / 485.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1917, allocations: 256 / 485.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.192, allocations: 263.5 kB / 485.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.1926, allocations: 75.45 kB / 485.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1946, allocations: 1.158 MB / 486.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/0.1954, allocations: 0.8743 MB / 487.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003191/0.1957, allocations: 127.1 kB / 487.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1958, allocations: 35.44 kB / 487.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of SimCode: time 2.484e-06/0.1959, allocations: 0 / 487.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of Templates: time 0.01058/0.2064, allocations: 4.521 MB / 492.3 MB, free: 4.523 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (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 & ./PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches