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.001079/0.001079, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.00177/0.00177, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.367/1.367, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1819/0.1819, allocations: 38.04 MB / 329.7 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 70.86 kB / 398.8 MB, free: 34.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 58.05 MB / 456.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006812/0.1265, allocations: 4.428 MB / 461.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1287, allocations: 1.418 MB / 462.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.1289, allocations: 19.88 kB / 462.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.13, allocations: 370.5 kB / 463.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.1305, allocations: 246.8 kB / 463.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.1311, allocations: 247.4 kB / 463.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.1317, allocations: 0.5573 MB / 464.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.1321, allocations: 289.1 kB / 464.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.1324, allocations: 255 kB / 464.7 MB, free: 276 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.1329, allocations: 358.8 kB / 465 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.133, allocations: 40 kB / 465 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.1334, allocations: 235.6 kB / 465.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.1336, allocations: 243.3 kB / 465.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.1339, allocations: 254.8 kB / 465.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.1345, allocations: 0.6543 MB / 466.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1345, allocations: 0 / 466.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1346, allocations: 0 / 466.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1346, allocations: 0 / 466.4 MB, free: 14.5 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.001315/0.1359, allocations: 0.77 MB / 467.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1359, allocations: 15.89 kB / 467.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006205/0.1366, allocations: 88.22 kB / 467.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/0.1371, allocations: 407.2 kB / 467.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.1372, allocations: 33.36 kB / 467.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.1373, allocations: 48.12 kB / 467.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000941/0.1383, allocations: 0.6803 MB / 468.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.1383, allocations: 7.938 kB / 468.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.1384, allocations: 16 kB / 468.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.1386, allocations: 52.95 kB / 468.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009497/0.1395, allocations: 0.6752 MB / 469.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.1427, allocations: 2.429 MB / 471.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.1433, allocations: 364.5 kB / 472 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.1436, allocations: 254.2 kB / 472.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.1437, allocations: 12.27 kB / 472.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1437, allocations: 30.84 kB / 472.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.615e-06/0.1437, allocations: 0 / 472.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002173/0.1459, allocations: 1.482 MB / 473.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.146, allocations: 81.11 kB / 473.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.1462, allocations: 286.8 kB / 474.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.1463, allocations: 29.7 kB / 474.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1464, allocations: 247.7 kB / 474.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.1466, allocations: 161.7 kB / 474.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.1467, allocations: 98.14 kB / 474.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1468, allocations: 350.8 kB / 475 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.1472, allocations: 221 kB / 475.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.1476, allocations: 360.7 kB / 475.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/0.1484, allocations: 0.6277 MB / 476.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.1484, allocations: 0 / 476.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001215/0.1496, allocations: 0.7121 MB / 476.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1496, allocations: 11.94 kB / 476.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000856/0.1505, allocations: 0.5225 MB / 477.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.1508, allocations: 73.33 kB / 477.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.1512, allocations: 115.8 kB / 477.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.1528, allocations: 1.714 MB / 479.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.1531, allocations: 27.97 kB / 479.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.1532, allocations: 23.98 kB / 479.4 MB, free: 0.8945 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 (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.0002389/0.1534, allocations: 217.7 kB / 479.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.1535, allocations: 43.45 kB / 479.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008691/0.1544, allocations: 0.5668 MB / 480.2 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.1544, allocations: 8 kB / 480.2 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1545, allocations: 4 kB / 480.2 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1545, allocations: 3.984 kB / 480.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.1563, allocations: 1.203 MB / 481.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1564, allocations: 144 / 481.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.1568, allocations: 87.88 kB / 481.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.1568, allocations: 3.984 kB / 481.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.1568, allocations: 8 kB / 481.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1569, allocations: 4 kB / 481.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1569, allocations: 4.094 kB / 481.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.158, allocations: 0.9257 MB / 482.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.1581, allocations: 108.8 kB / 482.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.1582, allocations: 8 kB / 482.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.1584, allocations: 19.98 kB / 482.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.1585, allocations: 31.89 kB / 482.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.1585, allocations: 16 kB / 482.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.1587, allocations: 197.9 kB / 482.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.1587, allocations: 0 / 482.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005125/0.1592, allocations: 123.9 kB / 482.9 MB, free: 13.2 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.0002403/0.1595, allocations: 139.5 kB / 483.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.1608, allocations: 0.7732 MB / 483.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.1608, allocations: 5.062 kB / 483.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.1611, allocations: 267.5 kB / 484.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.1617, allocations: 72.56 kB / 484.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.1636, allocations: 1.177 MB / 485.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.164, allocations: 0.8782 MB / 486.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003439/0.1644, allocations: 127.2 kB / 486.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1645, allocations: 39.42 kB / 486.4 MB, free: 9.641 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1645, allocations: 0 / 486.4 MB, free: 9.641 MB / 366.1 MB Notification: Performance of Templates: time 0.009506/0.174, allocations: 4.43 MB / 490.8 MB, free: 5.246 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