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.00139/0.00139, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001506/0.001506, allocations: 162.5 kB / 24.5 MB, free: 3.715 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.488/1.488, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 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.1773/0.1773, allocations: 29.43 MB / 290.7 MB, free: 3.277 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 60.09 kB / 431.2 MB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3835, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004752/0.3883, allocations: 4.128 MB / 497.8 MB, free: 35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3897, allocations: 0.926 MB / 498.7 MB, free: 34.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.3899, allocations: 16.88 kB / 498.7 MB, free: 34.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.3901, allocations: 51.67 kB / 498.8 MB, free: 34.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005164/0.3906, allocations: 210.8 kB / 499 MB, free: 34.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.3908, allocations: 101.2 kB / 499.1 MB, free: 34.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.3913, allocations: 492.7 kB / 499.5 MB, free: 33.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.3915, allocations: 85.02 kB / 499.6 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.3918, allocations: 230.6 kB / 499.9 MB, free: 33.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.3921, allocations: 245.7 kB / 0.4884 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.3922, allocations: 25.62 kB / 0.4884 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.3923, allocations: 34.69 kB / 0.4884 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.3924, allocations: 125.9 kB / 0.4885 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.3925, allocations: 151.2 kB / 0.4887 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.3929, allocations: 389 kB / 0.4891 GB, free: 33.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3929, allocations: 0 / 0.4891 GB, free: 33.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3929, allocations: 0 / 0.4891 GB, free: 33.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3929, allocations: 0 / 0.4891 GB, free: 33.45 MB / 446.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.001147/0.3941, allocations: 0.6364 MB / 0.4897 GB, free: 33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3941, allocations: 12.95 kB / 0.4897 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.3943, allocations: 50.38 kB / 0.4897 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.3948, allocations: 340.2 kB / 0.4901 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3948, allocations: 17.97 kB / 0.4901 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.3949, allocations: 24.09 kB / 0.4901 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.3953, allocations: 357 kB / 0.4905 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3953, allocations: 3.219 kB / 0.4905 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.3953, allocations: 11.25 kB / 0.4905 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3953, allocations: 6.344 kB / 0.4905 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.3956, allocations: 263.3 kB / 0.4907 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.3969, allocations: 1.301 MB / 0.492 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3971, allocations: 144.3 kB / 0.4921 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.3972, allocations: 80.64 kB / 0.4922 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.3973, allocations: 7 kB / 0.4922 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3973, allocations: 30.56 kB / 0.4922 GB, free: 31.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.3973, allocations: 0 / 0.4922 GB, free: 31.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009758/0.3983, allocations: 0.6124 MB / 0.4928 GB, free: 30.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.3983, allocations: 83.86 kB / 0.4929 GB, free: 30.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.3985, allocations: 306.3 kB / 0.4932 GB, free: 30.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3985, allocations: 32.77 kB / 0.4932 GB, free: 30.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.3986, allocations: 216.4 kB / 0.4935 GB, free: 30.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.3987, allocations: 67.53 kB / 0.4935 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.3987, allocations: 51.89 kB / 0.4936 GB, free: 30.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.3988, allocations: 339.2 kB / 0.4939 GB, free: 30 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-05/0.3989, allocations: 68.39 kB / 0.494 GB, free: 29.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.399, allocations: 168.5 kB / 0.4941 GB, free: 29.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.3992, allocations: 263.1 kB / 0.4944 GB, free: 29.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3992, allocations: 0 / 0.4944 GB, free: 29.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000334/0.3996, allocations: 288.2 kB / 0.4946 GB, free: 29.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3996, allocations: 14.16 kB / 0.4947 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3996, allocations: 3.125 kB / 0.4947 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3996, allocations: 3.031 kB / 0.4947 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.3999, allocations: 60.58 kB / 0.4947 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3999, allocations: 6.703 kB / 0.4947 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.4, allocations: 17.17 kB / 0.4947 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.4, allocations: 20.3 kB / 0.4948 GB, free: 29.49 MB / 446.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.0001301/0.4002, allocations: 160.6 kB / 0.4949 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.4002, allocations: 38.05 kB / 0.4949 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.4006, allocations: 240.6 kB / 0.4952 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4006, allocations: 0 / 0.4952 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4006, allocations: 3.125 kB / 0.4952 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4006, allocations: 0 / 0.4952 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.4011, allocations: 0.5319 MB / 0.4957 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4011, allocations: 0 / 0.4957 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.4013, allocations: 42.94 kB / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4013, allocations: 3.156 kB / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4013, allocations: 3.125 kB / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4013, allocations: 0 / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4013, allocations: 3.938 kB / 0.4958 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.4018, allocations: 431.9 kB / 0.4962 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.4018, allocations: 25.38 kB / 0.4962 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.4019, allocations: 7.328 kB / 0.4962 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.402, allocations: 10.03 kB / 0.4962 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.4021, allocations: 13.75 kB / 0.4962 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4021, allocations: 9.531 kB / 0.4962 GB, free: 28.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.4022, allocations: 215.2 kB / 0.4964 GB, free: 28.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4022, allocations: 0 / 0.4964 GB, free: 28.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.4026, allocations: 59.34 kB / 0.4965 GB, free: 28.46 MB / 446.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 8.483e-05/0.4026, allocations: 97.91 kB / 0.4966 GB, free: 28.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.4029, allocations: 181.2 kB / 0.4968 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4029, allocations: 192 / 0.4968 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.403, allocations: 85.44 kB / 0.4968 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.4035, allocations: 80.61 kB / 0.4969 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008811/0.4044, allocations: 0.6505 MB / 0.4975 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.4046, allocations: 200.1 kB / 0.4977 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.4047, allocations: 45.88 kB / 0.4978 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.4048, allocations: 28.03 kB / 0.4978 GB, free: 27.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4048, allocations: 0 / 0.4978 GB, free: 27.75 MB / 446.1 MB Notification: Performance of Templates: time 0.006438/0.4112, allocations: 3.089 MB / 0.5008 GB, free: 27.35 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","/var/lib/jenkins1/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: 5.220980882993899]