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.001534/0.001534, allocations: 109.5 kB / 17.68 MB, free: 5.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.001698/0.001699, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.375/1.375, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1759/0.1759, allocations: 38.04 MB / 330.5 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 64.73 kB / 400.2 MB, free: 33.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1047, allocations: 58.06 MB / 458.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006416/0.1111, allocations: 4.42 MB / 462.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.1136, allocations: 1.429 MB / 464.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000345/0.114, allocations: 15.94 kB / 464.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.1153, allocations: 372.4 kB / 464.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006892/0.116, allocations: 250.8 kB / 464.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.1168, allocations: 243.4 kB / 465 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008301/0.1176, allocations: 0.565 MB / 465.6 MB, free: 24 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006069/0.1183, allocations: 285.1 kB / 465.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.1188, allocations: 251 kB / 466.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.1195, allocations: 358.9 kB / 466.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.206e-05/0.1195, allocations: 40 kB / 466.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.12, allocations: 219.6 kB / 466.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.1202, allocations: 239.4 kB / 466.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.1205, allocations: 258.8 kB / 467.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006599/0.1212, allocations: 0.6659 MB / 467.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1212, allocations: 0 / 467.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1212, allocations: 3.938 kB / 467.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1212, allocations: 0 / 467.9 MB, free: 13.73 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.001298/0.1225, allocations: 0.7769 MB / 468.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1225, allocations: 11.89 kB / 468.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005935/0.1231, allocations: 100.2 kB / 468.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007162/0.1239, allocations: 419.2 kB / 469.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.1239, allocations: 33.36 kB / 469.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.1241, allocations: 48.12 kB / 469.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009202/0.125, allocations: 0.6765 MB / 469.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.125, allocations: 7.938 kB / 469.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.1251, allocations: 15.98 kB / 469.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/0.1252, allocations: 52.95 kB / 470 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009225/0.1262, allocations: 0.6752 MB / 470.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.1294, allocations: 2.417 MB / 473.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005405/0.1299, allocations: 369.6 kB / 473.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.1303, allocations: 254.3 kB / 473.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.1303, allocations: 4.281 kB / 473.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1303, allocations: 42.83 kB / 473.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.983e-06/0.1304, allocations: 0 / 473.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002246/0.1326, allocations: 1.466 MB / 475.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.1327, allocations: 85.05 kB / 475.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.133, allocations: 294.8 kB / 475.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.133, allocations: 29.7 kB / 475.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.1332, allocations: 243.7 kB / 475.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1334, allocations: 157.7 kB / 476 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.1335, allocations: 98.14 kB / 476.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1336, allocations: 350.8 kB / 476.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.134, allocations: 217 kB / 476.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.1343, allocations: 365.7 kB / 477 MB, free: 4.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/0.1351, allocations: 0.6278 MB / 477.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1351, allocations: 0 / 477.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001161/0.1363, allocations: 0.7158 MB / 478.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1363, allocations: 11.94 kB / 478.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008383/0.1372, allocations: 0.5186 MB / 478.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.1375, allocations: 77.3 kB / 479 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.1379, allocations: 107.8 kB / 479.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.1396, allocations: 1.726 MB / 480.8 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1398, allocations: 27.97 kB / 480.8 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.1399, allocations: 19.98 kB / 480.8 MB, free: 108 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.0002634/0.1402, allocations: 225.9 kB / 481.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/0.1402, allocations: 39.47 kB / 481.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009583/0.1412, allocations: 0.5629 MB / 481.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/0.1413, allocations: 8 kB / 481.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1413, allocations: 4 kB / 481.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1413, allocations: 3.984 kB / 481.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.1441, allocations: 1.204 MB / 482.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.1442, allocations: 0 / 482.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/0.1448, allocations: 87.81 kB / 483 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1448, allocations: 4 kB / 483 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.1449, allocations: 8 kB / 483 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.1449, allocations: 8 kB / 483 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1449, allocations: 0 / 483 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.1468, allocations: 0.9391 MB / 483.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.1469, allocations: 104.8 kB / 484 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.147, allocations: 8 kB / 484 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.1474, allocations: 19.97 kB / 484 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.1475, allocations: 31.89 kB / 484.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.1475, allocations: 16 kB / 484.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002839/0.1478, allocations: 205.9 kB / 484.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1478, allocations: 0 / 484.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008823/0.1487, allocations: 116 kB / 484.4 MB, free: 12.39 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.0003122/0.1491, allocations: 135.3 kB / 484.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.1506, allocations: 0.6644 MB / 485.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1506, allocations: 0 / 485.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.1511, allocations: 263.5 kB / 485.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/0.1519, allocations: 79.19 kB / 485.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.1545, allocations: 1.165 MB / 486.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.1551, allocations: 0.8743 MB / 487.6 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.1557, allocations: 127.2 kB / 487.7 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.1558, allocations: 31.44 kB / 487.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1558, allocations: 0 / 487.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of Templates: time 0.01318/0.169, allocations: 4.509 MB / 492.2 MB, free: 4.508 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 gbode -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