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.001669/0.001669, allocations: 107.6 kB / 21.19 MB, free: 0.6602 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.002071/0.002071, allocations: 211.5 kB / 24.48 MB, free: 3.961 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.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.1863/0.1863, allocations: 38.56 MB / 353.2 MB, free: 12.34 MB / 286.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.002098/0.002098, allocations: 67.84 kB / 493.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3044, allocations: 62.46 MB / 0.5432 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008155/0.3126, allocations: 6.333 MB / 0.5493 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.3164, allocations: 1.916 MB / 0.5512 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.3168, allocations: 31.19 kB / 0.5512 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.3188, allocations: 0.7089 MB / 0.5519 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.3204, allocations: 0.5828 MB / 0.5525 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.3212, allocations: 249.1 kB / 0.5527 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.3226, allocations: 1.148 MB / 0.5539 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.3234, allocations: 468.8 kB / 0.5543 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009904/0.3244, allocations: 0.543 MB / 0.5548 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.3255, allocations: 0.6264 MB / 0.5554 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.3256, allocations: 68.88 kB / 0.5555 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006496/0.3263, allocations: 280 kB / 0.5558 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005081/0.3268, allocations: 0.4886 MB / 0.5563 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.3272, allocations: 410.2 kB / 0.5566 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.3286, allocations: 1.195 MB / 0.5578 GB, free: 5.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3286, allocations: 3.984 kB / 0.5578 GB, free: 5.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3286, allocations: 0 / 0.5578 GB, free: 5.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.3286, allocations: 0 / 0.5578 GB, free: 5.168 MB / 398.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.002167/0.3308, allocations: 1.17 MB / 0.559 GB, free: 3.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3308, allocations: 11.98 kB / 0.559 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009912/0.3318, allocations: 160.2 kB / 0.5591 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.3331, allocations: 0.5549 MB / 0.5597 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.3332, allocations: 70.34 kB / 0.5597 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.3335, allocations: 108 kB / 0.5598 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.3353, allocations: 1.153 MB / 0.561 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/0.3353, allocations: 4 kB / 0.561 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.3354, allocations: 39.97 kB / 0.561 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.3356, allocations: 77.95 kB / 0.5611 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.3373, allocations: 0.999 MB / 0.5621 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.3429, allocations: 3.76 MB / 0.5657 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.3441, allocations: 0.5833 MB / 0.5663 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.3446, allocations: 288.6 kB / 0.5666 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3446, allocations: 12.44 kB / 0.5666 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.3447, allocations: 43.06 kB / 0.5666 GB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.685e-06/0.3447, allocations: 0 / 0.5666 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003079/0.3477, allocations: 1.677 MB / 0.5683 GB, free: 10.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.3478, allocations: 89.7 kB / 0.5683 GB, free: 10.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.3485, allocations: 0.5531 MB / 0.5689 GB, free: 9.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.3485, allocations: 37.7 kB / 0.5689 GB, free: 9.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.3489, allocations: 459.9 kB / 0.5694 GB, free: 8.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.3491, allocations: 226.2 kB / 0.5696 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.3493, allocations: 190.6 kB / 0.5698 GB, free: 8.539 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3495, allocations: 374.8 kB / 0.5701 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.35, allocations: 289.8 kB / 0.5704 GB, free: 7.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/0.3508, allocations: 0.6076 MB / 0.571 GB, free: 7.125 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.3521, allocations: 0.9749 MB / 0.5719 GB, free: 6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3521, allocations: 4 kB / 0.5719 GB, free: 5.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002218/0.3543, allocations: 1.162 MB / 0.5731 GB, free: 4.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3544, allocations: 11.98 kB / 0.5731 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001391/0.3557, allocations: 0.7151 MB / 0.5738 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007368/0.3565, allocations: 214.4 kB / 0.574 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.3573, allocations: 219.6 kB / 0.5742 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/0.3625, allocations: 4.975 MB / 0.5791 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.3631, allocations: 35.98 kB / 0.5791 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.3631, allocations: 47.94 kB / 0.5791 GB, free: 14.29 MB / 430.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.0005423/0.3637, allocations: 353.4 kB / 0.5795 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3638, allocations: 63.58 kB / 0.5795 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.3649, allocations: 0.6559 MB / 0.5802 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.3649, allocations: 11.98 kB / 0.5802 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3649, allocations: 0 / 0.5802 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.365, allocations: 0 / 0.5802 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.3675, allocations: 1.339 MB / 0.5815 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.3675, allocations: 4 kB / 0.5815 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007907/0.3683, allocations: 167.8 kB / 0.5817 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.3683, allocations: 4 kB / 0.5817 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.3683, allocations: 23.92 kB / 0.5817 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.3684, allocations: 7.938 kB / 0.5817 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3684, allocations: 8.156 kB / 0.5817 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3699, allocations: 1.017 MB / 0.5827 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.3702, allocations: 111.5 kB / 0.5828 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.3703, allocations: 15.94 kB / 0.5828 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.3706, allocations: 19.98 kB / 0.5828 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.3707, allocations: 44.42 kB / 0.5829 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.3707, allocations: 23.98 kB / 0.5829 GB, free: 10.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004077/0.3711, allocations: 350.8 kB / 0.5832 GB, free: 9.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3711, allocations: 0 / 0.5832 GB, free: 9.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008267/0.372, allocations: 216 kB / 0.5834 GB, free: 9.77 MB / 430.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.0001451/0.3721, allocations: 123.1 kB / 0.5836 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.3739, allocations: 1.07 MB / 0.5846 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3739, allocations: 0 / 0.5846 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.3744, allocations: 295.9 kB / 0.5849 GB, free: 8.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.3752, allocations: 172.1 kB / 0.585 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.3784, allocations: 2.044 MB / 0.587 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.3789, allocations: 474.6 kB / 0.5875 GB, free: 5.496 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.3791, allocations: 67.38 kB / 0.5876 GB, free: 5.43 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3791, allocations: 0 / 0.5876 GB, free: 5.43 MB / 430.1 MB Notification: Performance of Templates: time 0.02042/0.3996, allocations: 14.43 MB / 0.6017 GB, free: 6.988 MB / 446.1 MB " [Timeout remaining time 660] 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 -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: 9.117201425135136]