Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.001316/0.001316, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001458/0.001458, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.481/1.481, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.1 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.1798/0.1798, allocations: 29.42 MB / 290.7 MB, free: 3.277 MB / 270.1 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.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.91 kB / 431.2 MB, free: 3.234 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5131, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006457/0.5196, allocations: 6.33 MB / 500 MB, free: 33.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.5223, allocations: 1.925 MB / 0.4901 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.5225, allocations: 31.09 kB / 0.4901 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.5241, allocations: 0.7045 MB / 0.4908 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.5254, allocations: 0.5816 MB / 0.4914 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.526, allocations: 257.6 kB / 0.4917 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.5272, allocations: 1.142 MB / 0.4928 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006529/0.5279, allocations: 469.7 kB / 0.4932 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007128/0.5286, allocations: 0.5477 MB / 0.4937 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000771/0.5293, allocations: 0.6255 MB / 0.4944 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.5294, allocations: 66.75 kB / 0.4944 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005562/0.53, allocations: 280.7 kB / 0.4947 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.5303, allocations: 494 kB / 0.4952 GB, free: 30.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.5307, allocations: 414.4 kB / 0.4956 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009435/0.5316, allocations: 1.192 MB / 0.4967 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5316, allocations: 0 / 0.4967 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5316, allocations: 4 kB / 0.4967 GB, free: 29.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.5317, allocations: 0 / 0.4967 GB, free: 29.35 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001908/0.5336, allocations: 1.161 MB / 0.4979 GB, free: 28.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.5336, allocations: 17.48 kB / 0.4979 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009865/0.5346, allocations: 170.5 kB / 0.498 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.5356, allocations: 0.5487 MB / 0.4986 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.5357, allocations: 73.92 kB / 0.4986 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.5359, allocations: 96.5 kB / 0.4987 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.5373, allocations: 1.155 MB / 0.4999 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.5373, allocations: 7.141 kB / 0.4999 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.177e-05/0.5374, allocations: 30.47 kB / 0.4999 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.5375, allocations: 91.12 kB / 0.5 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.5388, allocations: 0.9876 MB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.5428, allocations: 3.775 MB / 0.5046 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.5438, allocations: 0.5879 MB / 0.5052 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.5441, allocations: 283.5 kB / 0.5055 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.5442, allocations: 10.81 kB / 0.5055 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.5442, allocations: 38.09 kB / 0.5055 GB, free: 24.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.154e-06/0.5442, allocations: 0 / 0.5055 GB, free: 24.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.00251/0.5467, allocations: 1.68 MB / 0.5072 GB, free: 23.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.5468, allocations: 87.95 kB / 0.5073 GB, free: 23.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.5472, allocations: 0.556 MB / 0.5078 GB, free: 23.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.5472, allocations: 36.77 kB / 0.5078 GB, free: 23.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.5474, allocations: 451.3 kB / 0.5083 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.5475, allocations: 224.8 kB / 0.5085 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.5477, allocations: 196 kB / 0.5087 GB, free: 22.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.5478, allocations: 381.2 kB / 0.509 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.5482, allocations: 285.1 kB / 0.5093 GB, free: 22.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.5487, allocations: 0.609 MB / 0.5099 GB, free: 21.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/0.5496, allocations: 0.9758 MB / 0.5108 GB, free: 20.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5496, allocations: 7.25 kB / 0.5109 GB, free: 20.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002004/0.5516, allocations: 1.167 MB / 0.512 GB, free: 20.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.5516, allocations: 12.22 kB / 0.512 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001202/0.5528, allocations: 0.7071 MB / 0.5127 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006936/0.5535, allocations: 222.7 kB / 0.5129 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/0.5543, allocations: 219.4 kB / 0.5131 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/0.5582, allocations: 4.966 MB / 0.518 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/0.559, allocations: 34.89 kB / 0.518 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.5591, allocations: 46.84 kB / 0.518 GB, free: 15.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006439/0.5597, allocations: 350.4 kB / 0.5184 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.5598, allocations: 65.95 kB / 0.5184 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.5611, allocations: 0.6626 MB / 0.5191 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.5611, allocations: 6.906 kB / 0.5191 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5611, allocations: 4.812 kB / 0.5191 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.5611, allocations: 0 / 0.5191 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.5638, allocations: 1.326 MB / 0.5204 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5638, allocations: 1.125 kB / 0.5204 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007668/0.5646, allocations: 177.8 kB / 0.5206 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.5646, allocations: 4.688 kB / 0.5206 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.5646, allocations: 20.62 kB / 0.5206 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.5647, allocations: 4.219 kB / 0.5206 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5647, allocations: 1.375 kB / 0.5206 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.566, allocations: 1.028 MB / 0.5216 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.5663, allocations: 104 kB / 0.5217 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.731e-05/0.5664, allocations: 22.88 kB / 0.5217 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.5666, allocations: 20.61 kB / 0.5217 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.5668, allocations: 45.33 kB / 0.5218 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.5668, allocations: 22.06 kB / 0.5218 GB, free: 14.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003855/0.5672, allocations: 353.8 kB / 0.5221 GB, free: 13.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5672, allocations: 0 / 0.5221 GB, free: 13.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001169/0.5684, allocations: 218.3 kB / 0.5224 GB, free: 13.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * 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.0001582/0.5685, allocations: 118.2 kB / 0.5225 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.5706, allocations: 1.083 MB / 0.5235 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.5706, allocations: 3.938 kB / 0.5235 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.5711, allocations: 299.1 kB / 0.5238 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009889/0.5721, allocations: 159.3 kB / 0.524 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.5761, allocations: 1.958 MB / 0.5259 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.5768, allocations: 479 kB / 0.5263 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007033/0.5775, allocations: 225.9 kB / 0.5265 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.5777, allocations: 58.89 kB / 0.5266 GB, free: 11.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5777, allocations: 5.188 kB / 0.5266 GB, free: 11.72 MB / 446.1 MB Notification: Performance of Templates: time 0.01938/0.597, allocations: 8.376 MB / 0.5348 GB, free: 10.76 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.503751758951694]