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.001296/0.001296, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001475/0.001475, allocations: 164.5 kB / 24.49 MB, free: 3.453 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.466/1.466, allocations: 177.2 MB / 204.9 MB, free: 9.051 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.1769/0.1769, allocations: 29.42 MB / 290.7 MB, free: 3.316 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.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.002359/0.002359, allocations: 67.91 kB / 431.2 MB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3574, allocations: 62.44 MB / 493.6 MB, free: 37.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005448/0.3629, allocations: 4.376 MB / 498 MB, free: 34.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.3654, allocations: 1.468 MB / 499.5 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.3656, allocations: 21.56 kB / 499.5 MB, free: 33.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009035/0.3665, allocations: 288.6 kB / 499.8 MB, free: 33.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005899/0.3671, allocations: 264.1 kB / 0.4883 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.3679, allocations: 276.8 kB / 0.4886 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006682/0.3686, allocations: 0.6315 MB / 0.4892 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.369, allocations: 247.9 kB / 0.4894 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003969/0.3694, allocations: 299.9 kB / 0.4897 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/0.3699, allocations: 407.1 kB / 0.4901 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.998e-05/0.37, allocations: 40.38 kB / 0.4901 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.3703, allocations: 166.4 kB / 0.4903 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.3705, allocations: 250.3 kB / 0.4905 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.3707, allocations: 225 kB / 0.4908 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.3713, allocations: 0.6706 MB / 0.4914 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3713, allocations: 0 / 0.4914 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3713, allocations: 0 / 0.4914 GB, free: 32.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3713, allocations: 0 / 0.4914 GB, free: 32.36 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001773/0.3731, allocations: 0.8271 MB / 0.4922 GB, free: 31.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3732, allocations: 17.36 kB / 0.4922 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007012/0.3739, allocations: 124.2 kB / 0.4924 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009187/0.3748, allocations: 444.8 kB / 0.4928 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.3748, allocations: 35.5 kB / 0.4928 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.3749, allocations: 50.8 kB / 0.4929 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.3757, allocations: 0.6883 MB / 0.4935 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.3757, allocations: 2.969 kB / 0.4935 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.3758, allocations: 18.16 kB / 0.4936 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.3759, allocations: 35.23 kB / 0.4936 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.3765, allocations: 0.5214 MB / 0.4941 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.3794, allocations: 2.873 MB / 0.4969 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.3799, allocations: 312 kB / 0.4972 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.3801, allocations: 160.3 kB / 0.4974 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.3801, allocations: 10.5 kB / 0.4974 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.3801, allocations: 37.78 kB / 0.4974 GB, free: 28.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.3801, allocations: 0 / 0.4974 GB, free: 28.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.00169/0.3818, allocations: 1.158 MB / 0.4985 GB, free: 27.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.3818, allocations: 80.3 kB / 0.4986 GB, free: 27.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.3821, allocations: 409.9 kB / 0.499 GB, free: 27.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3822, allocations: 32.8 kB / 0.499 GB, free: 27.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3823, allocations: 304.9 kB / 0.4993 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.4e-05/0.3824, allocations: 120.2 kB / 0.4994 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3825, allocations: 105.2 kB / 0.4995 GB, free: 27.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.3825, allocations: 349.8 kB / 0.4999 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.3828, allocations: 192.6 kB / 0.5001 GB, free: 26.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.3831, allocations: 380.1 kB / 0.5004 GB, free: 26.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.3837, allocations: 0.6051 MB / 0.501 GB, free: 26.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3837, allocations: 3.062 kB / 0.501 GB, free: 26.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001582/0.3853, allocations: 0.8223 MB / 0.5018 GB, free: 25.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3853, allocations: 6.688 kB / 0.5018 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.3853, allocations: 6.562 kB / 0.5018 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.3864, allocations: 275.3 kB / 0.5021 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/0.387, allocations: 135.9 kB / 0.5022 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.3908, allocations: 3.78 MB / 0.5059 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.3911, allocations: 29.94 kB / 0.5059 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.3912, allocations: 22.41 kB / 0.506 GB, free: 22.8 MB / 446.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.0002192/0.3914, allocations: 227.8 kB / 0.5062 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.3915, allocations: 37.95 kB / 0.5062 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.3921, allocations: 498.7 kB / 0.5067 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3921, allocations: 3.156 kB / 0.5067 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3921, allocations: 0 / 0.5067 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3921, allocations: 7 kB / 0.5067 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.3933, allocations: 0.8831 MB / 0.5076 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3933, allocations: 6.047 kB / 0.5076 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.3937, allocations: 87.02 kB / 0.5076 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3937, allocations: 3.25 kB / 0.5077 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.3937, allocations: 15.12 kB / 0.5077 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3937, allocations: 3.094 kB / 0.5077 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3937, allocations: 7.453 kB / 0.5077 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.3945, allocations: 0.7422 MB / 0.5084 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.3946, allocations: 50.28 kB / 0.5084 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/0.3946, allocations: 6.938 kB / 0.5085 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.3949, allocations: 16.97 kB / 0.5085 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.395, allocations: 29.75 kB / 0.5085 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.395, allocations: 6 kB / 0.5085 GB, free: 21.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.3952, allocations: 271.9 kB / 0.5088 GB, free: 21.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3952, allocations: 4 kB / 0.5088 GB, free: 21.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004857/0.3957, allocations: 122.4 kB / 0.5089 GB, free: 21.34 MB / 446.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 9.653e-05/0.3958, allocations: 103.6 kB / 0.509 GB, free: 21.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.397, allocations: 0.7845 MB / 0.5098 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.397, allocations: 0 / 0.5098 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.3972, allocations: 186.2 kB / 0.5099 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.3978, allocations: 89.05 kB / 0.51 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.4006, allocations: 1.472 MB / 0.5115 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.4009, allocations: 292.6 kB / 0.5117 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003857/0.4013, allocations: 135.7 kB / 0.5119 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.4014, allocations: 41.42 kB / 0.5119 GB, free: 19.88 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4014, allocations: 0 / 0.5119 GB, free: 19.88 MB / 446.1 MB Notification: Performance of Templates: time 0.01286/0.4143, allocations: 6.187 MB / 0.5179 GB, free: 19.22 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins1/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.36992425902281]