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.002288/0.002288, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002664/0.002664, allocations: 165.3 kB / 24.27 MB, free: 148 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.497/1.497, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3/0.3, allocations: 29.41 MB / 290.5 MB, free: 2.453 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.155e-06/2.155e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.407e-05/4.623e-05, allocations: 5.406 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.008529/0.008575, allocations: 4.14 MB / 373 MB, free: 7.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.01134, allocations: 0.9042 MB / 373.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/0.01177, allocations: 15.88 kB / 373.9 MB, free: 6.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.01209, allocations: 55.42 kB / 374 MB, free: 6.176 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009448/0.01303, allocations: 214.7 kB / 374.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.0134, allocations: 99.73 kB / 374.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009299/0.01433, allocations: 0.4903 MB / 374.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.01464, allocations: 95.94 kB / 374.9 MB, free: 5.285 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008707/0.01551, allocations: 287.2 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.01603, allocations: 235.4 kB / 375.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.347e-05/0.01609, allocations: 28 kB / 375.4 MB, free: 4.746 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.01621, allocations: 28 kB / 375.5 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.0164, allocations: 135.6 kB / 375.6 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.0166, allocations: 119.7 kB / 375.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.0172, allocations: 386.7 kB / 376.1 MB, free: 4.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.061e-05/0.01722, allocations: 4 kB / 376.1 MB, free: 4.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01722, allocations: 0 / 376.1 MB, free: 4.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.01723, allocations: 0 / 376.1 MB, free: 4.086 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.001544/0.01878, allocations: 0.6307 MB / 376.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.01882, allocations: 11.98 kB / 376.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.01907, allocations: 72.62 kB / 376.8 MB, free: 3.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007805/0.01985, allocations: 355.7 kB / 377.1 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.01988, allocations: 20.78 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.01995, allocations: 24 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.02062, allocations: 365.8 kB / 377.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.02064, allocations: 7.938 kB / 377.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.02067, allocations: 8 kB / 377.6 MB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.02069, allocations: 8 kB / 377.6 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.02119, allocations: 253.8 kB / 377.8 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.02337, allocations: 1.311 MB / 379.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.02369, allocations: 141.1 kB / 379.3 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.02383, allocations: 77.48 kB / 379.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.02386, allocations: 8 kB / 379.4 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.02391, allocations: 38.5 kB / 379.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.02391, allocations: 0 / 379.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001442/0.02535, allocations: 0.6054 MB / 380 MB, free: 15.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.02543, allocations: 89.05 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.02581, allocations: 300.5 kB / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.02584, allocations: 25.7 kB / 380.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.0262, allocations: 231.8 kB / 380.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.02627, allocations: 59.48 kB / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.02637, allocations: 49.69 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.02658, allocations: 338.8 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.02671, allocations: 63.95 kB / 381.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.02694, allocations: 164.8 kB / 381.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.02736, allocations: 264.2 kB / 381.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.02737, allocations: 4 kB / 381.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005153/0.02788, allocations: 293 kB / 381.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.0279, allocations: 11.94 kB / 381.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.02792, allocations: 4.438 kB / 381.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.02794, allocations: 8 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.02823, allocations: 63.83 kB / 381.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.02824, allocations: 4 kB / 381.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.02842, allocations: 15.98 kB / 381.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.02845, allocations: 12 kB / 382 MB, free: 13.84 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 0.0002067/0.02866, allocations: 169.7 kB / 382.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.809e-05/0.02873, allocations: 35.81 kB / 382.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.02919, allocations: 234 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.0292, allocations: 7.984 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.02921, allocations: 7.938 kB / 382.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.02921, allocations: 0 / 382.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.03004, allocations: 0.5222 MB / 382.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.03005, allocations: 7.984 kB / 382.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.03026, allocations: 31.98 kB / 383 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.03027, allocations: 4 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.03029, allocations: 11.94 kB / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.0303, allocations: 0 / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.0303, allocations: 3.938 kB / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.03095, allocations: 424.9 kB / 383.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.03101, allocations: 39.86 kB / 383.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.03105, allocations: 4 kB / 383.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.03122, allocations: 7.984 kB / 383.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.03126, allocations: 15.98 kB / 383.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.03128, allocations: 4 kB / 383.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002619/0.03154, allocations: 215 kB / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03154, allocations: 0 / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.03192, allocations: 59.94 kB / 383.7 MB, free: 11.98 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.00014/0.03206, allocations: 99.19 kB / 383.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.03245, allocations: 191.7 kB / 384 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.03245, allocations: 4 kB / 384 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.03261, allocations: 82.55 kB / 384.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.0332, allocations: 70.69 kB / 384.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.03452, allocations: 0.6348 MB / 384.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.03477, allocations: 203.4 kB / 385 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.03496, allocations: 54.94 kB / 385.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-05/0.03506, allocations: 28.48 kB / 385.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03506, allocations: 0 / 385.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.008574/0.04363, allocations: 3.083 MB / 388.2 MB, free: 7.551 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=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.913204945973121]