Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.001539/0.001539, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 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.001697/0.001697, allocations: 167.1 kB / 23.96 MB, free: 4.152 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.422/1.422, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.1704/0.1704, allocations: 29.43 MB / 290.1 MB, free: 3.281 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.Line,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.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,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.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.195e-05, allocations: 5.656 kB / 430.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007864/0.007896, allocations: 4.989 MB / 435.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003804/0.0117, allocations: 1.671 MB / 437.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004248/0.01212, allocations: 23.81 kB / 437.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.01354, allocations: 433.2 kB / 437.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000863/0.0144, allocations: 310.1 kB / 438.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.01557, allocations: 394.8 kB / 438.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009812/0.01655, allocations: 0.7557 MB / 439.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005504/0.0171, allocations: 298.3 kB / 439.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007984/0.0179, allocations: 454.7 kB / 440 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007406/0.01864, allocations: 427 kB / 440.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.01875, allocations: 52 kB / 440.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.01917, allocations: 187.6 kB / 440.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.01949, allocations: 303.2 kB / 441 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.01983, allocations: 239.5 kB / 441.2 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009897/0.02082, allocations: 0.8335 MB / 442 MB, free: 6.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.02082, allocations: 0 / 442 MB, free: 6.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.02082, allocations: 4 kB / 442 MB, free: 6.555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.02083, allocations: 0 / 442 MB, free: 6.555 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001609/0.02244, allocations: 0.8681 MB / 442.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.02247, allocations: 11.98 kB / 442.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.02363, allocations: 172.4 kB / 443.1 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.02457, allocations: 480.6 kB / 443.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.02461, allocations: 29.38 kB / 443.6 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/0.02495, allocations: 140.3 kB / 443.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.02618, allocations: 0.8665 MB / 444.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.0262, allocations: 0 / 444.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/0.02626, allocations: 20 kB / 444.6 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004694/0.02673, allocations: 72.88 kB / 444.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.02775, allocations: 0.6166 MB / 445.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1694/0.1972, allocations: 3.497 MB / 448.8 MB, free: 28.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.1985, allocations: 0.5182 MB / 449.3 MB, free: 28.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.1989, allocations: 307.2 kB / 449.6 MB, free: 28.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.1989, allocations: 11.88 kB / 449.6 MB, free: 28.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.199, allocations: 39.22 kB / 449.6 MB, free: 28.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.514e-06/0.199, allocations: 7.312 kB / 449.7 MB, free: 28.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=49): time 0.002841/0.2018, allocations: 1.775 MB / 451.4 MB, free: 27.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.2019, allocations: 87.67 kB / 451.5 MB, free: 27.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.2023, allocations: 418.7 kB / 451.9 MB, free: 27.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.2023, allocations: 31.98 kB / 452 MB, free: 27.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.2025, allocations: 336.1 kB / 452.3 MB, free: 26.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.2026, allocations: 209.1 kB / 452.5 MB, free: 26.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.2029, allocations: 149.8 kB / 452.6 MB, free: 26.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.203, allocations: 368.9 kB / 453 MB, free: 26.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.2035, allocations: 380.7 kB / 453.4 MB, free: 26.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006385/0.2041, allocations: 0.6011 MB / 454 MB, free: 25.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.2054, allocations: 1.066 MB / 455 MB, free: 25.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2054, allocations: 2.969 kB / 455 MB, free: 25.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004635/0.21, allocations: 1.971 MB / 457 MB, free: 24.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.21, allocations: 8.688 kB / 457 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.21, allocations: 6.906 kB / 457 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/0.2128, allocations: 0.9608 MB / 458 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.2132, allocations: 119.7 kB / 458.1 MB, free: 24.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.2235, allocations: 7.858 MB / 466 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/0.2241, allocations: 41.16 kB / 466 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.2242, allocations: 44.25 kB / 466 MB, free: 20.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003604/0.2245, allocations: 250.7 kB / 466.3 MB, free: 19.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2246, allocations: 51.75 kB / 466.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.2258, allocations: 0.7273 MB / 467.1 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2258, allocations: 6.594 kB / 467.1 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2258, allocations: 0 / 467.1 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2258, allocations: 3.859 kB / 467.1 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.2281, allocations: 1.345 MB / 468.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.2281, allocations: 2.344 kB / 468.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000998/0.2291, allocations: 190.8 kB / 468.6 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.2291, allocations: 3.406 kB / 468.6 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.2292, allocations: 32.5 kB / 468.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2292, allocations: 2.156 kB / 468.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2292, allocations: 2.719 kB / 468.7 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.2305, allocations: 0.9957 MB / 469.6 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/0.2306, allocations: 54.62 kB / 469.7 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.2307, allocations: 26.45 kB / 469.7 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.231, allocations: 33.89 kB / 469.8 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2312, allocations: 38.67 kB / 469.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.2312, allocations: 13.09 kB / 469.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002953/0.2315, allocations: 274.7 kB / 470.1 MB, free: 18.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2315, allocations: 0 / 470.1 MB, free: 18.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001002/0.2325, allocations: 214.8 kB / 470.3 MB, free: 18.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * 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 0.0001668/0.2327, allocations: 128.6 kB / 470.4 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.2353, allocations: 1.405 MB / 471.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2354, allocations: 4 kB / 471.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.2358, allocations: 295.2 kB / 472.1 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/0.2364, allocations: 120.7 kB / 472.2 MB, free: 17.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.2395, allocations: 2.289 MB / 474.5 MB, free: 16.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.2398, allocations: 388.4 kB / 474.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003895/0.2402, allocations: 196.8 kB / 475.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.2404, allocations: 52.48 kB / 475.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2404, allocations: 0 / 475.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Templates: time 0.0141/0.2544, allocations: 11.06 MB / 486.2 MB, free: 4.773 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Line.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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:$cse4,$cse5,line.C,line.C0,line.G,line.GC_base[1],line.GC_base[2],line.L,line.L0,line.R,line.RL_base[1],line.RL_base[2],line.delta_len_km,line.dynType,line.i_start[1],line.i_start[2],line.i_start[3],line.len,line.ne,line.ne1,line.par.S_nom,line.par.V_nom,line.par.b_pg,line.par.b_pp,line.par.f_nom,line.par.g_pg,line.par.g_pp,line.par.puUnits,line.par.r,line.par.x,line.par.x0,line.v_start[1],line.v_start[2],line.v_start[3],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,voltage1.S_nom,voltage1.V_base,voltage1.V_nom,voltage1.alpha0,voltage1.f,voltage1.fType,voltage1.puUnits,voltage1.use_vPhasor_in,voltage1.v0,voltage2.S_nom,voltage2.V_base,voltage2.V_nom,voltage2.alpha0,voltage2.f,voltage2.fType,voltage2.puUnits,voltage2.use_vPhasor_in,voltage2.v0 [Calling sys.exit(0), Time elapsed: 5.1183232590556145]