Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.002257/0.002257, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002004/0.002004, allocations: 169.3 kB / 24.28 MB, free: 152 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.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2952/0.2952, allocations: 29.41 MB / 290.5 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.054e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01137/0.0114, allocations: 7.521 MB / 376.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.01761, allocations: 2.933 MB / 379.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.01812, allocations: 43.62 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.02043, allocations: 0.7388 MB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.02316, allocations: 0.7187 MB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.02435, allocations: 398.9 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.02638, allocations: 1.379 MB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009104/0.02729, allocations: 0.5452 MB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.02841, allocations: 0.7713 MB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.02943, allocations: 0.5921 MB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.02957, allocations: 76 kB / 384.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.03058, allocations: 0.4989 MB / 385.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008115/0.03139, allocations: 486.8 kB / 385.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005076/0.0319, allocations: 367.2 kB / 385.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.03394, allocations: 1.445 MB / 387.4 MB, free: 8.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.03395, allocations: 4 kB / 387.4 MB, free: 8.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03395, allocations: 0 / 387.4 MB, free: 8.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.03397, allocations: 0 / 387.4 MB, free: 8.738 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.002664/0.03663, allocations: 1.409 MB / 388.8 MB, free: 7.289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.03667, allocations: 11.98 kB / 388.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.03816, allocations: 296.1 kB / 389.1 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.03991, allocations: 0.7065 MB / 389.8 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.03998, allocations: 58.38 kB / 389.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.04024, allocations: 100.7 kB / 390 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.04178, allocations: 0.8349 MB / 390.8 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.04182, allocations: 11.89 kB / 390.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/0.04192, allocations: 35.98 kB / 390.8 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.0421, allocations: 73.95 kB / 390.9 MB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.0432, allocations: 483.5 kB / 391.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006511/0.04971, allocations: 4.077 MB / 395.5 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.05027, allocations: 247.9 kB / 395.7 MB, free: 84 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.05059, allocations: 156.3 kB / 395.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.05064, allocations: 8.5 kB / 395.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.05068, allocations: 41.89 kB / 395.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 5.35e-06/0.05069, allocations: 4 kB / 395.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002748/0.05343, allocations: 1.246 MB / 397.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.05351, allocations: 89.55 kB / 397.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.05432, allocations: 0.643 MB / 397.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.05437, allocations: 37.7 kB / 397.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004971/0.05487, allocations: 0.5492 MB / 398.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.0551, allocations: 214.3 kB / 398.7 MB, free: 13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.05537, allocations: 168.4 kB / 398.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003859/0.05575, allocations: 0.5821 MB / 399.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/0.05626, allocations: 125.9 kB / 399.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.05688, allocations: 468.6 kB / 400 MB, free: 11.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.0579, allocations: 0.6387 MB / 400.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.0579, allocations: 4 kB / 400.6 MB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001897/0.0598, allocations: 0.7914 MB / 401.4 MB, free: 9.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.05982, allocations: 8 kB / 401.4 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001199/0.06102, allocations: 488.2 kB / 401.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008953/0.06191, allocations: 198.8 kB / 402.1 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.06247, allocations: 151.8 kB / 402.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006994/0.06947, allocations: 5.942 MB / 408.2 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/0.07014, allocations: 43.91 kB / 408.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/0.0702, allocations: 31.98 kB / 408.3 MB, free: 2.699 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.0004129/0.07061, allocations: 232.4 kB / 408.5 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.07077, allocations: 83.58 kB / 408.6 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009097/0.07168, allocations: 436 kB / 409 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.07169, allocations: 8 kB / 409 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.07169, allocations: 3.938 kB / 409 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.0717, allocations: 3.984 kB / 409 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.07443, allocations: 1.274 MB / 410.3 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.07443, allocations: 0 / 410.3 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006775/0.07511, allocations: 127.9 kB / 410.4 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.07512, allocations: 4 kB / 410.4 MB, free: 476 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.07516, allocations: 12 kB / 410.4 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.07517, allocations: 11.98 kB / 410.5 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.07517, allocations: 3.938 kB / 410.5 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.07637, allocations: 0.7408 MB / 411.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.07668, allocations: 99.53 kB / 411.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.07678, allocations: 19.88 kB / 411.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.0771, allocations: 23.98 kB / 411.3 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.07719, allocations: 44.3 kB / 411.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.07722, allocations: 16 kB / 411.4 MB, free: 15.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005558/0.07778, allocations: 398.8 kB / 411.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07778, allocations: 0 / 411.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009628/0.07874, allocations: 235.9 kB / 412 MB, free: 14.84 MB / 394.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.000368/0.07911, allocations: 139.1 kB / 412.2 MB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.08099, allocations: 1.037 MB / 413.2 MB, free: 13.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.08099, allocations: 1.312 kB / 413.2 MB, free: 13.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.08134, allocations: 195.4 kB / 413.4 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008247/0.08216, allocations: 148.1 kB / 413.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.0856, allocations: 1.733 MB / 415.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.0862, allocations: 466.5 kB / 415.7 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004732/0.08667, allocations: 165.4 kB / 415.9 MB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.08684, allocations: 52.5 kB / 415.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.08684, allocations: 0 / 415.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of Templates: time 0.01932/0.1062, allocations: 8.633 MB / 424.6 MB, free: 2.266 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.053712969995104]