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.0009682/0.0009683, allocations: 88.31 kB / 16.31 MB, free: 5.914 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.0007699/0.00077, allocations: 175.4 kB / 17.2 MB, free: 5.859 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.201/1.201, allocations: 223.3 MB / 241.2 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1611/0.1611, allocations: 38.09 MB / 330.4 MB, free: 8.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 8 kB / 400.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.09308, allocations: 59.16 MB / 459.2 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004805/0.09792, allocations: 4.524 MB / 463.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.1006, allocations: 1.614 MB / 465.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003621/0.101, allocations: 23.81 kB / 465.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.1012, allocations: 79.38 kB / 465.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007256/0.102, allocations: 290.6 kB / 465.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.1026, allocations: 243.6 kB / 466 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008067/0.1035, allocations: 0.7169 MB / 466.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007806/0.1043, allocations: 488.3 kB / 467.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003933/0.1047, allocations: 235 kB / 467.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.1052, allocations: 370.9 kB / 467.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.1053, allocations: 24 kB / 467.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.1056, allocations: 99.86 kB / 467.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.1058, allocations: 227.4 kB / 468.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.106, allocations: 109.5 kB / 468.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004638/0.1064, allocations: 490.8 kB / 468.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1064, allocations: 0 / 468.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1065, allocations: 3.938 kB / 468.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.1065, allocations: 0 / 468.7 MB, free: 13.85 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.001516/0.108, allocations: 0.793 MB / 469.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1081, allocations: 12.03 kB / 469.5 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.1086, allocations: 87.28 kB / 469.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008196/0.1094, allocations: 478.7 kB / 470.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.1094, allocations: 33 kB / 470.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.1096, allocations: 51.89 kB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.1105, allocations: 0.6762 MB / 470.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.1105, allocations: 11.94 kB / 470.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.1106, allocations: 16 kB / 470.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.1107, allocations: 40.97 kB / 470.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007788/0.1115, allocations: 0.519 MB / 471.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.1148, allocations: 3.11 MB / 474.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.1153, allocations: 321.3 kB / 474.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.1156, allocations: 174.2 kB / 475 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.1156, allocations: 11.98 kB / 475 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1156, allocations: 38.56 kB / 475.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.472e-06/0.1156, allocations: 0 / 475.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001858/0.1175, allocations: 1.214 MB / 476.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.1176, allocations: 85.09 kB / 476.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.118, allocations: 389.4 kB / 476.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.118, allocations: 29.7 kB / 476.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.1182, allocations: 295.2 kB / 477 MB, free: 5.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1183, allocations: 122.3 kB / 477.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.1183, allocations: 8 kB / 477.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1185, allocations: 358.9 kB / 477.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.1188, allocations: 193 kB / 477.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.1192, allocations: 377.5 kB / 478.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.1196, allocations: 251.8 kB / 478.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1196, allocations: 0 / 478.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001693/0.1213, allocations: 0.8259 MB / 479.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1213, allocations: 8 kB / 479.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1213, allocations: 8 kB / 479.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.1224, allocations: 273.9 kB / 479.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.123, allocations: 135.8 kB / 479.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/0.1272, allocations: 3.762 MB / 483.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.1275, allocations: 23.98 kB / 483.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.1275, allocations: 31.92 kB / 483.4 MB, free: 14.34 MB / 366.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.0002326/0.1278, allocations: 225.7 kB / 483.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.1279, allocations: 35.53 kB / 483.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007319/0.1286, allocations: 489 kB / 484.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1286, allocations: 7.953 kB / 484.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1286, allocations: 0 / 484.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1286, allocations: 3.984 kB / 484.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.13, allocations: 1.011 MB / 485.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.13, allocations: 96 / 485.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.1304, allocations: 87.83 kB / 485.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1304, allocations: 3.953 kB / 485.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.1304, allocations: 15.98 kB / 485.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.1305, allocations: 4 kB / 485.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1305, allocations: 3.938 kB / 485.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/0.1314, allocations: 0.743 MB / 486 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.1314, allocations: 112.5 kB / 486.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.1315, allocations: 16.02 kB / 486.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.1317, allocations: 19.97 kB / 486.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1318, allocations: 31.81 kB / 486.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.1318, allocations: 15.94 kB / 486.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002665/0.1321, allocations: 267.1 kB / 486.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1321, allocations: 0 / 486.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.1326, allocations: 120 kB / 486.6 MB, free: 11.04 MB / 366.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 (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.0001148/0.1327, allocations: 107.4 kB / 486.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.134, allocations: 0.787 MB / 487.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.134, allocations: 4.125 kB / 487.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.1343, allocations: 204.5 kB / 487.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.1348, allocations: 76.05 kB / 487.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.1378, allocations: 1.74 MB / 489.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.1383, allocations: 0.9018 MB / 490.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003572/0.1386, allocations: 131.3 kB / 490.5 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1388, allocations: 35.44 kB / 490.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1388, allocations: 0 / 490.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of Templates: time 0.009418/0.1482, allocations: 5.624 MB / 496.2 MB, free: 1.371 MB / 366.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