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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008341/0.0008341, allocations: 96.12 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1616/0.1616, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2688, allocations: 56.32 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.4196, allocations: 102.2 MB / 0.5689 GB, free: 200 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.4199, allocations: 91.95 kB / 0.569 GB, free: 108 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03895/0.4589, allocations: 13.73 MB / 0.5824 GB, free: 2.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4589, allocations: 0 / 0.5824 GB, free: 2.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.4589, allocations: 16 kB / 0.5824 GB, free: 2.207 MB / 410.7 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.001668/0.4606, allocations: 0.8049 MB / 0.5832 GB, free: 1.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4607, allocations: 12.03 kB / 0.5832 GB, free: 1.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.4611, allocations: 91.2 kB / 0.5833 GB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.4634, allocations: 0.9509 MB / 0.5842 GB, free: 264 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.4635, allocations: 29 kB / 0.5842 GB, free: 232 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.4636, allocations: 47.98 kB / 0.5843 GB, free: 184 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000971/0.4646, allocations: 0.6729 MB / 0.5849 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.4646, allocations: 4 kB / 0.5849 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.4646, allocations: 16 kB / 0.5849 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/0.4647, allocations: 32.98 kB / 0.585 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.4655, allocations: 0.5033 MB / 0.5855 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.4694, allocations: 3.04 MB / 0.5884 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.47, allocations: 345.5 kB / 0.5888 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.47, allocations: 12.05 kB / 0.5888 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.4701, allocations: 30.56 kB / 0.5888 GB, free: 11.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.085e-06/0.4701, allocations: 4 kB / 0.5888 GB, free: 11.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002082/0.4722, allocations: 1.41 MB / 0.5902 GB, free: 9.816 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4722, allocations: 81.11 kB / 0.5903 GB, free: 9.719 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.4726, allocations: 340.7 kB / 0.5906 GB, free: 9.379 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.4726, allocations: 29.7 kB / 0.5906 GB, free: 9.344 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.4728, allocations: 287.4 kB / 0.5909 GB, free: 9.055 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.3e-05/0.4729, allocations: 130.1 kB / 0.591 GB, free: 8.926 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.4729, allocations: 12.12 kB / 0.591 GB, free: 8.914 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4731, allocations: 358.7 kB / 0.5914 GB, free: 8.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.4734, allocations: 201 kB / 0.5916 GB, free: 8.359 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.4738, allocations: 382.8 kB / 0.5919 GB, free: 7.906 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.4742, allocations: 273.1 kB / 0.5922 GB, free: 7.641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4742, allocations: 3.938 kB / 0.5922 GB, free: 7.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002117/0.4763, allocations: 0.8672 MB / 0.593 GB, free: 6.758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4763, allocations: 8 kB / 0.593 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4763, allocations: 4 kB / 0.5931 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.4781, allocations: 297.4 kB / 0.5933 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.4788, allocations: 135.8 kB / 0.5935 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/0.4837, allocations: 3.869 MB / 0.5972 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.484, allocations: 32.59 kB / 0.5973 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.4841, allocations: 24 kB / 0.5973 GB, free: 2.129 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * 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.0002938/0.4844, allocations: 217.6 kB / 0.5975 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.4845, allocations: 35.53 kB / 0.5975 GB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008412/0.4853, allocations: 0.5364 MB / 0.5981 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.4853, allocations: 11.95 kB / 0.5981 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.4853, allocations: 0 / 0.5981 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4854, allocations: 7.984 kB / 0.5981 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.4869, allocations: 1.108 MB / 0.5992 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4869, allocations: 7.938 kB / 0.5992 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/0.4874, allocations: 95.88 kB / 0.5993 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4874, allocations: 0 / 0.5993 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.4874, allocations: 8 kB / 0.5993 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4874, allocations: 7.984 kB / 0.5993 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4875, allocations: 0 / 0.5993 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.4885, allocations: 0.8711 MB / 0.6001 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.4886, allocations: 112.6 kB / 0.6002 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.4887, allocations: 16.06 kB / 0.6003 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.489, allocations: 19.97 kB / 0.6003 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.489, allocations: 32.02 kB / 0.6003 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.4891, allocations: 15.92 kB / 0.6003 GB, free: 14.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002526/0.4893, allocations: 259.2 kB / 0.6006 GB, free: 14.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4893, allocations: 0 / 0.6006 GB, free: 14.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005089/0.4898, allocations: 147.9 kB / 0.6007 GB, free: 14.5 MB / 442.7 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 (40): * Single equations (assignments): 38 * Array equations: 1 * 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.0002351/0.4901, allocations: 127 kB / 0.6008 GB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.4916, allocations: 0.8417 MB / 0.6016 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4916, allocations: 4.062 kB / 0.6017 GB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.4919, allocations: 235.5 kB / 0.6019 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.4924, allocations: 69.47 kB / 0.6019 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.4944, allocations: 1.564 MB / 0.6035 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.4949, allocations: 0.9093 MB / 0.6044 GB, free: 10.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003551/0.4952, allocations: 131.3 kB / 0.6045 GB, free: 10.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.4954, allocations: 35.44 kB / 0.6045 GB, free: 10.49 MB / 442.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4954, allocations: 0 / 0.6045 GB, free: 10.49 MB / 442.7 MB Notification: Performance of Templates: time 0.009637/0.505, allocations: 5.88 MB / 0.6103 GB, free: 4.621 MB / 442.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (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) 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