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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007791/0.0007791, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003037/0.003037, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.7901/0.7901, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2037/0.2037, allocations: 29.41 MB / 290.8 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 431.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.223e-05, allocations: 2.281 kB / 431.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.003255/0.003268, allocations: 4.319 MB / 435.8 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.004621, allocations: 1.383 MB / 437.1 MB, free: 7.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.004751, allocations: 15.88 kB / 437.2 MB, free: 7.367 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.005259, allocations: 370.4 kB / 437.5 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.005583, allocations: 270.4 kB / 437.8 MB, free: 6.738 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.005956, allocations: 255.2 kB / 438 MB, free: 6.488 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.006317, allocations: 0.5805 MB / 438.6 MB, free: 5.906 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.006553, allocations: 217.5 kB / 438.8 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.006853, allocations: 354.9 kB / 439.2 MB, free: 5.344 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.007123, allocations: 339.2 kB / 439.5 MB, free: 5.012 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.00716, allocations: 40 kB / 439.5 MB, free: 4.973 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.007409, allocations: 235.5 kB / 439.8 MB, free: 4.742 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.007543, allocations: 251.3 kB / 440 MB, free: 4.496 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.007659, allocations: 179.6 kB / 440.2 MB, free: 4.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.008137, allocations: 0.7011 MB / 440.9 MB, free: 3.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.008139, allocations: 0 / 440.9 MB, free: 3.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008139, allocations: 3.938 kB / 440.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.008144, allocations: 0 / 440.9 MB, free: 3.613 MB / 410.7 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.0007508/0.008895, allocations: 0.7095 MB / 441.6 MB, free: 2.871 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.008921, allocations: 15.98 kB / 441.6 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000377/0.009298, allocations: 124.5 kB / 441.8 MB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.009686, allocations: 359.9 kB / 442.1 MB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.009703, allocations: 29.38 kB / 442.1 MB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.009805, allocations: 56.67 kB / 442.2 MB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.01039, allocations: 0.6766 MB / 442.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.0104, allocations: 7.938 kB / 442.9 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.01043, allocations: 16 kB / 442.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.217e-05/0.01051, allocations: 48.97 kB / 442.9 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.01111, allocations: 0.6635 MB / 443.6 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1289/0.14, allocations: 2.228 MB / 445.8 MB, free: 53.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.1404, allocations: 325 kB / 446.1 MB, free: 53.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.1405, allocations: 228.3 kB / 446.4 MB, free: 53.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1405, allocations: 6.781 kB / 446.4 MB, free: 53.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.1406, allocations: 41.44 kB / 446.4 MB, free: 53.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.1406, allocations: 0 / 446.4 MB, free: 53.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.001228/0.1418, allocations: 1.395 MB / 447.8 MB, free: 52.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.1418, allocations: 87.23 kB / 447.9 MB, free: 52.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1419, allocations: 280.9 kB / 448.2 MB, free: 52.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.142, allocations: 32.36 kB / 448.2 MB, free: 52.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.142, allocations: 254.1 kB / 448.4 MB, free: 52.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.1421, allocations: 165.9 kB / 448.6 MB, free: 52.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.1422, allocations: 91.58 kB / 448.7 MB, free: 51.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.372e-05/0.1422, allocations: 351 kB / 449 MB, free: 51.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.1424, allocations: 221.8 kB / 449.3 MB, free: 51.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.1425, allocations: 357.6 kB / 449.6 MB, free: 51.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/0.1429, allocations: 0.6373 MB / 450.2 MB, free: 51.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1429, allocations: 0 / 450.2 MB, free: 51.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006211/0.1435, allocations: 0.7176 MB / 451 MB, free: 50.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1436, allocations: 8.094 kB / 451 MB, free: 50.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004171/0.144, allocations: 0.5213 MB / 451.5 MB, free: 50.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.1441, allocations: 73.77 kB / 451.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1443, allocations: 108.8 kB / 451.7 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006816/0.145, allocations: 1.593 MB / 453.3 MB, free: 49.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1451, allocations: 38.03 kB / 453.3 MB, free: 49.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.1452, allocations: 23.62 kB / 453.3 MB, free: 49.18 MB / 410.7 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.0001181/0.1453, allocations: 215.2 kB / 453.5 MB, free: 49.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.1453, allocations: 35.7 kB / 453.6 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004316/0.1458, allocations: 0.5599 MB / 454.1 MB, free: 48.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.1458, allocations: 16.14 kB / 454.1 MB, free: 48.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1458, allocations: 0 / 454.1 MB, free: 48.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1458, allocations: 5.062 kB / 454.1 MB, free: 48.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008417/0.1466, allocations: 1.069 MB / 455.2 MB, free: 48.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1466, allocations: 0 / 455.2 MB, free: 48.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.1468, allocations: 88.98 kB / 455.3 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1468, allocations: 3.281 kB / 455.3 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1468, allocations: 11.19 kB / 455.3 MB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1468, allocations: 3.375 kB / 455.3 MB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1468, allocations: 3.938 kB / 455.3 MB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.1474, allocations: 0.9285 MB / 456.3 MB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.1474, allocations: 32.83 kB / 456.3 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1474, allocations: 14.81 kB / 456.3 MB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.1475, allocations: 20.5 kB / 456.3 MB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.1476, allocations: 31.58 kB / 456.4 MB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1476, allocations: 13.72 kB / 456.4 MB, free: 47.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.842e-05/0.1477, allocations: 187.9 kB / 456.5 MB, free: 47.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1477, allocations: 0 / 456.5 MB, free: 47.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.1479, allocations: 122.8 kB / 456.7 MB, free: 47.65 MB / 410.7 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.0001408/0.1481, allocations: 140.7 kB / 456.8 MB, free: 47.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005209/0.1486, allocations: 0.637 MB / 457.4 MB, free: 47.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1486, allocations: 0 / 457.4 MB, free: 47.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.1488, allocations: 237.1 kB / 457.7 MB, free: 47.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1491, allocations: 73.27 kB / 457.7 MB, free: 47.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008861/0.1499, allocations: 1.145 MB / 458.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.1501, allocations: 278.4 kB / 459.2 MB, free: 46.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.1502, allocations: 40.3 kB / 459.2 MB, free: 46.48 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1502, allocations: 5.453 kB / 459.2 MB, free: 46.48 MB / 410.7 MB Notification: Performance of Templates: time 0.004488/0.1546, allocations: 6.8 MB / 466 MB, free: 45.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.433745920658112]