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.0009637/0.0009637, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001102/0.001102, allocations: 169.1 kB / 24.91 MB, free: 9.191 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2494/0.2494, allocations: 29.43 MB / 291.2 MB, free: 2.484 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.094e-05, allocations: 3.672 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005931/0.005962, allocations: 4.12 MB / 321 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.00839, allocations: 1.356 MB / 322.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.008629, allocations: 19.81 kB / 322.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006769/0.009306, allocations: 282.7 kB / 322.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004789/0.009785, allocations: 250.5 kB / 322.9 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.01035, allocations: 247.2 kB / 323.1 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.01088, allocations: 0.5649 MB / 323.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.01119, allocations: 252.3 kB / 323.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.01168, allocations: 391 kB / 324.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.012, allocations: 303.2 kB / 324.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.01205, allocations: 40 kB / 324.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.01242, allocations: 235.5 kB / 324.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.01261, allocations: 251.4 kB / 325.1 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.01274, allocations: 175.6 kB / 325.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.01326, allocations: 0.5452 MB / 325.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01326, allocations: 0 / 325.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01326, allocations: 0 / 325.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.01327, allocations: 0 / 325.8 MB, free: 6.961 MB / 298.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.0007458/0.01402, allocations: 0.6413 MB / 326.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.01405, allocations: 11.98 kB / 326.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/0.01452, allocations: 140.7 kB / 326.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.01491, allocations: 316.4 kB / 326.9 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.01493, allocations: 29.36 kB / 327 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/0.01502, allocations: 56.69 kB / 327 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.01541, allocations: 419.7 kB / 327.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.01543, allocations: 3.938 kB / 327.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.01546, allocations: 19.98 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.702e-05/0.01553, allocations: 40.98 kB / 327.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.0158, allocations: 229.6 kB / 327.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.01738, allocations: 1.753 MB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.01759, allocations: 203.9 kB / 329.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.0177, allocations: 78.03 kB / 329.8 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.01773, allocations: 12.28 kB / 329.8 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.01776, allocations: 42.77 kB / 329.8 MB, free: 2.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/0.01777, allocations: 0 / 329.8 MB, free: 2.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008664/0.01863, allocations: 0.6293 MB / 330.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.01867, allocations: 85.09 kB / 330.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.01884, allocations: 254.8 kB / 330.8 MB, free: 1.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.01886, allocations: 33.69 kB / 330.8 MB, free: 1.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.01896, allocations: 236.7 kB / 331 MB, free: 1.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.579e-05/0.01905, allocations: 162.6 kB / 331.2 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.01915, allocations: 90.09 kB / 331.3 MB, free: 1.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.01925, allocations: 350.7 kB / 331.6 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.01933, allocations: 72.08 kB / 331.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.01947, allocations: 193.9 kB / 331.9 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.01975, allocations: 337.4 kB / 332.2 MB, free: 188 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01975, allocations: 3.938 kB / 332.2 MB, free: 184 kB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004713/0.02022, allocations: 370.4 kB / 332.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.02024, allocations: 8 kB / 332.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002269/0.02046, allocations: 184.4 kB / 332.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/0.02065, allocations: 68.17 kB / 332.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.02088, allocations: 99.83 kB / 332.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008176/0.02169, allocations: 1.289 MB / 334.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.0218, allocations: 16.03 kB / 334.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.02183, allocations: 16 kB / 334.2 MB, free: 14.03 MB / 314.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.0001114/0.02194, allocations: 148.4 kB / 334.4 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.022, allocations: 35.97 kB / 334.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.02228, allocations: 260 kB / 334.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.02229, allocations: 12 kB / 334.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.0223, allocations: 0 / 334.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.0223, allocations: 3.984 kB / 334.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/0.02303, allocations: 0.6854 MB / 335.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.02304, allocations: 7.984 kB / 335.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.02327, allocations: 83.89 kB / 335.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.02327, allocations: 144 / 335.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.02329, allocations: 11.98 kB / 335.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.0233, allocations: 7.938 kB / 335.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.0233, allocations: 3.938 kB / 335.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.02368, allocations: 485.5 kB / 336 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.02371, allocations: 31.77 kB / 336 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.02373, allocations: 8 kB / 336 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.02382, allocations: 4 kB / 336 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.02386, allocations: 35.83 kB / 336 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.02388, allocations: 15.97 kB / 336.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.72e-05/0.02393, allocations: 84.64 kB / 336.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02393, allocations: 0 / 336.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002718/0.02421, allocations: 119.9 kB / 336.3 MB, free: 11.93 MB / 314.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.0001465/0.02435, allocations: 120.2 kB / 336.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.02473, allocations: 372.8 kB / 336.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.02474, allocations: 4 kB / 336.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.02484, allocations: 121.9 kB / 336.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.02511, allocations: 83.91 kB / 337 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.02626, allocations: 0.8976 MB / 337.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.175e-05/0.02636, allocations: 157.7 kB / 338 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.02648, allocations: 47.27 kB / 338 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.02663, allocations: 119.2 kB / 338.2 MB, free: 9.938 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02663, allocations: 0 / 338.2 MB, free: 9.938 MB / 314.7 MB Notification: Performance of Templates: time 0.006439/0.03307, allocations: 4.938 MB / 343.1 MB, free: 5.098 MB / 314.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.00674089230597]