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.0009733/0.0009733, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001373/0.001373, allocations: 165 kB / 24.56 MB, free: 4 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 0.9569/0.9569, allocations: 177.1 MB / 205 MB, free: 5.617 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.232/0.232, allocations: 29.42 MB / 290.9 MB, free: 2.484 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.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",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.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.82e-07/8.82e-07, allocations: 0 / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.372e-05, allocations: 6.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.005779/0.005793, allocations: 6.651 MB / 376.3 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003484/0.009277, allocations: 2.758 MB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.009616, allocations: 35.69 kB / 379.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009498/0.01057, allocations: 0.5987 MB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.01173, allocations: 0.7109 MB / 380.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.01238, allocations: 394.9 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.01364, allocations: 1.363 MB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.01424, allocations: 0.5529 MB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007965/0.01504, allocations: 0.8066 MB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000813/0.01585, allocations: 0.6195 MB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.552e-05/0.01594, allocations: 72 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.01642, allocations: 383.3 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.01671, allocations: 478.8 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002648/0.01697, allocations: 351.2 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008694/0.01784, allocations: 0.9382 MB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.01785, allocations: 0 / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01785, allocations: 0 / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.01786, allocations: 0 / 386.3 MB, free: 10.23 MB / 362.7 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.001467/0.01933, allocations: 1.32 MB / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.01936, allocations: 15.92 kB / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006562/0.02002, allocations: 272.1 kB / 387.9 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/0.0207, allocations: 0.6246 MB / 388.6 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.02074, allocations: 58.38 kB / 388.6 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.02089, allocations: 108.6 kB / 388.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008072/0.0217, allocations: 0.7529 MB / 389.5 MB, free: 6.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.02172, allocations: 4 kB / 389.5 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.02177, allocations: 35.98 kB / 389.5 MB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.772e-05/0.02187, allocations: 65.97 kB / 389.6 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.02248, allocations: 407.5 kB / 390 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/0.02542, allocations: 3.814 MB / 393.8 MB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.02574, allocations: 219.9 kB / 394 MB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.0259, allocations: 136.9 kB / 394.1 MB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.02593, allocations: 8.5 kB / 394.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.02596, allocations: 45.83 kB / 394.2 MB, free: 2.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.714e-06/0.02596, allocations: 4 kB / 394.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001441/0.0274, allocations: 1.168 MB / 395.4 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.02743, allocations: 81.61 kB / 395.5 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.0278, allocations: 0.5414 MB / 396 MB, free: 156 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.02783, allocations: 37.7 kB / 396 MB, free: 112 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.02806, allocations: 0.5258 MB / 396.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.02817, allocations: 206.3 kB / 396.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.0283, allocations: 148.4 kB / 396.9 MB, free: 15.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.02845, allocations: 0.5508 MB / 397.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.0286, allocations: 105.9 kB / 397.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.02889, allocations: 428.6 kB / 398 MB, free: 14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.02938, allocations: 0.5762 MB / 398.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.02938, allocations: 4 kB / 398.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009662/0.03035, allocations: 0.7406 MB / 399.3 MB, free: 12.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.03036, allocations: 8 kB / 399.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000592/0.03096, allocations: 440.2 kB / 399.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/0.03141, allocations: 194.8 kB / 399.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.0317, allocations: 151.8 kB / 400.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.03474, allocations: 5.845 MB / 405.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.03494, allocations: 43.86 kB / 406 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.03498, allocations: 36 kB / 406 MB, free: 5.434 MB / 378.7 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.0001516/0.03513, allocations: 204.3 kB / 406.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.0352, allocations: 75.62 kB / 406.3 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.03563, allocations: 416 kB / 406.7 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.03563, allocations: 4 kB / 406.7 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.03564, allocations: 3.938 kB / 406.7 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.03564, allocations: 3.984 kB / 406.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.0368, allocations: 1.122 MB / 407.8 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.0368, allocations: 0 / 407.8 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.03712, allocations: 127.9 kB / 407.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.03712, allocations: 11.92 kB / 407.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.03715, allocations: 15.98 kB / 408 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.03715, allocations: 7.938 kB / 408 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03716, allocations: 4 kB / 408 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.03775, allocations: 0.686 MB / 408.7 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.03787, allocations: 95.53 kB / 408.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.03792, allocations: 16 kB / 408.8 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.03806, allocations: 19.97 kB / 408.8 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.03811, allocations: 32.44 kB / 408.8 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.03813, allocations: 19.94 kB / 408.8 MB, free: 2.469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002346/0.03836, allocations: 342.8 kB / 409.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03836, allocations: 0 / 409.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004149/0.03878, allocations: 212 kB / 409.4 MB, free: 1.93 MB / 378.7 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 9.951e-05/0.03888, allocations: 115.1 kB / 409.5 MB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008914/0.03977, allocations: 0.9749 MB / 410.5 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.03977, allocations: 0 / 410.5 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.03996, allocations: 172.7 kB / 410.6 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.0404, allocations: 141.7 kB / 410.8 MB, free: 484 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.0426, allocations: 1.729 MB / 412.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.04276, allocations: 246.8 kB / 412.7 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.04301, allocations: 153.3 kB / 412.9 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.04312, allocations: 60.48 kB / 413 MB, free: 14.21 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04312, allocations: 3.938 kB / 413 MB, free: 14.2 MB / 394.7 MB Notification: Performance of Templates: time 0.01073/0.05385, allocations: 8.498 MB / 421.5 MB, free: 5.824 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3754736622795463]