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.0009303/0.0009303, 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.0009652/0.0009652, 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 1.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.578 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.2579/0.2579, allocations: 29.42 MB / 290.9 MB, free: 2.438 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.934e-06/1.934e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.086e-05, allocations: 6.25 kB / 369.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01028/0.01031, allocations: 8.485 MB / 378.1 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00511/0.01542, allocations: 3.848 MB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006478/0.01607, allocations: 47.62 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.01712, allocations: 397.4 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.01876, allocations: 0.9596 MB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.01995, allocations: 0.6896 MB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001959/0.02191, allocations: 2.119 MB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.02291, allocations: 0.9207 MB / 387.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.02412, allocations: 1.165 MB / 388.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.02521, allocations: 0.9468 MB / 389.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.02539, allocations: 140 kB / 389.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.02642, allocations: 0.6238 MB / 390 MB, free: 6.523 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004811/0.0269, allocations: 0.7638 MB / 390.7 MB, free: 5.758 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.02739, allocations: 0.5691 MB / 391.3 MB, free: 5.188 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.02897, allocations: 1.651 MB / 393 MB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.02898, allocations: 0 / 393 MB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.02898, allocations: 0 / 393 MB, free: 3.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.029, allocations: 0 / 393 MB, free: 3.531 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.002092/0.03109, allocations: 1.871 MB / 394.8 MB, free: 1.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.03113, allocations: 15.98 kB / 394.8 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.03229, allocations: 467.5 kB / 395.3 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.03356, allocations: 1.013 MB / 396.3 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.03361, allocations: 94.66 kB / 396.4 MB, free: 0 / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.03382, allocations: 152.6 kB / 396.6 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.03516, allocations: 1.147 MB / 397.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.03519, allocations: 0 / 397.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.03527, allocations: 48 kB / 397.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.03543, allocations: 102.4 kB / 397.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009331/0.03637, allocations: 0.5838 MB / 398.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/0.04101, allocations: 5.037 MB / 403.5 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.04164, allocations: 404.9 kB / 403.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.0419, allocations: 208.9 kB / 404.1 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.04195, allocations: 24.59 kB / 404.1 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.04199, allocations: 50.03 kB / 404.1 MB, free: 7.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 2.295e-06/0.04199, allocations: 0 / 404.1 MB, free: 7.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.004102/0.04609, allocations: 2.567 MB / 406.7 MB, free: 5.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.04616, allocations: 166.8 kB / 406.9 MB, free: 5.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005887/0.04675, allocations: 0.718 MB / 407.6 MB, free: 4.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.0468, allocations: 41.7 kB / 407.6 MB, free: 4.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.04714, allocations: 0.7174 MB / 408.4 MB, free: 3.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.04732, allocations: 321.3 kB / 408.7 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.04754, allocations: 204.5 kB / 408.9 MB, free: 3.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.04773, allocations: 0.586 MB / 409.5 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.04801, allocations: 184.8 kB / 409.6 MB, free: 2.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.04849, allocations: 0.6271 MB / 410.3 MB, free: 1.426 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008389/0.04933, allocations: 0.8046 MB / 411.1 MB, free: 472 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.04933, allocations: 4 kB / 411.1 MB, free: 468 kB / 378.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001792/0.05113, allocations: 1.193 MB / 412.3 MB, free: 15.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.05115, allocations: 10.97 kB / 412.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001307/0.05246, allocations: 0.8091 MB / 413.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.05379, allocations: 0.5289 MB / 413.6 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.05444, allocations: 311.6 kB / 413.9 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007784/0.06222, allocations: 14.14 MB / 428.1 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.06286, allocations: 64.09 kB / 428.1 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.06291, allocations: 43.98 kB / 428.2 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005831/0.0635, allocations: 317.4 kB / 428.5 MB, free: 14.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004644/0.06396, allocations: 0.6153 MB / 429.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007735/0.06473, allocations: 0.8006 MB / 429.9 MB, free: 12.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/0.06474, allocations: 4 kB / 429.9 MB, free: 12.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.001749/0.06649, allocations: 1.186 MB / 431.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.0665, allocations: 12.06 kB / 431.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001265/0.06776, allocations: 0.7971 MB / 431.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.06903, allocations: 0.5208 MB / 432.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.06944, allocations: 211.6 kB / 432.6 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005912/0.07535, allocations: 10.46 MB / 443.1 MB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.07586, allocations: 63.86 kB / 443.1 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.07591, allocations: 47.98 kB / 443.2 MB, free: 14.42 MB / 426.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.0002567/0.07617, allocations: 331.8 kB / 443.5 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.07632, allocations: 119.4 kB / 443.6 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.07746, allocations: 0.8411 MB / 444.5 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.07747, allocations: 8 kB / 444.5 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.07747, allocations: 4 kB / 444.5 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.07748, allocations: 11.92 kB / 444.5 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.08004, allocations: 2.055 MB / 446.5 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.08004, allocations: 0 / 446.5 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.08034, allocations: 131.8 kB / 446.7 MB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006199/0.08096, allocations: 309.3 kB / 447 MB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.08101, allocations: 31.98 kB / 447 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1596/0.2406, allocations: 10.09 MB / 457.1 MB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.2406, allocations: 4.531 kB / 457.1 MB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.2424, allocations: 1.21 MB / 458.3 MB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.2427, allocations: 171.2 kB / 458.5 MB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/0.2428, allocations: 33.88 kB / 458.5 MB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.2431, allocations: 38.27 kB / 458.5 MB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2432, allocations: 77.38 kB / 458.6 MB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.2433, allocations: 28.44 kB / 458.6 MB, free: 101.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000348/0.2436, allocations: 444.1 kB / 459.1 MB, free: 101.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2436, allocations: 0 / 459.1 MB, free: 101.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00155/0.2452, allocations: 0.6304 MB / 459.7 MB, free: 101.7 MB / 426.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.000268/0.2454, allocations: 151.9 kB / 459.9 MB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.2481, allocations: 3.124 MB / 463 MB, free: 99.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.2481, allocations: 0 / 463 MB, free: 99.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000716/0.2488, allocations: 1.233 MB / 464.2 MB, free: 98.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/0.2494, allocations: 224.9 kB / 464.4 MB, free: 98.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.2526, allocations: 2.596 MB / 467 MB, free: 97.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.2529, allocations: 382.9 kB / 467.4 MB, free: 97.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004651/0.2534, allocations: 291.3 kB / 467.7 MB, free: 97.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2535, allocations: 77.41 kB / 467.8 MB, free: 97.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2535, allocations: 0 / 467.8 MB, free: 97.66 MB / 426.7 MB Notification: Performance of Templates: time 0.02282/0.2763, allocations: 21.71 MB / 489.5 MB, free: 95.6 MB / 426.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: 3.8843838232569396]