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.001015/0.001015, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001006/0.001006, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.617 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.2553/0.2553, allocations: 29.42 MB / 290.9 MB, free: 2.512 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 2.535e-06/2.535e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.689e-05/3.942e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006346/0.006386, allocations: 4.057 MB / 373.7 MB, free: 6.906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.008476, allocations: 0.9471 MB / 374.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.008696, allocations: 15.88 kB / 374.7 MB, free: 5.941 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.008942, allocations: 55.48 kB / 374.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007193/0.009662, allocations: 206.7 kB / 374.9 MB, free: 5.684 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.009876, allocations: 107.7 kB / 375 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.01033, allocations: 494.1 kB / 375.5 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.01052, allocations: 88 kB / 375.6 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.011, allocations: 283.2 kB / 375.9 MB, free: 4.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.01133, allocations: 235.4 kB / 376.1 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.01138, allocations: 28 kB / 376.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.009e-05/0.01146, allocations: 28 kB / 376.1 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.01158, allocations: 135.6 kB / 376.3 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.01169, allocations: 123.6 kB / 376.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.01206, allocations: 283 kB / 376.7 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01206, allocations: 8 kB / 376.7 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01206, allocations: 0 / 376.7 MB, free: 3.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.01207, allocations: 0 / 376.7 MB, free: 3.91 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.0008923/0.01296, allocations: 0.7384 MB / 377.4 MB, free: 3.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.013, allocations: 15.98 kB / 377.4 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.01316, allocations: 68.69 kB / 377.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.0136, allocations: 346.4 kB / 377.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.01362, allocations: 20.78 kB / 377.9 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.01366, allocations: 28 kB / 377.9 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.01397, allocations: 272.5 kB / 378.2 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.01398, allocations: 0 / 378.2 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.014, allocations: 12 kB / 378.2 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.01401, allocations: 11.98 kB / 378.2 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.01417, allocations: 106.8 kB / 378.3 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.01537, allocations: 1.567 MB / 379.9 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.01554, allocations: 122 kB / 380 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.0156, allocations: 47.42 kB / 380 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.01562, allocations: 11.94 kB / 380 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.01565, allocations: 33.39 kB / 380.1 MB, free: 300 kB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.01565, allocations: 0 / 380.1 MB, free: 300 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007532/0.0164, allocations: 468.4 kB / 380.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.01644, allocations: 81.05 kB / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.01666, allocations: 338.2 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.01668, allocations: 29.7 kB / 381 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.01679, allocations: 266.8 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.01683, allocations: 55.55 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.01689, allocations: 63.47 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.01702, allocations: 0.5118 MB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.01707, allocations: 19.98 kB / 381.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.01718, allocations: 187.1 kB / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.01737, allocations: 218.8 kB / 382.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01737, allocations: 4 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002461/0.01761, allocations: 217.2 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01763, allocations: 8 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.01764, allocations: 0 / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.01765, allocations: 8 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.01781, allocations: 59.84 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.01782, allocations: 11.92 kB / 382.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.0179, allocations: 12 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.01791, allocations: 16.36 kB / 382.6 MB, free: 13.53 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.981e-05/0.01801, allocations: 176.5 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.01805, allocations: 31.81 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.01827, allocations: 158.6 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01827, allocations: 4 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01828, allocations: 7.938 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.01829, allocations: 0 / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.01873, allocations: 0.5086 MB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01874, allocations: 3.984 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.01885, allocations: 39.91 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01885, allocations: 4.031 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.01886, allocations: 7.938 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01887, allocations: 0 / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01887, allocations: 4 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.01917, allocations: 354.9 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.0192, allocations: 31.69 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.01923, allocations: 11.98 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.0193, allocations: 8 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.01933, allocations: 11.97 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.01934, allocations: 4 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.01947, allocations: 231 kB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01947, allocations: 0 / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.0197, allocations: 56 kB / 384.2 MB, free: 11.81 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 0.0001042/0.0198, allocations: 106.8 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.02002, allocations: 115.5 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02002, allocations: 0.875 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.02009, allocations: 74.31 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.02046, allocations: 73.69 kB / 384.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.02162, allocations: 0.5942 MB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.524e-05/0.0217, allocations: 108.5 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.02181, allocations: 50.94 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.02188, allocations: 28.48 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.362e-06/0.02188, allocations: 0 / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of Templates: time 0.005179/0.02706, allocations: 3.105 MB / 388.5 MB, free: 7.562 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.257005627732724]