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.001329/0.001329, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001421/0.001421, allocations: 161 kB / 24.56 MB, free: 16 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.9805/0.9805, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.2385/0.2385, allocations: 29.42 MB / 290.9 MB, free: 2.508 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.462e-06/1.462e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.697e-05, allocations: 6.25 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.006103/0.00613, allocations: 6.515 MB / 376.2 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.009824, allocations: 2.967 MB / 379.1 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.01013, allocations: 39.69 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007352/0.01087, allocations: 274.2 kB / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.0119, allocations: 0.7148 MB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.01255, allocations: 401.5 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.01364, allocations: 1.379 MB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005417/0.01418, allocations: 0.5451 MB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.01475, allocations: 0.752 MB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.01536, allocations: 0.5883 MB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.623e-05/0.01545, allocations: 76 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006416/0.01609, allocations: 0.4989 MB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.01638, allocations: 478.8 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.01665, allocations: 363.2 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.0179, allocations: 1.106 MB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.01791, allocations: 0 / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01791, allocations: 0 / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.01792, 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.001394/0.01931, allocations: 1.351 MB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.01935, allocations: 11.98 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007686/0.02012, allocations: 296.1 kB / 388 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/0.02106, allocations: 0.6948 MB / 388.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.0211, allocations: 62.38 kB / 388.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.02125, allocations: 100.6 kB / 388.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007998/0.02205, allocations: 0.7527 MB / 389.6 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.02207, allocations: 15.89 kB / 389.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.02212, allocations: 31.98 kB / 389.6 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.643e-05/0.02221, allocations: 77.89 kB / 389.7 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.02279, allocations: 403.5 kB / 390.1 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.02601, allocations: 3.818 MB / 393.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.02634, allocations: 222.4 kB / 394.1 MB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.02651, allocations: 136.9 kB / 394.3 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.02654, allocations: 12.48 kB / 394.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.02657, allocations: 41.89 kB / 394.3 MB, free: 1.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.224e-06/0.02657, allocations: 0 / 394.3 MB, free: 1.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001531/0.0281, allocations: 1.165 MB / 395.5 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.02815, allocations: 89.55 kB / 395.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.02853, allocations: 0.5453 MB / 396.1 MB, free: 36 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.02857, allocations: 33.78 kB / 396.1 MB, free: 15.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.02881, allocations: 0.5258 MB / 396.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.02891, allocations: 198.4 kB / 396.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.02905, allocations: 148.4 kB / 397 MB, free: 15.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.0292, allocations: 0.5547 MB / 397.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.02936, allocations: 105.9 kB / 397.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.02966, allocations: 428.6 kB / 398.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.03017, allocations: 0.5724 MB / 398.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.03017, allocations: 4 kB / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001028/0.0312, allocations: 0.7406 MB / 399.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.03122, allocations: 8 kB / 399.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006011/0.03182, allocations: 447.1 kB / 399.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.03229, allocations: 190.8 kB / 400 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.03285, allocations: 155.7 kB / 400.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.03606, allocations: 5.846 MB / 406 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.03632, allocations: 43.91 kB / 406.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.03635, allocations: 32 kB / 406.1 MB, free: 5.32 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.0001937/0.03654, allocations: 200.3 kB / 406.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.03663, allocations: 91.59 kB / 406.4 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.03708, allocations: 400.1 kB / 406.8 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.03708, allocations: 8 kB / 406.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.03709, allocations: 3.938 kB / 406.8 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.03709, allocations: 3.984 kB / 406.8 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.03868, allocations: 1.13 MB / 407.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.03869, allocations: 4 kB / 407.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.03901, allocations: 123.9 kB / 408 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.03901, allocations: 4 kB / 408 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.03904, allocations: 12 kB / 408.1 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.03904, allocations: 4 kB / 408.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.03904, allocations: 11.92 kB / 408.1 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.03965, allocations: 0.6822 MB / 408.8 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.03979, allocations: 99.53 kB / 408.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.03983, allocations: 16 kB / 408.9 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.03998, allocations: 19.97 kB / 408.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.04003, allocations: 40.38 kB / 408.9 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.04005, allocations: 19.92 kB / 409 MB, free: 2.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002471/0.0403, allocations: 346.8 kB / 409.3 MB, free: 2.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0403, allocations: 0 / 409.3 MB, free: 2.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005715/0.04087, allocations: 231.9 kB / 409.5 MB, free: 1.785 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.000267/0.04114, allocations: 135.1 kB / 409.6 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009603/0.0421, allocations: 0.9903 MB / 410.6 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.0421, allocations: 1.312 kB / 410.6 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.04228, allocations: 167.4 kB / 410.8 MB, free: 436 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.04276, allocations: 139.8 kB / 410.9 MB, free: 308 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.0451, allocations: 1.736 MB / 412.7 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.04526, allocations: 242.8 kB / 412.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.04554, 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.0001148/0.04565, allocations: 52.5 kB / 413.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.04565, allocations: 0 / 413.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of Templates: time 0.01208/0.05774, allocations: 8.653 MB / 421.8 MB, free: 5.496 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: 3.3407298158854246]