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.001343/0.001343, allocations: 85.56 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.001483/0.001483, allocations: 166.9 kB / 23.96 MB, free: 4.145 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.365/1.365, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.1704/0.1704, allocations: 29.44 MB / 290.1 MB, free: 3.273 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.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.123e-06/1.123e-06, allocations: 0 / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.126e-05, allocations: 5.516 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005444/0.005465, allocations: 4.117 MB / 434.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.007055, allocations: 0.9236 MB / 435.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.007201, allocations: 15.88 kB / 435.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.00739, allocations: 47.5 kB / 435.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005162/0.007906, allocations: 222.6 kB / 436 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.008111, allocations: 91.86 kB / 436.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.00868, allocations: 0.4902 MB / 436.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.008886, allocations: 91.94 kB / 436.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.009332, allocations: 291 kB / 437 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.009743, allocations: 235.4 kB / 437.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.474e-05/0.009808, allocations: 24 kB / 437.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.009908, allocations: 32 kB / 437.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.01006, allocations: 135.6 kB / 437.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.01024, allocations: 115.7 kB / 437.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.01072, allocations: 386.8 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01073, allocations: 4 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.01073, allocations: 0 / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.01074, allocations: 0 / 437.9 MB, free: 10.7 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001247/0.01198, allocations: 0.6307 MB / 438.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.01202, allocations: 19.92 kB / 438.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.01219, allocations: 48.64 kB / 438.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.01283, allocations: 331.7 kB / 438.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.01286, allocations: 24.78 kB / 439 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.01291, allocations: 28 kB / 439 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.01349, allocations: 365.8 kB / 439.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.0135, allocations: 0 / 439.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.01353, allocations: 12 kB / 439.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.01354, allocations: 11.94 kB / 439.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.01398, allocations: 257.7 kB / 439.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.01573, allocations: 1.299 MB / 440.9 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.016, allocations: 145 kB / 441.1 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.01613, allocations: 77.73 kB / 441.1 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.01615, allocations: 7.984 kB / 441.1 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.01619, allocations: 34.56 kB / 441.2 MB, free: 7.238 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.01619, allocations: 0 / 441.2 MB, free: 7.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001166/0.01736, allocations: 0.6127 MB / 441.8 MB, free: 6.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.01742, allocations: 81.05 kB / 441.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.01774, allocations: 308.4 kB / 442.2 MB, free: 6.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.01777, allocations: 29.7 kB / 442.2 MB, free: 6.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.01793, allocations: 224 kB / 442.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.01798, allocations: 55.53 kB / 442.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.01807, allocations: 53.66 kB / 442.5 MB, free: 5.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.01822, allocations: 334.8 kB / 442.8 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.01835, allocations: 71.94 kB / 442.9 MB, free: 5.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.01855, allocations: 169.3 kB / 443.1 MB, free: 5.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.0189, allocations: 268 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.0189, allocations: 0 / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004467/0.01935, allocations: 285 kB / 443.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.01936, allocations: 8.438 kB / 443.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01937, allocations: 4 kB / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.01939, allocations: 8 kB / 443.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.01964, allocations: 59.84 kB / 443.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.01965, allocations: 4 kB / 443.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.01982, allocations: 15.98 kB / 443.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.01984, allocations: 11.98 kB / 443.7 MB, free: 4.5 MB / 366.1 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 0.0001784/0.02002, allocations: 173.7 kB / 443.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.02008, allocations: 31.81 kB / 443.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.02049, allocations: 234.7 kB / 444.2 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.02049, allocations: 4 kB / 444.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.0205, allocations: 7.938 kB / 444.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.0205, allocations: 0 / 444.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007478/0.02125, allocations: 0.5261 MB / 444.7 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.02125, allocations: 0 / 444.7 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.02145, allocations: 35.98 kB / 444.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.02145, allocations: 0 / 444.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.02147, allocations: 7.938 kB / 444.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.02148, allocations: 7.984 kB / 444.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.02148, allocations: 3.938 kB / 444.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.02204, allocations: 424.8 kB / 445.2 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.02209, allocations: 35.78 kB / 445.2 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.02213, allocations: 0 / 445.2 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.0223, allocations: 11.98 kB / 445.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.02233, allocations: 11.97 kB / 445.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.02235, allocations: 12 kB / 445.2 MB, free: 2.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.02257, allocations: 203.1 kB / 445.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02257, allocations: 4 kB / 445.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003397/0.02291, allocations: 60 kB / 445.5 MB, free: 2.656 MB / 366.1 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.0001157/0.02302, allocations: 107.2 kB / 445.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.02335, allocations: 175.7 kB / 445.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02335, allocations: 0 / 445.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.02349, allocations: 86.55 kB / 445.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.02401, allocations: 80.47 kB / 445.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.025, allocations: 0.5986 MB / 446.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.02521, allocations: 199.5 kB / 446.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.02537, allocations: 58.94 kB / 446.8 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.02545, allocations: 32.48 kB / 446.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02545, allocations: 0 / 446.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of Templates: time 0.1612/0.1866, allocations: 3.059 MB / 449.9 MB, free: 30.01 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.diff",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 [Calling sys.exit(0), Time elapsed: 4.548174239695072]