Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.001313/0.001313, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001499/0.001499, allocations: 211 kB / 24.48 MB, free: 3.938 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.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.1877/0.1877, allocations: 38.54 MB / 353.2 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.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [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.002162/0.002162, allocations: 75.89 kB / 493.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2903, allocations: 62.46 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009384/0.2997, allocations: 7.157 MB / 0.5502 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00518/0.3048, allocations: 2.806 MB / 0.5529 GB, free: 8.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.3053, allocations: 40.47 kB / 0.5529 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.3073, allocations: 0.7224 MB / 0.5536 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.3091, allocations: 0.7093 MB / 0.5543 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.31, allocations: 385.8 kB / 0.5547 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001993/0.312, allocations: 1.355 MB / 0.556 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000807/0.3128, allocations: 0.542 MB / 0.5566 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008261/0.3137, allocations: 0.5791 MB / 0.5571 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009569/0.3146, allocations: 0.6384 MB / 0.5578 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.3147, allocations: 72 kB / 0.5578 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009569/0.3157, allocations: 499.1 kB / 0.5583 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004416/0.3161, allocations: 458.8 kB / 0.5587 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.3166, allocations: 434 kB / 0.5591 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.3183, allocations: 1.44 MB / 0.5606 GB, free: 2.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3184, allocations: 0 / 0.5606 GB, free: 2.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3184, allocations: 0 / 0.5606 GB, free: 2.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3184, allocations: 4 kB / 0.5606 GB, free: 2.387 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002257/0.3206, allocations: 1.232 MB / 0.5618 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3207, allocations: 12.03 kB / 0.5618 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.3219, allocations: 216.1 kB / 0.562 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.3234, allocations: 0.6616 MB / 0.5626 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.3235, allocations: 66.34 kB / 0.5627 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.3237, allocations: 107.8 kB / 0.5628 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.3254, allocations: 1.1 MB / 0.5639 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.3254, allocations: 0 / 0.5639 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.3255, allocations: 36 kB / 0.5639 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001655/0.3257, allocations: 65.97 kB / 0.564 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.3271, allocations: 0.8704 MB / 0.5648 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0053/0.3324, allocations: 3.526 MB / 0.5683 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.333, allocations: 334.7 kB / 0.5686 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.3334, allocations: 261.2 kB / 0.5688 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.3335, allocations: 4.438 kB / 0.5688 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.3335, allocations: 42.98 kB / 0.5689 GB, free: 9.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/0.3335, allocations: 0 / 0.5689 GB, free: 9.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003068/0.3366, allocations: 1.66 MB / 0.5705 GB, free: 7.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.3366, allocations: 85.55 kB / 0.5706 GB, free: 7.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/0.3373, allocations: 0.5261 MB / 0.5711 GB, free: 7.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.3373, allocations: 33.7 kB / 0.5711 GB, free: 7.195 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.3377, allocations: 491.7 kB / 0.5716 GB, free: 6.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.3379, allocations: 198.3 kB / 0.5718 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.3381, allocations: 134.6 kB / 0.5719 GB, free: 6.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3383, allocations: 378.8 kB / 0.5723 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.3387, allocations: 250 kB / 0.5725 GB, free: 5.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.3393, allocations: 480.9 kB / 0.573 GB, free: 5.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.3404, allocations: 0.7753 MB / 0.5737 GB, free: 4.316 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3404, allocations: 4 kB / 0.5737 GB, free: 4.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002043/0.3424, allocations: 1.033 MB / 0.5747 GB, free: 3.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3424, allocations: 8 kB / 0.5747 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001399/0.3438, allocations: 0.7105 MB / 0.5754 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.3446, allocations: 226.3 kB / 0.5756 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.3451, allocations: 151.7 kB / 0.5758 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/0.3511, allocations: 5.269 MB / 0.5809 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.3516, allocations: 35.97 kB / 0.581 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/0.3517, allocations: 32 kB / 0.581 GB, free: 12.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004586/0.3521, allocations: 313.5 kB / 0.5813 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3522, allocations: 63.58 kB / 0.5814 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.3533, allocations: 0.6039 MB / 0.582 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.3533, allocations: 4 kB / 0.582 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.3533, allocations: 0 / 0.582 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3533, allocations: 7.984 kB / 0.582 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.3558, allocations: 1.295 MB / 0.5832 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3558, allocations: 4 kB / 0.5832 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.3564, allocations: 123.9 kB / 0.5834 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3564, allocations: 0 / 0.5834 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.3565, allocations: 19.98 kB / 0.5834 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3565, allocations: 8.094 kB / 0.5834 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3565, allocations: 4 kB / 0.5834 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.3578, allocations: 0.9323 MB / 0.5843 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.3581, allocations: 103.5 kB / 0.5844 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.3582, allocations: 12 kB / 0.5844 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.3585, allocations: 19.98 kB / 0.5844 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.3586, allocations: 36.31 kB / 0.5845 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.3586, allocations: 19.98 kB / 0.5845 GB, free: 8.844 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004417/0.359, allocations: 362.8 kB / 0.5848 GB, free: 8.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.359, allocations: 0 / 0.5848 GB, free: 8.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007901/0.3598, allocations: 227.9 kB / 0.585 GB, free: 8.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (54): * Single equations (assignments): 53 * 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.0002801/0.3601, allocations: 143.1 kB / 0.5852 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.3618, allocations: 1.011 MB / 0.5862 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3618, allocations: 4 kB / 0.5862 GB, free: 7.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.3622, allocations: 242.7 kB / 0.5864 GB, free: 6.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.3629, allocations: 153.8 kB / 0.5865 GB, free: 6.695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.3662, allocations: 2.139 MB / 0.5886 GB, free: 4.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.3668, allocations: 490.5 kB / 0.5891 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.367, allocations: 55.42 kB / 0.5892 GB, free: 3.938 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.367, allocations: 4 kB / 0.5892 GB, free: 3.934 MB / 430.1 MB Notification: Performance of Templates: time 0.0211/0.3881, allocations: 15.45 MB / 0.6042 GB, free: 4.492 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.840635432396084]