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.001884/0.001884, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002071/0.002071, allocations: 169.3 kB / 24.28 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.518/1.518, allocations: 177.1 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.3176/0.3176, allocations: 29.41 MB / 290.5 MB, free: 2.434 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.232e-06/1.232e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.773e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006834/0.006861, allocations: 4.281 MB / 373.2 MB, free: 7.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.008911, allocations: 0.9354 MB / 374.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.009151, allocations: 19.88 kB / 374.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.009411, allocations: 59.42 kB / 374.2 MB, free: 6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007564/0.01017, allocations: 218.7 kB / 374.4 MB, free: 5.785 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.01048, allocations: 103.7 kB / 374.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007367/0.01122, allocations: 494.1 kB / 375 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.01147, allocations: 95.94 kB / 375.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.01207, allocations: 291.2 kB / 375.4 MB, free: 4.824 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008113/0.01288, allocations: 223.4 kB / 375.6 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-05/0.01297, allocations: 28 kB / 375.6 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.01312, allocations: 32 kB / 375.6 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.01331, allocations: 131.6 kB / 375.8 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.01352, allocations: 123.7 kB / 375.9 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.01416, allocations: 386.7 kB / 376.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.01416, allocations: 4 kB / 376.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01416, allocations: 0 / 376.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.01418, allocations: 4 kB / 376.3 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.001569/0.01575, allocations: 0.7498 MB / 377 MB, free: 3.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.01579, allocations: 19.92 kB / 377 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.01602, allocations: 68.69 kB / 377.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007746/0.0168, allocations: 350.5 kB / 377.4 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.01683, allocations: 24.78 kB / 377.5 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.01689, allocations: 27.94 kB / 377.5 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.01748, allocations: 316.5 kB / 377.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.01749, allocations: 3.938 kB / 377.8 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.01753, allocations: 12 kB / 377.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.01754, allocations: 8 kB / 377.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.01792, allocations: 161.8 kB / 378 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.02028, allocations: 1.649 MB / 379.6 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.02058, allocations: 142.1 kB / 379.8 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.02071, allocations: 71.33 kB / 379.8 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.02074, allocations: 8 kB / 379.9 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.02077, allocations: 37.39 kB / 379.9 MB, free: 52 kB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.02077, allocations: 0 / 379.9 MB, free: 52 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001287/0.02206, allocations: 0.5474 MB / 380.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.02214, allocations: 92.97 kB / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/0.02259, allocations: 386.2 kB / 380.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.02262, allocations: 29.7 kB / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.02286, allocations: 274.8 kB / 381.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.02295, allocations: 63.48 kB / 381.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.02305, allocations: 59.34 kB / 381.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003103/0.02336, allocations: 0.5276 MB / 381.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.02348, allocations: 51.95 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.02374, allocations: 202.4 kB / 382.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.02441, allocations: 271.1 kB / 382.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.02441, allocations: 0 / 382.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005033/0.02492, allocations: 281.1 kB / 382.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.02494, allocations: 8 kB / 382.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.02495, allocations: 4 kB / 382.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.02497, allocations: 4 kB / 382.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.02523, allocations: 59.84 kB / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.02524, allocations: 4 kB / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.02542, allocations: 15.98 kB / 382.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.02544, allocations: 8 kB / 382.7 MB, free: 12.96 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.0001937/0.02563, allocations: 196.7 kB / 382.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.0257, allocations: 31.81 kB / 383 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.02613, allocations: 202.8 kB / 383.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.02614, allocations: 4 kB / 383.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.02615, allocations: 7.922 kB / 383.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.02615, allocations: 0 / 383.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009374/0.02709, allocations: 0.5945 MB / 383.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02709, allocations: 0 / 383.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.0273, allocations: 31.98 kB / 383.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.02731, allocations: 4 kB / 383.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.02733, allocations: 19.91 kB / 383.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.02733, allocations: 0 / 383.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02734, allocations: 4 kB / 383.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.02797, allocations: 427 kB / 384.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.02804, allocations: 39.67 kB / 384.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.02809, allocations: 4 kB / 384.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.02825, allocations: 7.984 kB / 384.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.0283, allocations: 19.92 kB / 384.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.02831, allocations: 4 kB / 384.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000281/0.02859, allocations: 255 kB / 384.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02859, allocations: 4.031 kB / 384.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003751/0.02897, allocations: 56 kB / 384.6 MB, free: 10.99 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.0001478/0.02912, allocations: 99.23 kB / 384.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.02949, allocations: 178 kB / 384.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02949, allocations: 0 / 384.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.02965, allocations: 84.45 kB / 385 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.03019, allocations: 79.89 kB / 385.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.03137, allocations: 0.6073 MB / 385.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.03163, allocations: 199.4 kB / 385.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.03179, allocations: 42.94 kB / 385.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/0.03189, allocations: 28.5 kB / 385.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03189, allocations: 0 / 385.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of Templates: time 0.008478/0.04037, allocations: 3.09 MB / 389 MB, free: 6.598 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","/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.794010226032697]