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.001066/0.001066, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001074/0.001074, allocations: 170.5 kB / 24.91 MB, free: 9.211 MB / 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.9663/0.9663, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2523/0.2523, allocations: 29.41 MB / 291.2 MB, free: 2.484 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.403e-06/1.403e-06, allocations: 0 / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.689e-05, allocations: 6.312 kB / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.006878/0.006895, allocations: 8.417 MB / 325.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.01093, allocations: 3.884 MB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.01127, allocations: 51.56 kB / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007641/0.01203, allocations: 397.4 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.01311, allocations: 0.9712 MB / 330.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.01389, allocations: 0.6981 MB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.01534, allocations: 2.111 MB / 333.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008181/0.01616, allocations: 0.9793 MB / 334.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009828/0.01714, allocations: 1.278 MB / 335.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.01852, allocations: 0.8883 MB / 336.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.01865, allocations: 132 kB / 336.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006037/0.01925, allocations: 0.5107 MB / 337.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.01968, allocations: 0.7443 MB / 337.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.02009, allocations: 0.5574 MB / 338.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.02126, allocations: 1.464 MB / 339.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.02126, allocations: 8 kB / 339.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.02126, allocations: 0 / 339.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.02127, allocations: 0 / 339.9 MB, free: 8.809 MB / 314.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.001694/0.02297, allocations: 1.64 MB / 341.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.023, allocations: 15.98 kB / 341.6 MB, free: 7.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008984/0.0239, allocations: 348.5 kB / 341.9 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/0.0249, allocations: 0.7922 MB / 342.7 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.02497, allocations: 86.73 kB / 342.8 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000678/0.02564, allocations: 156.6 kB / 342.9 MB, free: 5.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.02668, allocations: 1.037 MB / 344 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.02671, allocations: 15.89 kB / 344 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.72e-05/0.02679, allocations: 51.98 kB / 344 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002196/0.02701, allocations: 106.4 kB / 344.2 MB, free: 4.422 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006728/0.02768, allocations: 406.2 kB / 344.5 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.0325, allocations: 4.053 MB / 348.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.03302, allocations: 381.6 kB / 349 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.03324, allocations: 159.4 kB / 349.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.03328, allocations: 12.66 kB / 349.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.03331, allocations: 43.22 kB / 349.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 2.444e-06/0.03332, allocations: 4 kB / 349.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.004067/0.03738, allocations: 1.838 MB / 351 MB, free: 13.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.03746, allocations: 166.8 kB / 351.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004935/0.03795, allocations: 0.6166 MB / 351.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.038, allocations: 41.7 kB / 351.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.0383, allocations: 0.5564 MB / 352.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.03851, allocations: 313.3 kB / 352.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.03876, allocations: 190.8 kB / 352.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.03891, allocations: 410.5 kB / 353.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.03912, allocations: 118 kB / 353.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.0395, allocations: 459.7 kB / 353.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.04015, allocations: 0.6151 MB / 354.5 MB, free: 9.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.04015, allocations: 4 kB / 354.5 MB, free: 9.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001575/0.04173, allocations: 0.8807 MB / 355.4 MB, free: 8.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.04175, allocations: 8 kB / 355.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001161/0.04291, allocations: 0.5896 MB / 356 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.04429, allocations: 483.6 kB / 356.4 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/0.04504, allocations: 299.6 kB / 356.7 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/0.05247, allocations: 9.86 MB / 366.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.0529, allocations: 52.11 kB / 366.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.05297, allocations: 32 kB / 366.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000395/0.05336, allocations: 213.5 kB / 366.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003691/0.05373, allocations: 455.8 kB / 367.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006448/0.05437, allocations: 0.6084 MB / 367.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/0.05438, allocations: 0 / 367.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.001556/0.05594, allocations: 0.8846 MB / 368.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.05595, allocations: 15.09 kB / 368.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001117/0.05707, allocations: 0.5816 MB / 369.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.05836, allocations: 479 kB / 369.9 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.05883, allocations: 187.7 kB / 370.1 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005728/0.06456, allocations: 7.419 MB / 377.5 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.06497, allocations: 35.98 kB / 377.5 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.06503, allocations: 32 kB / 377.5 MB, free: 0.8633 MB / 346.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.0002458/0.06528, allocations: 248.1 kB / 377.8 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.06544, allocations: 87.86 kB / 377.9 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.06679, allocations: 0.6558 MB / 378.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.0668, allocations: 11.94 kB / 378.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.0668, allocations: 4 kB / 378.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.06681, allocations: 3.984 kB / 378.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.0691, allocations: 1.532 MB / 380.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.06911, allocations: 4 kB / 380.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.06945, allocations: 127.7 kB / 380.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006868/0.07014, allocations: 298.2 kB / 380.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.548e-05/0.0702, allocations: 27.98 kB / 380.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004405/0.0746, allocations: 7.255 MB / 387.8 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.07461, allocations: 4 kB / 387.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.07586, allocations: 0.97 MB / 388.8 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.07609, allocations: 139.3 kB / 388.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.07619, allocations: 40.02 kB / 388.9 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.0765, allocations: 20 kB / 389 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.07661, allocations: 84.38 kB / 389 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.07665, allocations: 19.98 kB / 389.1 MB, free: 4.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002619/0.07691, allocations: 288.5 kB / 389.3 MB, free: 4.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07691, allocations: 0 / 389.3 MB, free: 4.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001686/0.0786, allocations: 0.6016 MB / 389.9 MB, free: 3.766 MB / 362.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.000156/0.07876, allocations: 104.3 kB / 390 MB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.08163, allocations: 2.367 MB / 392.4 MB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.936e-05/0.08165, allocations: 13 kB / 392.4 MB, free: 1.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008482/0.0825, allocations: 0.91 MB / 393.3 MB, free: 168 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.08329, allocations: 243.2 kB / 393.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.08679, allocations: 2.403 MB / 396 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.08715, allocations: 381.3 kB / 396.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004126/0.08757, allocations: 147.7 kB / 396.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.08797, allocations: 241.2 kB / 396.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.08797, allocations: 0 / 396.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of Templates: time 0.02478/0.1127, allocations: 22.27 MB / 419 MB, free: 6.66 MB / 394.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.522676927037537]