Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.002118/0.002118, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002787/0.002787, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1882/0.1882, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load") [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.002067/0.002067, allocations: 72.17 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3739, allocations: 62.47 MB / 0.5424 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.007279/0.3811, allocations: 4.38 MB / 0.5467 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.3845, allocations: 1.464 MB / 0.5481 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/0.3848, allocations: 20.78 kB / 0.5482 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.3859, allocations: 289.5 kB / 0.5484 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007778/0.3867, allocations: 265.4 kB / 0.5487 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008826/0.3875, allocations: 269.1 kB / 0.5489 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009151/0.3885, allocations: 0.6299 MB / 0.5496 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.3889, allocations: 254 kB / 0.5498 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.3894, allocations: 297.5 kB / 0.5501 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006698/0.3901, allocations: 407.8 kB / 0.5505 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.868e-05/0.3902, allocations: 45.16 kB / 0.5505 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.3907, allocations: 158.8 kB / 0.5507 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.3909, allocations: 242.3 kB / 0.5509 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.3912, allocations: 236 kB / 0.5511 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008777/0.3921, allocations: 0.6684 MB / 0.5518 GB, free: 9.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.3921, allocations: 12.98 kB / 0.5518 GB, free: 9.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3921, allocations: 0 / 0.5518 GB, free: 9.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.3921, allocations: 0 / 0.5518 GB, free: 9.746 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002067/0.3942, allocations: 0.8165 MB / 0.5526 GB, free: 9.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3942, allocations: 13.11 kB / 0.5526 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.395, allocations: 122.1 kB / 0.5527 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.3961, allocations: 438.3 kB / 0.5531 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.3962, allocations: 33.56 kB / 0.5532 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.3963, allocations: 55.81 kB / 0.5532 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.3975, allocations: 0.6896 MB / 0.5539 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.3975, allocations: 10.28 kB / 0.5539 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.3976, allocations: 21.58 kB / 0.5539 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.3977, allocations: 35.39 kB / 0.554 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.3985, allocations: 0.5255 MB / 0.5545 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004236/0.4028, allocations: 2.862 MB / 0.5573 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.4034, allocations: 305.2 kB / 0.5576 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.4037, allocations: 165.7 kB / 0.5577 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.4037, allocations: 8 kB / 0.5577 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.4038, allocations: 39.05 kB / 0.5578 GB, free: 4.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.023e-06/0.4038, allocations: 3.938 kB / 0.5578 GB, free: 4.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002325/0.4061, allocations: 1.16 MB / 0.5589 GB, free: 3.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.4062, allocations: 85.11 kB / 0.559 GB, free: 3.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.4067, allocations: 397.4 kB / 0.5594 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.4067, allocations: 33.7 kB / 0.5594 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.407, allocations: 304 kB / 0.5597 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.4071, allocations: 127.1 kB / 0.5598 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.4073, allocations: 106.3 kB / 0.5599 GB, free: 2.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.4075, allocations: 350.8 kB / 0.5602 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.4078, allocations: 193.2 kB / 0.5604 GB, free: 1.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.4083, allocations: 382.4 kB / 0.5608 GB, free: 1.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/0.4092, allocations: 0.6007 MB / 0.5614 GB, free: 404 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.4092, allocations: 4 kB / 0.5614 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002114/0.4114, allocations: 0.8264 MB / 0.5622 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.4114, allocations: 8 kB / 0.5622 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4114, allocations: 4 kB / 0.5622 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.4126, allocations: 269.7 kB / 0.5624 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.4132, allocations: 135.8 kB / 0.5626 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/0.4189, allocations: 3.785 MB / 0.5663 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.4195, allocations: 27.97 kB / 0.5663 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.4195, allocations: 24 kB / 0.5663 GB, free: 11.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004426/0.42, allocations: 225.5 kB / 0.5665 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.4201, allocations: 47.7 kB / 0.5666 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008389/0.4209, allocations: 477 kB / 0.567 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.4209, allocations: 11.97 kB / 0.567 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.4209, allocations: 4.156 kB / 0.5671 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4209, allocations: 3.938 kB / 0.5671 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.4227, allocations: 0.8899 MB / 0.5679 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4227, allocations: 4 kB / 0.5679 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.4232, allocations: 87.88 kB / 0.568 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.4232, allocations: 4 kB / 0.568 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.4232, allocations: 15.88 kB / 0.568 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.4233, allocations: 0 / 0.568 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-06/0.4233, allocations: 7.938 kB / 0.568 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.4244, allocations: 0.7436 MB / 0.5688 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.4245, allocations: 43.66 kB / 0.5688 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.4246, allocations: 12.06 kB / 0.5688 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.4248, allocations: 15.97 kB / 0.5688 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.4249, allocations: 31.83 kB / 0.5689 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.4249, allocations: 12 kB / 0.5689 GB, free: 8.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003487/0.4253, allocations: 271.1 kB / 0.5691 GB, free: 8.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4253, allocations: 0 / 0.5691 GB, free: 8.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006765/0.4259, allocations: 120 kB / 0.5692 GB, free: 8.012 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0001692/0.4261, allocations: 107.2 kB / 0.5694 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.4277, allocations: 0.7751 MB / 0.5701 GB, free: 7.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4277, allocations: 0 / 0.5701 GB, free: 7.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.428, allocations: 187.8 kB / 0.5703 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.4286, allocations: 85.17 kB / 0.5704 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.4325, allocations: 1.476 MB / 0.5718 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.4329, allocations: 298.4 kB / 0.5721 GB, free: 5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.4333, allocations: 147.2 kB / 0.5722 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.4335, allocations: 35.44 kB / 0.5723 GB, free: 4.816 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4335, allocations: 0 / 0.5723 GB, free: 4.816 MB / 414.1 MB Notification: Performance of Templates: time 0.01441/0.4479, allocations: 6.781 MB / 0.5789 GB, free: 14.12 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,meter.i[1],meter.i[2],meter.i[3],meter.p[1],meter.p[2],meter.p[3],meter.v[1],meter.v[2],meter.v[3] Variables in the result:$cse7,load.R_base,load.R_n,load.S_base,load.S_nom,load.V2_nom,load.V_nom,load.Z_start[1],load.Z_start[2],load.c0,load.cpl,load.dynType,load.i_start[1],load.i_start[2],load.imax,load.pq0[1],load.pq0[2],load.puUnits,load.r_n,load.tcst,load.use_pq_in,load.v[1],load.v[2],load.v_start[1],load.v_start[2],meter.I_base,meter.S_nom,meter.V_base,meter.V_nom,meter.abc,meter.av,meter.i[1],meter.i[2],meter.i[3],meter.p[1],meter.p[2],meter.p[3],meter.puUnits,meter.tcst,meter.v[1],meter.v[2],meter.v[3],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time,transPh.a_end,transPh.a_start,transPh.coef,transPh.n,transPh.ph_end,transPh.ph_start,transPh.t_change,transPh.t_duration,trsSignal[1].coef,trsSignal[1].s_end,trsSignal[1].s_start,trsSignal[1].t_change,trsSignal[1].t_duration,trsSignal[2].coef,trsSignal[2].s_end,trsSignal[2].s_start,trsSignal[2].t_change,trsSignal[2].t_duration,voltage.S_nom,voltage.V_base,voltage.V_nom,voltage.alpha0,voltage.f,voltage.fType,voltage.puUnits,voltage.use_vPhasor_in,voltage.v0 [Calling sys.exit(0), Time elapsed: 5.628802046179771]