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.001415/0.001415, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002038/0.002038, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.609/1.609, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.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.1843/0.1843, allocations: 38.54 MB / 352.4 MB, free: 12.33 MB / 286.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.002065/0.002065, allocations: 67.91 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.4748, allocations: 62.46 MB / 0.5424 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.007409/0.4822, allocations: 4.128 MB / 0.5465 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.4845, allocations: 0.9173 MB / 0.5474 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.4848, allocations: 19.97 kB / 0.5474 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.485, allocations: 55.55 kB / 0.5474 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.4857, allocations: 204.8 kB / 0.5476 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.4859, allocations: 97.23 kB / 0.5477 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006561/0.4866, allocations: 486.2 kB / 0.5482 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.4868, allocations: 94.34 kB / 0.5483 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.4872, allocations: 225.1 kB / 0.5485 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.4877, allocations: 256.7 kB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.038e-05/0.4878, allocations: 26.59 kB / 0.5488 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.4879, allocations: 28.91 kB / 0.5488 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.4881, allocations: 124.1 kB / 0.5489 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.4883, allocations: 144.2 kB / 0.549 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.4888, allocations: 391.4 kB / 0.5494 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4888, allocations: 0 / 0.5494 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4888, allocations: 1.031 kB / 0.5494 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.4888, allocations: 4 kB / 0.5494 GB, free: 11.22 MB / 398.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.00147/0.4903, allocations: 0.6284 MB / 0.55 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4904, allocations: 14.2 kB / 0.55 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.4906, allocations: 50.55 kB / 0.5501 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/0.4913, allocations: 340.7 kB / 0.5504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.4913, allocations: 23.62 kB / 0.5504 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.4914, allocations: 23.81 kB / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006189/0.492, allocations: 362.3 kB / 0.5508 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.492, allocations: 3.938 kB / 0.5508 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.4921, allocations: 14.91 kB / 0.5508 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.4921, allocations: 11.27 kB / 0.5508 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.4925, allocations: 249.4 kB / 0.5511 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.4946, allocations: 1.313 MB / 0.5524 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.4949, allocations: 150.7 kB / 0.5525 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.495, allocations: 75.67 kB / 0.5526 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.495, allocations: 1.969 kB / 0.5526 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/0.4951, allocations: 36.12 kB / 0.5526 GB, free: 8.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.4951, allocations: 0 / 0.5526 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001387/0.4965, allocations: 0.6187 MB / 0.5532 GB, free: 8.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.4965, allocations: 79.55 kB / 0.5533 GB, free: 8.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.497, allocations: 302.6 kB / 0.5536 GB, free: 7.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.497, allocations: 26.86 kB / 0.5536 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.4972, allocations: 220.8 kB / 0.5538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.4972, allocations: 62.56 kB / 0.5539 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.662e-05/0.4973, allocations: 56.28 kB / 0.5539 GB, free: 7.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4975, allocations: 338.1 kB / 0.5542 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.4976, allocations: 62.77 kB / 0.5543 GB, free: 7.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.4979, allocations: 169 kB / 0.5545 GB, free: 7.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.4984, allocations: 262.9 kB / 0.5547 GB, free: 6.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4984, allocations: 4.969 kB / 0.5547 GB, free: 6.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000486/0.4989, allocations: 277.7 kB / 0.555 GB, free: 6.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.4989, allocations: 18.39 kB / 0.555 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4989, allocations: 4.438 kB / 0.555 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.4989, allocations: 4.594 kB / 0.555 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.4992, allocations: 59.81 kB / 0.5551 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.4992, allocations: 8.031 kB / 0.5551 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.4994, allocations: 19.44 kB / 0.5551 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.4994, allocations: 9.062 kB / 0.5551 GB, free: 6.672 MB / 398.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.0002121/0.4996, allocations: 163.9 kB / 0.5553 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.4997, allocations: 27.64 kB / 0.5553 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.5002, allocations: 238.9 kB / 0.5555 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-06/0.5002, allocations: 11.09 kB / 0.5555 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5002, allocations: 0 / 0.5555 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5002, allocations: 1.031 kB / 0.5555 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008908/0.5011, allocations: 0.5374 MB / 0.5561 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5011, allocations: 4 kB / 0.5561 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.5013, allocations: 39.92 kB / 0.5561 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5013, allocations: 0 / 0.5561 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.5013, allocations: 4 kB / 0.5561 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.5013, allocations: 0 / 0.5561 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5013, allocations: 0 / 0.5561 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.5019, allocations: 440.2 kB / 0.5565 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.502, allocations: 35.83 kB / 0.5566 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.502, allocations: 0 / 0.5566 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.5022, allocations: 11.98 kB / 0.5566 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.5022, allocations: 11.98 kB / 0.5566 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.5022, allocations: 8 kB / 0.5566 GB, free: 5.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.5025, allocations: 211 kB / 0.5568 GB, free: 5.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5025, allocations: 0 / 0.5568 GB, free: 5.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.5029, allocations: 60 kB / 0.5568 GB, free: 5 MB / 398.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.0001275/0.503, allocations: 103.2 kB / 0.5569 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003583/0.5033, allocations: 182.7 kB / 0.5571 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5033, allocations: 0 / 0.5571 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.5035, allocations: 83.89 kB / 0.5572 GB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.5041, allocations: 72.67 kB / 0.5573 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.5053, allocations: 0.6569 MB / 0.5579 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.5055, allocations: 199.5 kB / 0.5581 GB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000168/0.5057, allocations: 54.94 kB / 0.5581 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.5058, allocations: 31.42 kB / 0.5582 GB, free: 3.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5058, allocations: 0 / 0.5582 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Templates: time 0.008414/0.5142, allocations: 3.483 MB / 0.5616 GB, free: 152 kB / 398.1 MB " [Timeout remaining time 659] 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: 5.669768610969186]