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.000956/0.000956, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009522/0.0009522, allocations: 161 kB / 24.56 MB, free: 16 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.021/1.021, allocations: 177.1 MB / 205 MB, free: 5.254 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.2266/0.2266, allocations: 29.41 MB / 290.9 MB, free: 2.383 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.994e-06/1.994e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.894e-05, allocations: 5.406 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004482/0.004511, allocations: 4.049 MB / 373.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.00606, allocations: 0.947 MB / 374.6 MB, free: 5.945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.006311, allocations: 19.81 kB / 374.7 MB, free: 5.926 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.006543, allocations: 47.56 kB / 374.7 MB, free: 5.879 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007564/0.0073, allocations: 222.6 kB / 374.9 MB, free: 5.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.007591, allocations: 95.8 kB / 375 MB, free: 5.566 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006096/0.008201, allocations: 498.1 kB / 375.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.008442, allocations: 88 kB / 375.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.009052, allocations: 319.1 kB / 375.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.009431, allocations: 211.4 kB / 376.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.881e-05/0.00951, allocations: 24 kB / 376.1 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.009631, allocations: 28 kB / 376.2 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.009786, allocations: 127.6 kB / 376.3 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.009945, allocations: 123.7 kB / 376.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.0104, allocations: 278.9 kB / 376.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01041, allocations: 0 / 376.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01041, allocations: 0 / 376.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.01042, allocations: 0 / 376.7 MB, free: 3.906 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.001258/0.01168, allocations: 0.7267 MB / 377.4 MB, free: 3.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.01172, allocations: 11.98 kB / 377.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.01194, allocations: 68.69 kB / 377.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.01248, allocations: 313.9 kB / 377.8 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.0125, allocations: 20.78 kB / 377.8 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.01257, allocations: 35.86 kB / 377.9 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.01305, allocations: 280.5 kB / 378.1 MB, free: 2.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.01306, allocations: 3.938 kB / 378.1 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.01309, allocations: 16 kB / 378.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.01311, allocations: 8 kB / 378.2 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.0134, allocations: 106.8 kB / 378.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.01519, allocations: 1.567 MB / 379.8 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.01855, allocations: 122.1 kB / 379.9 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.01866, allocations: 47.36 kB / 380 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.01869, allocations: 8 kB / 380 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.01873, allocations: 33.39 kB / 380 MB, free: 328 kB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 3.737e-06/0.01873, allocations: 0 / 380 MB, free: 328 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.00122/0.01995, allocations: 464.2 kB / 380.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.02, allocations: 89.11 kB / 380.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.02036, allocations: 338.2 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.02038, allocations: 29.7 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.02056, allocations: 262.8 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.02062, allocations: 59.48 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.36e-05/0.02071, allocations: 59.34 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.0209, allocations: 0.5118 MB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.02098, allocations: 23.98 kB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.02116, allocations: 175.3 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.02144, allocations: 222.3 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.02144, allocations: 8 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003737/0.02181, allocations: 221 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.02183, allocations: 4 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.02184, allocations: 4 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.02186, allocations: 8.438 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.02212, allocations: 59.84 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.02213, allocations: 8 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.02229, allocations: 11.98 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.02232, allocations: 12 kB / 382.6 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 0.0001338/0.02245, allocations: 176.4 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.02251, allocations: 35.81 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.02283, allocations: 159.5 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.02283, allocations: 4 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.02284, allocations: 7.938 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.02285, allocations: 4 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.0236, allocations: 0.5008 MB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.0236, allocations: 4 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.02378, allocations: 35.97 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.02379, allocations: 0 / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.02381, allocations: 15.88 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.02381, allocations: 0 / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.02382, allocations: 0 / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.02426, allocations: 352.6 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.02431, allocations: 31.69 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.02435, allocations: 12.06 kB / 383.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.02448, allocations: 7.984 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.02452, allocations: 19.91 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.02454, allocations: 4 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002107/0.02475, allocations: 223 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02475, allocations: 0 / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004064/0.02515, allocations: 60 kB / 384.2 MB, free: 11.84 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.0001315/0.02529, allocations: 95.23 kB / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.02558, allocations: 131.4 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02558, allocations: 0 / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.02569, allocations: 58.02 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.02626, allocations: 83.55 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.02784, allocations: 0.5955 MB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.02795, allocations: 112.5 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.02812, allocations: 42.94 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.0282, allocations: 28.5 kB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.02821, allocations: 0 / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.007592/0.0358, allocations: 3.242 MB / 388.6 MB, free: 7.465 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.1090605901554227]