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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2967/0.2967, allocations: 38.53 MB / 344.5 MB, free: 2.582 MB / 270.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001921/0.001921, allocations: 72.06 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3785, allocations: 61.24 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005631/0.3841, allocations: 4.314 MB / 0.5348 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3858, allocations: 0.956 MB / 0.5357 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.386, allocations: 16.56 kB / 0.5357 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.3862, allocations: 59.86 kB / 0.5358 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005747/0.3868, allocations: 195 kB / 0.536 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.387, allocations: 96.36 kB / 0.5361 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.3875, allocations: 485.9 kB / 0.5365 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.3877, allocations: 94.48 kB / 0.5366 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.388, allocations: 214.4 kB / 0.5368 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.3884, allocations: 256.3 kB / 0.5371 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.3884, allocations: 26.88 kB / 0.5371 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.229e-05/0.3885, allocations: 27.03 kB / 0.5371 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.3886, allocations: 127.9 kB / 0.5372 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.3888, allocations: 172.3 kB / 0.5374 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.3892, allocations: 381.1 kB / 0.5378 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3892, allocations: 1.375 kB / 0.5378 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3892, allocations: 3.938 kB / 0.5378 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3892, allocations: 3.938 kB / 0.5378 GB, free: 0.5234 MB / 382.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.001297/0.3905, allocations: 0.7114 MB / 0.5385 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3905, allocations: 12.2 kB / 0.5385 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.131e-05/0.3906, allocations: 43.73 kB / 0.5385 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.3914, allocations: 411.9 kB / 0.5389 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.3914, allocations: 19.12 kB / 0.5389 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.3915, allocations: 25.62 kB / 0.539 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/0.3921, allocations: 361.5 kB / 0.5393 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3921, allocations: 1.031 kB / 0.5393 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.3922, allocations: 11.19 kB / 0.5393 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.3922, allocations: 7.125 kB / 0.5393 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.3926, allocations: 257.3 kB / 0.5396 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.3947, allocations: 1.444 MB / 0.541 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.395, allocations: 154.3 kB / 0.5411 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3951, allocations: 75.14 kB / 0.5412 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.3951, allocations: 1.281 kB / 0.5412 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.3952, allocations: 40.97 kB / 0.5412 GB, free: 13.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.3952, allocations: 0 / 0.5412 GB, free: 13.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001302/0.3965, allocations: 0.6845 MB / 0.5419 GB, free: 13.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.3965, allocations: 79.73 kB / 0.542 GB, free: 13.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.3969, allocations: 301.7 kB / 0.5423 GB, free: 12.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.397, allocations: 26.98 kB / 0.5423 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3972, allocations: 223.1 kB / 0.5425 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.3972, allocations: 63.41 kB / 0.5426 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.3973, allocations: 51.75 kB / 0.5426 GB, free: 12.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3975, allocations: 342.3 kB / 0.5429 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.3976, allocations: 62.86 kB / 0.543 GB, free: 12.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.3979, allocations: 173.4 kB / 0.5432 GB, free: 11.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.3982, allocations: 268.5 kB / 0.5434 GB, free: 11.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3982, allocations: 1.438 kB / 0.5434 GB, free: 11.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004606/0.3987, allocations: 287.2 kB / 0.5437 GB, free: 11.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3987, allocations: 9.328 kB / 0.5437 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3987, allocations: 2.719 kB / 0.5437 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.3988, allocations: 3.938 kB / 0.5437 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.399, allocations: 59.06 kB / 0.5438 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.399, allocations: 5.688 kB / 0.5438 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.3992, allocations: 18.28 kB / 0.5438 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3992, allocations: 9.375 kB / 0.5438 GB, free: 11.56 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.0001954/0.3994, allocations: 168.3 kB / 0.544 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.3995, allocations: 27.67 kB / 0.544 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.3999, allocations: 240.8 kB / 0.5442 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3999, allocations: 6.25 kB / 0.5442 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3999, allocations: 1.062 kB / 0.5442 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3999, allocations: 1.188 kB / 0.5442 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009177/0.4009, allocations: 0.6276 MB / 0.5448 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4009, allocations: 5.094 kB / 0.5448 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.4011, allocations: 32.36 kB / 0.5449 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4011, allocations: 1.906 kB / 0.5449 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.4011, allocations: 9.953 kB / 0.5449 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4011, allocations: 1.219 kB / 0.5449 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.4011, allocations: 9.281 kB / 0.5449 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.4018, allocations: 431.1 kB / 0.5453 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.4019, allocations: 101.9 kB / 0.5454 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.402, allocations: 2.25 kB / 0.5454 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.4021, allocations: 11.48 kB / 0.5454 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.4022, allocations: 14.27 kB / 0.5454 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.4022, allocations: 4.406 kB / 0.5454 GB, free: 10.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.4025, allocations: 218.8 kB / 0.5456 GB, free: 10.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4025, allocations: 0 / 0.5456 GB, free: 10.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.4028, allocations: 56.69 kB / 0.5457 GB, free: 10.14 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.0001394/0.4029, allocations: 109.7 kB / 0.5458 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.4033, allocations: 192.1 kB / 0.546 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4033, allocations: 0 / 0.546 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.4034, allocations: 80.61 kB / 0.5461 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.404, allocations: 69.66 kB / 0.5461 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.4052, allocations: 0.6573 MB / 0.5468 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.4057, allocations: 0.8052 MB / 0.5476 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.4058, allocations: 50.09 kB / 0.5476 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.4059, allocations: 27.91 kB / 0.5476 GB, free: 8.633 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4059, allocations: 4 kB / 0.5476 GB, free: 8.629 MB / 398.1 MB Notification: Performance of Templates: time 0.008066/0.414, allocations: 3.133 MB / 0.5507 GB, free: 7.082 MB / 398.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 -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.282661443576217]