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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 183.9 kB / 8.138 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.0008891/0.000889, allocations: 87.78 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1645/0.1645, allocations: 37.96 MB / 347.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.673e-06/6.773e-06, allocations: 4 kB / 410 MB, free: 46.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 56.32 MB / 466.3 MB, free: 6.48 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/0.3887, allocations: 101.4 MB / 0.5545 GB, free: 9.129 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.389, allocations: 83.94 kB / 0.5545 GB, free: 9.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04287/0.4319, allocations: 13.24 MB / 0.5675 GB, free: 11.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.818e-05/0.432, allocations: 19.94 kB / 0.5675 GB, free: 11.65 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.00165/0.4336, allocations: 0.7072 MB / 0.5682 GB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4337, allocations: 12.03 kB / 0.5682 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/0.4343, allocations: 95.22 kB / 0.5683 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.437, allocations: 0.9322 MB / 0.5692 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.437, allocations: 12 kB / 0.5692 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4371, allocations: 27.94 kB / 0.5692 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007767/0.4379, allocations: 449.8 kB / 0.5697 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/0.4388, allocations: 0.6231 MB / 0.5703 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.4389, allocations: 0 / 0.5703 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.4389, allocations: 4 kB / 0.5703 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-05/0.439, allocations: 36.75 kB / 0.5703 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/0.4427, allocations: 2.946 MB / 0.5732 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.4433, allocations: 325.6 kB / 0.5735 GB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.4436, allocations: 194 kB / 0.5737 GB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.4437, allocations: 20.16 kB / 0.5737 GB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4437, allocations: 39.3 kB / 0.5737 GB, free: 4.945 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.4437, allocations: 4 kB / 0.5737 GB, free: 4.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001979/0.4457, allocations: 1.139 MB / 0.5748 GB, free: 3.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.4458, allocations: 81.11 kB / 0.5749 GB, free: 3.648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.4461, allocations: 321.9 kB / 0.5752 GB, free: 3.332 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.4462, allocations: 25.7 kB / 0.5753 GB, free: 3.301 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4463, allocations: 247.3 kB / 0.5755 GB, free: 3.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4464, allocations: 130.2 kB / 0.5756 GB, free: 2.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.4465, allocations: 7.875 kB / 0.5756 GB, free: 2.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4466, allocations: 354.8 kB / 0.576 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.4469, allocations: 197.1 kB / 0.5761 GB, free: 2.367 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.4473, allocations: 374 kB / 0.5765 GB, free: 1.926 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.4478, allocations: 273 kB / 0.5768 GB, free: 1.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4478, allocations: 3.938 kB / 0.5768 GB, free: 1.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002211/0.45, allocations: 0.7892 MB / 0.5775 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.45, allocations: 5.406 kB / 0.5775 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4501, allocations: 8 kB / 0.5776 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.4518, allocations: 269.7 kB / 0.5778 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.4526, allocations: 135.8 kB / 0.5779 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004998/0.4576, allocations: 3.545 MB / 0.5814 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.4581, allocations: 15.98 kB / 0.5814 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/0.4582, allocations: 20.06 kB / 0.5814 GB, free: 12.62 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 () * 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.0001796/0.4584, allocations: 120.8 kB / 0.5815 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.4586, allocations: 43.44 kB / 0.5816 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.4596, allocations: 0.5287 MB / 0.5821 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.4596, allocations: 7.984 kB / 0.5821 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.4596, allocations: 0 / 0.5821 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.4596, allocations: 7.906 kB / 0.5821 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.4613, allocations: 1.027 MB / 0.5831 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4613, allocations: 0 / 0.5831 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/0.4619, allocations: 83.89 kB / 0.5832 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.4619, allocations: 0 / 0.5832 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.4619, allocations: 11.98 kB / 0.5832 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.462, allocations: 4 kB / 0.5832 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.462, allocations: 0 / 0.5832 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001362/0.4633, allocations: 0.8671 MB / 0.5841 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.4635, allocations: 124.5 kB / 0.5842 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.4636, allocations: 4.25 kB / 0.5842 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.464, allocations: 11.98 kB / 0.5842 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.4641, allocations: 31.72 kB / 0.5842 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.4641, allocations: 8 kB / 0.5842 GB, free: 9.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003789/0.4645, allocations: 244.6 kB / 0.5845 GB, free: 9.383 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007792/0.4653, allocations: 120 kB / 0.5846 GB, free: 9.266 MB / 426.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 () * 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.0002812/0.4656, allocations: 119.1 kB / 0.5847 GB, free: 9.141 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.4674, allocations: 0.7737 MB / 0.5855 GB, free: 8.348 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4674, allocations: 3.938 kB / 0.5855 GB, free: 8.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.4677, allocations: 229.5 kB / 0.5857 GB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.4682, allocations: 65.25 kB / 0.5857 GB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.4705, allocations: 1.041 MB / 0.5868 GB, free: 6.977 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006504/0.4711, allocations: 0.9518 MB / 0.5877 GB, free: 5.996 MB / 426.7 MB Notification: Performance of SimCode: time 1.924e-06/0.4711, allocations: 0 / 0.5877 GB, free: 5.996 MB / 426.7 MB Notification: Performance of Templates: time 0.01198/0.4831, allocations: 6.125 MB / 0.5937 GB, free: 15.87 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