Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.001805/0.001805, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002081/0.002081, allocations: 161.3 kB / 24.27 MB, free: 156 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.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3082/0.3082, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.539e-05, allocations: 5.688 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01527/0.01531, allocations: 10.25 MB / 379.1 MB, free: 1 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008094/0.0234, allocations: 3.833 MB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007687/0.02417, allocations: 51.62 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.0275, allocations: 1.171 MB / 384.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.03021, allocations: 0.9828 MB / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.03229, allocations: 0.6857 MB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.03563, allocations: 2.126 MB / 388 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.03723, allocations: 0.9129 MB / 388.9 MB, free: 7.188 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.03956, allocations: 1.208 MB / 390.1 MB, free: 5.977 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.04137, allocations: 0.9468 MB / 391.1 MB, free: 5.027 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002714/0.04165, allocations: 143.9 kB / 391.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.04322, allocations: 0.6238 MB / 391.8 MB, free: 4.262 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000942/0.04416, allocations: 0.7599 MB / 392.6 MB, free: 3.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.04527, allocations: 0.5652 MB / 393.1 MB, free: 2.934 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.04887, allocations: 2.372 MB / 395.5 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.04888, allocations: 4 kB / 395.5 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.04888, allocations: 3.938 kB / 395.5 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.04891, allocations: 0 / 395.5 MB, free: 0.5469 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.005861/0.05477, allocations: 1.992 MB / 397.5 MB, free: 14.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.05483, allocations: 11.98 kB / 397.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.05836, allocations: 471.5 kB / 398 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/0.06233, allocations: 1.025 MB / 399 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.06247, allocations: 90.72 kB / 399.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006637/0.06313, allocations: 156.5 kB / 399.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004186/0.06732, allocations: 1.295 MB / 400.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/0.06738, allocations: 3.938 kB / 400.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.06758, allocations: 51.98 kB / 400.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004958/0.06808, allocations: 106.4 kB / 400.7 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/0.07097, allocations: 0.7354 MB / 401.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.08773, allocations: 5.595 MB / 407 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.08983, allocations: 472.7 kB / 407.5 MB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.09083, allocations: 261 kB / 407.8 MB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.876e-05/0.09093, allocations: 16.66 kB / 407.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.644e-05/0.091, allocations: 49.92 kB / 407.8 MB, free: 3.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 5.2e-06/0.09101, allocations: 8 kB / 407.8 MB, free: 3.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.01503/0.106, allocations: 2.817 MB / 410.6 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/0.1062, allocations: 170.8 kB / 410.8 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.1085, allocations: 0.8899 MB / 411.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.1086, allocations: 41.7 kB / 411.7 MB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.1098, allocations: 0.7642 MB / 412.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006292/0.1104, allocations: 337.4 kB / 412.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007085/0.1111, allocations: 236.5 kB / 413.1 MB, free: 14.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007583/0.1119, allocations: 0.6524 MB / 413.7 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.113, allocations: 236.8 kB / 414 MB, free: 13.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.1152, allocations: 0.7091 MB / 414.7 MB, free: 12.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/0.1182, allocations: 0.949 MB / 415.6 MB, free: 11.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.1182, allocations: 4 kB / 415.6 MB, free: 11.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006616/0.1248, allocations: 1.318 MB / 416.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.1249, allocations: 8 kB / 416.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00511/0.13, allocations: 0.9184 MB / 417.9 MB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004762/0.1348, allocations: 0.5482 MB / 418.4 MB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/0.1375, allocations: 311.6 kB / 418.7 MB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02959/0.1671, allocations: 14.63 MB / 433.3 MB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.1687, allocations: 59.91 kB / 433.4 MB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/0.169, allocations: 44 kB / 433.4 MB, free: 8.746 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00179/0.1708, allocations: 409.4 kB / 433.8 MB, free: 8.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001729/0.1725, allocations: 0.6895 MB / 434.5 MB, free: 7.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003254/0.1758, allocations: 0.914 MB / 435.4 MB, free: 6.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.998e-05/0.1758, allocations: 4 kB / 435.5 MB, free: 6.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.006271/0.1821, allocations: 1.283 MB / 436.7 MB, free: 5.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.1821, allocations: 11.94 kB / 436.7 MB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004781/0.1869, allocations: 0.8834 MB / 437.6 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004654/0.1916, allocations: 0.5332 MB / 438.2 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.1931, allocations: 203.7 kB / 438.4 MB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1798/0.3729, allocations: 10.76 MB / 449.1 MB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008961/0.3738, allocations: 54.14 kB / 449.2 MB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.3738, allocations: 47.27 kB / 449.2 MB, free: 96.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002644/0.3741, allocations: 326.1 kB / 449.5 MB, free: 96.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.3743, allocations: 133.9 kB / 449.7 MB, free: 96.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.3763, allocations: 0.927 MB / 450.6 MB, free: 96.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3763, allocations: 13.28 kB / 450.6 MB, free: 96.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3763, allocations: 6.406 kB / 450.6 MB, free: 96.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3763, allocations: 3.422 kB / 450.6 MB, free: 96.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004117/0.3804, allocations: 2.391 MB / 453 MB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3804, allocations: 3.188 kB / 453 MB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.3809, allocations: 135.3 kB / 453.2 MB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.3821, allocations: 321.8 kB / 453.5 MB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/0.3822, allocations: 26.33 kB / 453.5 MB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005436/0.3876, allocations: 10.27 MB / 463.8 MB, free: 86.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3876, allocations: 8.828 kB / 463.8 MB, free: 86.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.3901, allocations: 1.379 MB / 465.2 MB, free: 85.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/0.3906, allocations: 170.2 kB / 465.3 MB, free: 85.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.3908, allocations: 38.58 kB / 465.4 MB, free: 85.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.3913, allocations: 33.92 kB / 465.4 MB, free: 85.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.3915, allocations: 76.53 kB / 465.5 MB, free: 85.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.3915, allocations: 27.17 kB / 465.5 MB, free: 85.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005966/0.3921, allocations: 0.5243 MB / 466 MB, free: 85.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3921, allocations: 3.828 kB / 466 MB, free: 85.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002094/0.3942, allocations: 0.6308 MB / 466.7 MB, free: 85.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,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 (66): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003807/0.3946, allocations: 146.7 kB / 466.8 MB, free: 85.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004474/0.3991, allocations: 3.343 MB / 470.1 MB, free: 82.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3991, allocations: 3.125 kB / 470.1 MB, free: 82.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.4005, allocations: 1.304 MB / 471.4 MB, free: 81.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.4018, allocations: 226.8 kB / 471.7 MB, free: 81.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.4057, allocations: 2.644 MB / 474.3 MB, free: 80.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/0.4065, allocations: 0.7019 MB / 475 MB, free: 80.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007835/0.4073, allocations: 298.5 kB / 475.3 MB, free: 80.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.4074, allocations: 72.19 kB / 475.4 MB, free: 80.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.044e-05/0.4074, allocations: 3 kB / 475.4 MB, free: 80.07 MB / 410.7 MB Notification: Performance of Templates: time 0.03336/0.4408, allocations: 21.68 MB / 497.1 MB, free: 76.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.957482574041933]