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.0009559/0.0009559, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009542/0.0009542, allocations: 161 kB / 24.56 MB, free: 8 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 1.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.633 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.2212/0.2212, allocations: 29.42 MB / 290.9 MB, free: 2.496 MB / 266.7 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.[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 1.953e-06/1.953e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.622e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.005541/0.005567, allocations: 6.527 MB / 376.2 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.008798, allocations: 2.956 MB / 379.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.009092, allocations: 39.69 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.00979, allocations: 282.1 kB / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.0108, allocations: 0.6993 MB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.01151, allocations: 406.8 kB / 380.5 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.01275, allocations: 1.387 MB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006091/0.01336, allocations: 0.5452 MB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006985/0.01406, allocations: 0.7442 MB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007163/0.01477, allocations: 0.5999 MB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.01488, allocations: 72 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006605/0.01554, allocations: 0.495 MB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.01586, allocations: 486.8 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006007/0.01646, allocations: 363.2 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.01831, allocations: 1.098 MB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.01832, allocations: 0 / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.01832, allocations: 0 / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.285e-05/0.01839, allocations: 0 / 386.3 MB, free: 10.25 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.002373/0.02076, allocations: 1.351 MB / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.02082, allocations: 11.98 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.02186, allocations: 304.1 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.02325, allocations: 0.6909 MB / 388.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.02329, allocations: 58.38 kB / 388.7 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.02347, allocations: 100.7 kB / 388.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009509/0.02442, allocations: 0.749 MB / 389.6 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.02444, allocations: 7.891 kB / 389.6 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.0245, allocations: 35.98 kB / 389.6 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.02461, allocations: 73.95 kB / 389.7 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.02524, allocations: 411.5 kB / 390.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.02841, allocations: 3.814 MB / 393.9 MB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.02874, allocations: 216 kB / 394.1 MB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.02892, allocations: 144.8 kB / 394.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.02896, allocations: 8.5 kB / 394.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.02899, allocations: 45.88 kB / 394.3 MB, free: 1.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/0.02899, allocations: 0 / 394.3 MB, free: 1.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001592/0.03058, allocations: 1.161 MB / 395.5 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.03063, allocations: 85.67 kB / 395.5 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.03103, allocations: 0.5492 MB / 396.1 MB, free: 44 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.03105, allocations: 37.7 kB / 396.1 MB, free: 0 / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.03129, allocations: 0.5258 MB / 396.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.0314, allocations: 198.4 kB / 396.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.03154, allocations: 148.2 kB / 397 MB, free: 15.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.0317, allocations: 0.5547 MB / 397.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.03188, allocations: 105.9 kB / 397.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.03217, allocations: 420.6 kB / 398.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.0327, allocations: 0.5802 MB / 398.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.0327, allocations: 0 / 398.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001113/0.03382, allocations: 0.7446 MB / 399.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.03384, allocations: 12.16 kB / 399.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006149/0.03446, allocations: 443.9 kB / 399.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005069/0.03496, allocations: 190.8 kB / 400 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.03526, allocations: 151.8 kB / 400.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.03855, allocations: 5.857 MB / 406 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.03879, allocations: 39.91 kB / 406.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.03882, allocations: 36.03 kB / 406.1 MB, free: 5.324 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.0001544/0.03897, allocations: 200.3 kB / 406.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.03905, allocations: 79.58 kB / 406.4 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/0.03948, allocations: 412.1 kB / 406.8 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.03949, allocations: 4 kB / 406.8 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.03949, allocations: 3.938 kB / 406.8 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.0395, allocations: 4 kB / 406.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.04077, allocations: 1.138 MB / 407.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.04077, allocations: 0 / 407.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.04108, allocations: 123.9 kB / 408 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.04109, allocations: 8.156 kB / 408.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.04111, allocations: 16 kB / 408.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.04112, allocations: 4 kB / 408.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.04112, allocations: 3.938 kB / 408.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.04173, allocations: 0.682 MB / 408.8 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.04185, allocations: 91.53 kB / 408.9 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.04189, allocations: 16 kB / 408.9 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.04204, allocations: 19.98 kB / 408.9 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.04208, allocations: 40.38 kB / 408.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.0421, allocations: 23.92 kB / 408.9 MB, free: 2.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.04235, allocations: 346.8 kB / 409.3 MB, free: 2.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04235, allocations: 0 / 409.3 MB, free: 2.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005226/0.04287, allocations: 231.9 kB / 409.5 MB, free: 1.793 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 0.0002408/0.04311, allocations: 131.1 kB / 409.6 MB, free: 1.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009064/0.04402, allocations: 0.9915 MB / 410.6 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.04402, allocations: 0 / 410.6 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.0442, allocations: 163.4 kB / 410.8 MB, free: 452 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.04466, allocations: 148.3 kB / 410.9 MB, free: 316 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.04692, allocations: 1.739 MB / 412.7 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.0471, allocations: 242.8 kB / 412.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.04738, allocations: 161.4 kB / 413.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.04749, allocations: 64.42 kB / 413.1 MB, free: 14.02 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.04749, allocations: 0 / 413.1 MB, free: 14.02 MB / 394.7 MB Notification: Performance of Templates: time 0.01159/0.05908, allocations: 8.654 MB / 421.8 MB, free: 5.484 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.395436152815819]