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.001032/0.001032, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001159/0.001159, allocations: 170.8 kB / 24.91 MB, free: 9.156 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.9951/0.9951, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2729/0.2729, allocations: 29.42 MB / 291.2 MB, free: 2.492 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.594e-06/2.594e-06, allocations: 0 / 316.8 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/3.02e-05, allocations: 2.969 kB / 316.8 MB, free: 36 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005619/0.005649, allocations: 4.069 MB / 320.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.008252, allocations: 1.356 MB / 322.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003209/0.008573, allocations: 23.81 kB / 322.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008139/0.009387, allocations: 282.7 kB / 322.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000647/0.01003, allocations: 254.6 kB / 322.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.01079, allocations: 259.2 kB / 323.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007584/0.01155, allocations: 0.5611 MB / 323.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.01197, allocations: 252.2 kB / 323.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007449/0.01272, allocations: 383 kB / 324.2 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.0132, allocations: 307.2 kB / 324.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.01326, allocations: 36 kB / 324.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.01378, allocations: 239.5 kB / 324.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.01406, allocations: 251.4 kB / 325 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.01426, allocations: 171.6 kB / 325.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.01509, allocations: 0.549 MB / 325.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.0151, allocations: 0 / 325.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0151, allocations: 0 / 325.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.01511, allocations: 0 / 325.8 MB, free: 7.055 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.001094/0.0162, allocations: 0.6337 MB / 326.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.01625, allocations: 15.98 kB / 326.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/0.01696, allocations: 136.7 kB / 326.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/0.01755, allocations: 320.4 kB / 326.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.01757, allocations: 29.31 kB / 326.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.01772, allocations: 52.69 kB / 326.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.01822, allocations: 419.7 kB / 327.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.01824, allocations: 7.984 kB / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.01828, allocations: 12 kB / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.0184, allocations: 44.97 kB / 327.4 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006421/0.02482, allocations: 233.5 kB / 327.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.02701, allocations: 1.76 MB / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.02729, allocations: 200.4 kB / 329.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.02741, allocations: 82.03 kB / 329.7 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.02744, allocations: 12.28 kB / 329.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.02747, allocations: 34.84 kB / 329.7 MB, free: 2.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 2.855e-06/0.02747, allocations: 0 / 329.7 MB, free: 2.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.007209/0.03468, allocations: 0.6377 MB / 330.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.03473, allocations: 81.11 kB / 330.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.03493, allocations: 254.9 kB / 330.7 MB, free: 1.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.03496, allocations: 29.7 kB / 330.7 MB, free: 1.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.0351, allocations: 236.8 kB / 331 MB, free: 1.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.03521, allocations: 166.6 kB / 331.1 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.03533, allocations: 90.08 kB / 331.2 MB, free: 1.336 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.03545, allocations: 354.7 kB / 331.5 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.03556, allocations: 67.95 kB / 331.6 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.03573, allocations: 197.9 kB / 331.8 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.03607, allocations: 329.4 kB / 332.1 MB, free: 284 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.03608, allocations: 8 kB / 332.1 MB, free: 276 kB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.006671/0.04275, allocations: 362.9 kB / 332.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.04277, allocations: 8.094 kB / 332.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003288/0.0431, allocations: 196.4 kB / 332.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/0.04335, allocations: 59.62 kB / 332.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.04363, allocations: 87.83 kB / 332.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009731/0.0446, allocations: 1.289 MB / 334.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.04479, allocations: 12 kB / 334.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.04482, allocations: 16 kB / 334.2 MB, free: 14.14 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.000151/0.04497, allocations: 144.4 kB / 334.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.04507, allocations: 35.97 kB / 334.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.04543, allocations: 260.1 kB / 334.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.04544, allocations: 16.03 kB / 334.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.04544, allocations: 3.938 kB / 334.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.04545, allocations: 3.984 kB / 334.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007105/0.05256, allocations: 0.6893 MB / 335.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.05256, allocations: 0 / 335.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.05282, allocations: 71.91 kB / 335.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.05282, allocations: 4 kB / 335.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.05285, allocations: 8 kB / 335.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.05285, allocations: 4.094 kB / 335.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.05285, allocations: 4 kB / 335.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.05337, allocations: 489.3 kB / 335.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.05342, allocations: 31.77 kB / 335.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.05346, allocations: 11.98 kB / 335.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.0536, allocations: 8 kB / 335.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.05365, allocations: 27.89 kB / 335.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.05367, allocations: 8 kB / 335.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.851e-05/0.05376, allocations: 88.62 kB / 336 MB, free: 12.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05376, allocations: 0 / 336 MB, free: 12.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004755/0.05423, allocations: 127.9 kB / 336.2 MB, free: 12.04 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.006227/0.06046, allocations: 124.3 kB / 336.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006253/0.06109, allocations: 368.9 kB / 336.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.0611, allocations: 8.062 kB / 336.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.06125, allocations: 113.7 kB / 336.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.06165, allocations: 65.41 kB / 336.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.06329, allocations: 0.9015 MB / 337.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006142/0.06943, allocations: 157.8 kB / 337.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.06962, allocations: 51.25 kB / 337.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.06982, allocations: 111.3 kB / 338 MB, free: 10.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.293e-06/0.06983, allocations: 0 / 338 MB, free: 10.07 MB / 314.7 MB Notification: Performance of Templates: time 0.01573/0.08556, allocations: 4.83 MB / 342.9 MB, free: 5.332 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 -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.2771355509757996]