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.002041/0.002041, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002447/0.002447, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.643/1.643, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3013/0.3013, allocations: 29.42 MB / 290.5 MB, free: 2.434 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 2.886e-06/2.886e-06, allocations: 0 / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.364e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007007/0.007041, allocations: 4.323 MB / 373.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.01, allocations: 1.383 MB / 374.6 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.0102, allocations: 23.81 kB / 374.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.01143, allocations: 366.4 kB / 375 MB, free: 5.219 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006658/0.01209, allocations: 266.4 kB / 375.2 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007868/0.01288, allocations: 255.2 kB / 375.5 MB, free: 4.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007484/0.01363, allocations: 0.5689 MB / 376 MB, free: 4.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/0.01408, allocations: 217.5 kB / 376.2 MB, free: 3.926 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.01464, allocations: 358.8 kB / 376.6 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.01516, allocations: 343.2 kB / 376.9 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/0.01523, allocations: 36 kB / 377 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.01569, allocations: 231.5 kB / 377.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.01598, allocations: 251.4 kB / 377.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.01623, allocations: 179.6 kB / 377.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000932/0.01716, allocations: 0.701 MB / 378.3 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.01717, allocations: 8 kB / 378.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01717, allocations: 0 / 378.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.01718, allocations: 0 / 378.3 MB, free: 1.844 MB / 346.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.001795/0.01897, allocations: 0.7017 MB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.01902, allocations: 11.98 kB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009233/0.01994, allocations: 184.4 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000746/0.02069, allocations: 377.2 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.02073, allocations: 33.38 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.02089, allocations: 48.67 kB / 379.7 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.02205, allocations: 0.6844 MB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.02207, allocations: 0 / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.02213, allocations: 12 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/0.02231, allocations: 56.95 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.02359, allocations: 0.6635 MB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.02739, allocations: 2.237 MB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.02803, allocations: 328.9 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.02841, allocations: 226 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.02845, allocations: 8.281 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.02849, allocations: 34.83 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.033e-06/0.0285, allocations: 4 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.002817/0.03131, allocations: 1.421 MB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.0314, allocations: 85.05 kB / 385.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.03178, allocations: 292 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.03182, allocations: 29.7 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.03204, allocations: 252.2 kB / 386 MB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.03222, allocations: 166.6 kB / 386.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.03239, allocations: 94.14 kB / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.03262, allocations: 346.8 kB / 386.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.03299, allocations: 221 kB / 386.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.03351, allocations: 358 kB / 387.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.03462, allocations: 0.6288 MB / 387.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.03463, allocations: 4 kB / 387.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001466/0.03609, allocations: 0.7445 MB / 388.5 MB, free: 7.227 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.03611, allocations: 4 kB / 388.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009653/0.03708, allocations: 0.5235 MB / 389 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/0.03751, allocations: 89.14 kB / 389.1 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.03794, allocations: 107.8 kB / 389.2 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.0399, allocations: 1.593 MB / 390.8 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.04018, allocations: 27.91 kB / 390.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.04023, allocations: 23.98 kB / 390.9 MB, free: 4.758 MB / 362.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.0003112/0.04055, allocations: 217.7 kB / 391.1 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.04071, allocations: 59.75 kB / 391.1 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.04175, allocations: 0.5563 MB / 391.7 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.04177, allocations: 12 kB / 391.7 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.04177, allocations: 0 / 391.7 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.04179, allocations: 11.92 kB / 391.7 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.04385, allocations: 1.056 MB / 392.8 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.04386, allocations: 8.094 kB / 392.8 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.04429, allocations: 83.88 kB / 392.9 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.0443, allocations: 7.938 kB / 392.9 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.04433, allocations: 11.94 kB / 392.9 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.04434, allocations: 4 kB / 392.9 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.04434, allocations: 0 / 392.9 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.04583, allocations: 0.9487 MB / 393.8 MB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.0459, allocations: 39.73 kB / 393.9 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.04596, allocations: 15.94 kB / 393.9 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.04619, allocations: 15.98 kB / 393.9 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.04626, allocations: 23.95 kB / 393.9 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.0463, allocations: 19.98 kB / 393.9 MB, free: 1.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002397/0.04654, allocations: 187.1 kB / 394.1 MB, free: 1.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04654, allocations: 0 / 394.1 MB, free: 1.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005712/0.04711, allocations: 116 kB / 394.2 MB, free: 1.285 MB / 362.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.0003143/0.04743, allocations: 151.1 kB / 394.4 MB, free: 1.125 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.04872, allocations: 0.6378 MB / 395 MB, free: 484 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.04872, allocations: 0 / 395 MB, free: 484 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.0491, allocations: 231.5 kB / 395.3 MB, free: 252 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.04965, allocations: 80.17 kB / 395.3 MB, free: 180 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.05165, allocations: 1.113 MB / 396.4 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.05201, allocations: 278.4 kB / 396.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.05234, allocations: 119.2 kB / 396.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.05247, allocations: 36.48 kB / 396.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05247, allocations: 0 / 396.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of Templates: time 0.01107/0.06355, allocations: 4.503 MB / 401.4 MB, free: 10.15 MB / 378.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.018156260950491]