Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001011/0.001011, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001193/0.001193, allocations: 170.6 kB / 24.99 MB, free: 8.742 MB / 18.57 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.26/0.26, allocations: 29.41 MB / 291.2 MB, free: 2.508 MB / 266.7 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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.242e-05, allocations: 9.438 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.00527/0.005293, allocations: 4.331 MB / 374 MB, free: 6.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.006949, allocations: 0.9393 MB / 374.9 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.00716, allocations: 15.88 kB / 374.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.007364, allocations: 59.42 kB / 375 MB, free: 5.938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.007905, allocations: 214.7 kB / 375.2 MB, free: 5.727 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.008115, allocations: 99.78 kB / 375.3 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.008636, allocations: 0.4942 MB / 375.8 MB, free: 5.133 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.008835, allocations: 84 kB / 375.9 MB, free: 5.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.009246, allocations: 295.1 kB / 376.1 MB, free: 4.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.009576, allocations: 227.4 kB / 376.4 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.009623, allocations: 31.94 kB / 376.4 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.0097, allocations: 31.98 kB / 376.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.009817, allocations: 131.6 kB / 376.6 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.009946, allocations: 115.7 kB / 376.7 MB, free: 4.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.01042, allocations: 302.8 kB / 377 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01043, allocations: 0 / 377 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01043, allocations: 0 / 377 MB, free: 3.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.01043, allocations: 0 / 377 MB, free: 3.941 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000962/0.01139, allocations: 0.7307 MB / 377.7 MB, free: 3.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.01143, allocations: 11.98 kB / 377.7 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.01158, allocations: 68.69 kB / 377.8 MB, free: 3.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.01206, allocations: 350.4 kB / 378.1 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.01208, allocations: 24.78 kB / 378.1 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.01212, allocations: 24 kB / 378.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.01248, allocations: 280.5 kB / 378.4 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.01249, allocations: 4 kB / 378.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.01251, allocations: 8 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.01252, allocations: 8 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.01273, allocations: 114.8 kB / 378.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.01402, allocations: 1.564 MB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.01419, allocations: 125.5 kB / 380.3 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.01426, allocations: 43.42 kB / 380.3 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.01428, allocations: 4 kB / 380.3 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.01431, allocations: 45.33 kB / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.01431, allocations: 0 / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007893/0.0151, allocations: 452.8 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.01514, allocations: 84.86 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.01539, allocations: 346.1 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.01541, allocations: 25.7 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.01554, allocations: 270.8 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.01558, allocations: 63.59 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.01565, allocations: 55.36 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.01578, allocations: 0.5118 MB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.01584, allocations: 23.97 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.01597, allocations: 175.2 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.01619, allocations: 226.2 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01619, allocations: 0 / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000298/0.01649, allocations: 221 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01651, allocations: 8 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01651, allocations: 4 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.01653, allocations: 7.938 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.01671, allocations: 63.89 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.01672, allocations: 4 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01684, allocations: 12.44 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.01685, allocations: 15.98 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/0.01695, allocations: 168.5 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.017, allocations: 31.81 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.01726, allocations: 167.5 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01726, allocations: 3.938 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01726, allocations: 4 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01727, allocations: 0 / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.01779, allocations: 0.5086 MB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01779, allocations: 0 / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.01793, allocations: 40 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.01793, allocations: 7.938 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01795, allocations: 4 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01795, allocations: 4 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01795, allocations: 3.984 kB / 383.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.01842, allocations: 351.4 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.01845, allocations: 35.73 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.01848, allocations: 4 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.01859, allocations: 8 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.01862, allocations: 11.97 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.01864, allocations: 15.97 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.01879, allocations: 223 kB / 384.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01879, allocations: 0 / 384.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003224/0.01911, allocations: 56 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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 8.204e-05/0.01919, allocations: 103.2 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.01941, allocations: 120.1 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01941, allocations: 192 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.0195, allocations: 71.5 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.01991, allocations: 70.89 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.02107, allocations: 0.5956 MB / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.863e-05/0.02115, allocations: 112.5 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.02127, allocations: 46.94 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.02134, allocations: 28.48 kB / 385.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02134, allocations: 0 / 385.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.004707/0.02605, allocations: 3.096 MB / 388.7 MB, free: 7.613 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,meter.i,meter.p,meter.v Variables in the result:meter.I_base,meter.S_nom,meter.V_base,meter.V_nom,meter.av,meter.i,meter.p,meter.puUnits,meter.tcst,meter.v,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.pol,voltage.puUnits,voltage.use_vPhasor_in,voltage.v0eff,zLoadAC.S_base,zLoadAC.S_nom,zLoadAC.V2_nom,zLoadAC.V_nom,zLoadAC.Z_start[1],zLoadAC.Z_start[2],zLoadAC.dynType,zLoadAC.i_start,zLoadAC.pq0[1],zLoadAC.pq0[2],zLoadAC.psi_start,zLoadAC.puUnits,zLoadAC.use_pq_in,zLoadAC.v_start filterSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.diff.mat", vars={"meter.p"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.diff.ref.mat", vars={"meter.p"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2476346630137414]