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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009266, allocations: 95.94 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001015, allocations: 181.6 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 223.2 MB / 241.1 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2725/0.2725, allocations: 38.07 MB / 330.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002852, allocations: 8 kB / 400 MB, free: 9.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2693, allocations: 59.16 MB / 459.1 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004205/0.2736, allocations: 4.356 MB / 463.5 MB, free: 27.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.2761, allocations: 1.63 MB / 465.1 MB, free: 26.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.2764, allocations: 20.56 kB / 465.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.2766, allocations: 66.72 kB / 465.2 MB, free: 25.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.2772, allocations: 265.2 kB / 465.5 MB, free: 25.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006854/0.2779, allocations: 238.5 kB / 465.7 MB, free: 25.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.2784, allocations: 358.1 kB / 466 MB, free: 25.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007034/0.2791, allocations: 477.9 kB / 466.5 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.2794, allocations: 215.9 kB / 466.7 MB, free: 25.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.2799, allocations: 287.3 kB / 467 MB, free: 25.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.28, allocations: 20.12 kB / 467 MB, free: 25.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.2802, allocations: 90.52 kB / 467.1 MB, free: 25.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.2805, allocations: 206.8 kB / 467.3 MB, free: 25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.2806, allocations: 118.3 kB / 467.4 MB, free: 24.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006519/0.2812, allocations: 486.6 kB / 467.9 MB, free: 24.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2812, allocations: 3.938 kB / 467.9 MB, free: 24.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2813, allocations: 0 / 467.9 MB, free: 24.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.2813, allocations: 1.219 kB / 467.9 MB, free: 24.82 MB / 350.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.001716/0.283, allocations: 0.8009 MB / 468.7 MB, free: 24.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.283, allocations: 9.438 kB / 468.7 MB, free: 24.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005787/0.2836, allocations: 93.92 kB / 468.8 MB, free: 24.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.2846, allocations: 484 kB / 469.3 MB, free: 23.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.2847, allocations: 30.41 kB / 469.3 MB, free: 23.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.2848, allocations: 45.89 kB / 469.3 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009334/0.2858, allocations: 0.6831 MB / 470 MB, free: 23.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2858, allocations: 5.062 kB / 470 MB, free: 23.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.2858, allocations: 17.72 kB / 470.1 MB, free: 23.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.286, allocations: 41.58 kB / 470.1 MB, free: 23.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008443/0.2868, allocations: 0.5179 MB / 470.6 MB, free: 23.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/0.2905, allocations: 3.13 MB / 473.7 MB, free: 20.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.291, allocations: 321.6 kB / 474.1 MB, free: 20.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.291, allocations: 6.812 kB / 474.1 MB, free: 20.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2911, allocations: 35.81 kB / 474.1 MB, free: 20.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.2911, allocations: 0 / 474.1 MB, free: 20.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001767/0.2928, allocations: 1.219 MB / 475.3 MB, free: 20.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.2929, allocations: 84.69 kB / 475.4 MB, free: 20.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.2933, allocations: 389.9 kB / 475.8 MB, free: 19.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.2934, allocations: 30.95 kB / 475.8 MB, free: 19.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.2935, allocations: 299.6 kB / 476.1 MB, free: 19.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.2936, allocations: 116.4 kB / 476.2 MB, free: 19.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.2936, allocations: 14.22 kB / 476.2 MB, free: 19.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.2937, allocations: 351.1 kB / 476.6 MB, free: 19.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.2941, allocations: 188.7 kB / 476.8 MB, free: 19.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.2945, allocations: 385.8 kB / 477.1 MB, free: 18.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.2949, allocations: 250.8 kB / 477.4 MB, free: 18.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2949, allocations: 2.562 kB / 477.4 MB, free: 18.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001878/0.2968, allocations: 0.8437 MB / 478.2 MB, free: 18.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.2968, allocations: 13.64 kB / 478.2 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.2968, allocations: 10.8 kB / 478.2 MB, free: 18.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.2983, allocations: 304.2 kB / 478.5 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/0.2989, allocations: 138.4 kB / 478.7 MB, free: 18.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/0.3032, allocations: 3.915 MB / 482.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.3036, allocations: 34.56 kB / 482.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.3036, allocations: 23.56 kB / 482.7 MB, free: 14.64 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002944/0.3039, allocations: 221.8 kB / 482.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.304, allocations: 49.47 kB / 482.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007072/0.3047, allocations: 492.2 kB / 483.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3047, allocations: 3.969 kB / 483.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3048, allocations: 1.219 kB / 483.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3048, allocations: 0 / 483.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.3061, allocations: 1.028 MB / 484.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3061, allocations: 0.6875 kB / 484.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.3065, allocations: 90.53 kB / 484.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3065, allocations: 3.344 kB / 484.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.3066, allocations: 8.5 kB / 484.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3066, allocations: 6.188 kB / 484.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3066, allocations: 5.031 kB / 484.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.3074, allocations: 0.7959 MB / 485.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.3075, allocations: 123.9 kB / 485.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.3076, allocations: 11.98 kB / 485.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.3078, allocations: 19.98 kB / 485.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.3078, allocations: 31.86 kB / 485.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3079, allocations: 8 kB / 485.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.3081, allocations: 271.1 kB / 485.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3081, allocations: 0 / 485.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005307/0.3086, allocations: 120 kB / 485.9 MB, free: 12.27 MB / 350.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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.3087, allocations: 111.4 kB / 486 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.3099, allocations: 0.7946 MB / 486.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.31, allocations: 0 / 486.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3102, allocations: 200.7 kB / 487 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.3106, allocations: 66.14 kB / 487.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3122, allocations: 1.541 MB / 488.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.3125, allocations: 0.9138 MB / 489.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.3129, allocations: 127.3 kB / 489.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.313, allocations: 39.44 kB / 489.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of SimCode: time 9.21e-07/0.313, allocations: 0 / 489.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of Templates: time 0.007909/0.3209, allocations: 5.677 MB / 495.4 MB, free: 2.738 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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: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