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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 181.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1814/0.1814, allocations: 38.55 MB / 346.3 MB, free: 2.113 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 484.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4033, allocations: 61.29 MB / 0.533 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006298/0.4096, allocations: 4.634 MB / 0.5376 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.4123, allocations: 1.558 MB / 0.5391 GB, free: 1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.4126, allocations: 20.06 kB / 0.5391 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.4139, allocations: 297.9 kB / 0.5394 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008489/0.4148, allocations: 268.3 kB / 0.5396 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4158, allocations: 258.9 kB / 0.5399 GB, free: 372 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008401/0.4166, allocations: 0.6386 MB / 0.5405 GB, free: 4 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005149/0.4171, allocations: 199.3 kB / 0.5407 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004722/0.4176, allocations: 296.1 kB / 0.541 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/0.4183, allocations: 419.1 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.4184, allocations: 41.16 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.4188, allocations: 160.4 kB / 0.5416 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.4192, allocations: 250.5 kB / 0.5418 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.4195, allocations: 275.7 kB / 0.5421 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.4204, allocations: 0.6681 MB / 0.5427 GB, free: 14.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4204, allocations: 0 / 0.5427 GB, free: 14.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4204, allocations: 0 / 0.5427 GB, free: 14.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.4204, allocations: 1.312 kB / 0.5427 GB, free: 14.63 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.002157/0.4226, allocations: 0.8183 MB / 0.5435 GB, free: 14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4226, allocations: 10.06 kB / 0.5435 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006364/0.4233, allocations: 94.38 kB / 0.5436 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.4244, allocations: 453.5 kB / 0.5441 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/0.4245, allocations: 29.66 kB / 0.5441 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.4246, allocations: 47.38 kB / 0.5441 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.4261, allocations: 0.6914 MB / 0.5448 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.4261, allocations: 1.125 kB / 0.5448 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.4261, allocations: 17.5 kB / 0.5448 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.4263, allocations: 36.22 kB / 0.5449 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.4273, allocations: 0.5215 MB / 0.5454 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/0.4319, allocations: 3.041 MB / 0.5483 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.4325, allocations: 311.4 kB / 0.5486 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.4328, allocations: 170.6 kB / 0.5488 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.4328, allocations: 3.375 kB / 0.5488 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4329, allocations: 40.56 kB / 0.5488 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.4329, allocations: 0 / 0.5488 GB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.00231/0.4352, allocations: 1.141 MB / 0.55 GB, free: 9.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.4353, allocations: 85.58 kB / 0.55 GB, free: 9.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.4358, allocations: 397.7 kB / 0.5504 GB, free: 8.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.4358, allocations: 35.83 kB / 0.5505 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.4361, allocations: 305.9 kB / 0.5507 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.4362, allocations: 122.3 kB / 0.5509 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.4364, allocations: 108.8 kB / 0.551 GB, free: 8.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.4366, allocations: 358.5 kB / 0.5513 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.4369, allocations: 194.2 kB / 0.5515 GB, free: 7.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.4374, allocations: 380.7 kB / 0.5519 GB, free: 7.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009851/0.4384, allocations: 0.5932 MB / 0.5524 GB, free: 7.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4384, allocations: 10.22 kB / 0.5524 GB, free: 7.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002191/0.4406, allocations: 0.8199 MB / 0.5532 GB, free: 6.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4407, allocations: 7.656 kB / 0.5533 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.4407, allocations: 6.156 kB / 0.5533 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.442, allocations: 268 kB / 0.5535 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.4427, allocations: 141.7 kB / 0.5537 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/0.4479, allocations: 3.851 MB / 0.5574 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.4484, allocations: 27.98 kB / 0.5574 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/0.4484, allocations: 32.05 kB / 0.5575 GB, free: 2.289 MB / 398.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.0003304/0.4488, allocations: 217.6 kB / 0.5577 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.284e-05/0.4489, allocations: 39.72 kB / 0.5577 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008602/0.4497, allocations: 485.1 kB / 0.5582 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4497, allocations: 4 kB / 0.5582 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4497, allocations: 3.938 kB / 0.5582 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.4497, allocations: 7.984 kB / 0.5582 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.4514, allocations: 0.9867 MB / 0.5592 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4514, allocations: 0 / 0.5592 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.4519, allocations: 91.81 kB / 0.5592 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.4519, allocations: 4 kB / 0.5592 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.4519, allocations: 11.98 kB / 0.5593 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4519, allocations: 8.062 kB / 0.5593 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4519, allocations: 0 / 0.5593 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.453, allocations: 0.7353 MB / 0.56 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.593e-05/0.4531, allocations: 47.64 kB / 0.56 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.4531, allocations: 12.06 kB / 0.56 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.4534, allocations: 19.92 kB / 0.5601 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.4534, allocations: 27.95 kB / 0.5601 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.4535, allocations: 11.98 kB / 0.5601 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.4538, allocations: 267.1 kB / 0.5604 GB, free: 15.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4538, allocations: 0 / 0.5604 GB, free: 15.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006076/0.4544, allocations: 124 kB / 0.5605 GB, free: 15.12 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.0001367/0.4545, allocations: 103.2 kB / 0.5606 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.4561, allocations: 0.7795 MB / 0.5613 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4561, allocations: 3.938 kB / 0.5613 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.4564, allocations: 192.2 kB / 0.5615 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.457, allocations: 94.64 kB / 0.5616 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.4606, allocations: 1.481 MB / 0.5631 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.4613, allocations: 0.8976 MB / 0.5639 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003459/0.4616, allocations: 131.3 kB / 0.5641 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.4618, allocations: 43.42 kB / 0.5641 GB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4618, allocations: 0 / 0.5641 GB, free: 11.3 MB / 414.1 MB Notification: Performance of Templates: time 0.013/0.4748, allocations: 6.682 MB / 0.5706 GB, free: 4.656 MB / 414.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.484617686830461]