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.001089/0.001089, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001141/0.001141, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.331/1.331, 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-master/package.mo): time 0.17/0.17, allocations: 38.04 MB / 329.4 MB, free: 9.055 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 66.39 kB / 398.3 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1105, allocations: 58.07 MB / 456.3 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006863/0.1174, allocations: 5.065 MB / 461.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004286/0.1218, allocations: 1.613 MB / 463 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/0.1226, allocations: 23.88 kB / 463 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.1243, allocations: 354.7 kB / 463.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.1254, allocations: 235.1 kB / 463.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.1266, allocations: 215.6 kB / 463.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1277, allocations: 0.5611 MB / 464.4 MB, free: 380 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008497/0.1286, allocations: 305.1 kB / 464.7 MB, free: 76 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007037/0.1293, allocations: 259 kB / 464.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00084/0.1302, allocations: 378.9 kB / 465.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.1303, allocations: 40 kB / 465.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007926/0.1311, allocations: 235.6 kB / 465.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003919/0.1316, allocations: 235.5 kB / 465.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005848/0.1322, allocations: 258.7 kB / 466.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.1334, allocations: 0.6581 MB / 466.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1334, allocations: 4 kB / 466.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1334, allocations: 0 / 466.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.1334, allocations: 0 / 466.7 MB, free: 14.03 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.002333/0.1358, allocations: 0.77 MB / 467.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1358, allocations: 11.89 kB / 467.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.1369, allocations: 100.1 kB / 467.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009653/0.1379, allocations: 407.2 kB / 468 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.1381, allocations: 25.38 kB / 468 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.1383, allocations: 60.03 kB / 468.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.1398, allocations: 0.6804 MB / 468.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.1398, allocations: 3.984 kB / 468.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.1399, allocations: 12 kB / 468.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002718/0.1402, allocations: 52.95 kB / 468.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.1419, allocations: 0.6752 MB / 469.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004836/0.1468, allocations: 2.433 MB / 471.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.1476, allocations: 357.7 kB / 472.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/0.1481, allocations: 254.2 kB / 472.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.1482, allocations: 8.266 kB / 472.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.1482, allocations: 46.78 kB / 472.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 3.176e-06/0.1482, allocations: 0 / 472.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.003471/0.1517, allocations: 1.459 MB / 474.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.1518, allocations: 85.05 kB / 474.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.1523, allocations: 291 kB / 474.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.1523, allocations: 37.7 kB / 474.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.1526, allocations: 243.7 kB / 474.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.1528, allocations: 161.6 kB / 474.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.153, allocations: 94.25 kB / 474.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1532, allocations: 346.8 kB / 475.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.1537, allocations: 220.9 kB / 475.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.1541, allocations: 361.8 kB / 475.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.1554, allocations: 0.6278 MB / 476.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1554, allocations: 0 / 476.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001924/0.1574, allocations: 0.724 MB / 477.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1574, allocations: 7.938 kB / 477.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001243/0.1586, allocations: 0.5186 MB / 477.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/0.1592, allocations: 68.73 kB / 477.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.1598, allocations: 108.1 kB / 477.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.1621, allocations: 1.734 MB / 479.6 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.1626, allocations: 31.95 kB / 479.7 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/0.1627, allocations: 20 kB / 479.7 MB, free: 416 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.0003512/0.163, allocations: 205.7 kB / 479.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.1632, allocations: 43.47 kB / 479.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.1646, allocations: 0.5706 MB / 480.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/0.1646, allocations: 15.98 kB / 480.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1646, allocations: 3.938 kB / 480.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.1646, allocations: 3.984 kB / 480.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.1674, allocations: 1.196 MB / 481.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.1674, allocations: 0 / 481.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.168, allocations: 91.81 kB / 481.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.168, allocations: 4 kB / 481.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.1681, allocations: 11.98 kB / 481.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1681, allocations: 0 / 481.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.1681, allocations: 7.984 kB / 481.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.1699, allocations: 0.9219 MB / 482.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.17, allocations: 116.7 kB / 482.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.1701, allocations: 8 kB / 482.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.1705, allocations: 19.97 kB / 482.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.1706, allocations: 27.91 kB / 482.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.1707, allocations: 16 kB / 482.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002817/0.171, allocations: 193.9 kB / 483.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.171, allocations: 4 kB / 483.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00093/0.1719, allocations: 116 kB / 483.3 MB, free: 12.71 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.0003487/0.1723, allocations: 135.5 kB / 483.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.1742, allocations: 0.7773 MB / 484.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.1742, allocations: 0 / 484.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005471/0.1748, allocations: 275.3 kB / 484.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008233/0.1756, allocations: 75.17 kB / 484.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.1786, allocations: 1.365 MB / 485.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/0.1794, allocations: 0.8743 MB / 486.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005688/0.1799, allocations: 135.1 kB / 486.9 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.1801, allocations: 35.42 kB / 486.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1801, allocations: 0 / 486.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of Templates: time 0.01373/0.1939, allocations: 4.436 MB / 491.3 MB, free: 4.566 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches