Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.0008073/0.0008073, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.0008947/0.0008947, allocations: 171.9 kB / 24.82 MB, free: 8.91 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.9707/0.9707, allocations: 177.2 MB / 205.3 MB, free: 5.504 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.2433/0.2433, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.214e-05, allocations: 5.406 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.014/0.01403, allocations: 7.823 MB / 377.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005525/0.01956, allocations: 3.494 MB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007073/0.02027, allocations: 43.62 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.02153, allocations: 377.5 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.02388, allocations: 0.9129 MB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.02529, allocations: 0.4986 MB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003176/0.02847, allocations: 1.854 MB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.02961, allocations: 0.7433 MB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.03134, allocations: 1.122 MB / 387 MB, free: 9.777 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.03265, allocations: 0.8532 MB / 387.8 MB, free: 8.922 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.03288, allocations: 100 kB / 387.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008855/0.03376, allocations: 483 kB / 388.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00055/0.03431, allocations: 0.678 MB / 389.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005624/0.03487, allocations: 490.9 kB / 389.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.03657, allocations: 1.292 MB / 390.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.03657, allocations: 0 / 390.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.03658, allocations: 0 / 390.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.015e-05/0.03664, allocations: 0 / 390.8 MB, free: 5.895 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002401/0.03904, allocations: 1.644 MB / 392.5 MB, free: 4.207 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.03908, allocations: 15.98 kB / 392.5 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.04012, allocations: 371.8 kB / 392.9 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.04112, allocations: 0.7589 MB / 393.6 MB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.04117, allocations: 82.47 kB / 393.7 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.04137, allocations: 139.8 kB / 393.8 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009786/0.04235, allocations: 0.889 MB / 394.7 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.04237, allocations: 0 / 394.7 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.04244, allocations: 51.97 kB / 394.8 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.0426, allocations: 94.17 kB / 394.9 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.04322, allocations: 443.8 kB / 395.3 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004805/0.04802, allocations: 4.724 MB / 400 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.04841, allocations: 317.6 kB / 400.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.04858, allocations: 173.3 kB / 400.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.04862, allocations: 12.66 kB / 400.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.04865, allocations: 42.05 kB / 400.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.305e-06/0.04865, allocations: 0 / 400.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003106/0.05176, allocations: 1.7 MB / 402.3 MB, free: 9.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.05181, allocations: 85.77 kB / 402.4 MB, free: 9.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.05232, allocations: 0.6785 MB / 403 MB, free: 9.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.05236, allocations: 37.7 kB / 403.1 MB, free: 9.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.05275, allocations: 0.678 MB / 403.7 MB, free: 8.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.05294, allocations: 285.6 kB / 404 MB, free: 8.152 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.05313, allocations: 196.1 kB / 404.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.05333, allocations: 0.5935 MB / 404.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.05348, allocations: 117.9 kB / 404.9 MB, free: 7.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.05381, allocations: 0.5269 MB / 405.4 MB, free: 6.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008162/0.05463, allocations: 0.7283 MB / 406.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.05463, allocations: 3.938 kB / 406.2 MB, free: 5.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001362/0.056, allocations: 1.061 MB / 407.2 MB, free: 4.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.05602, allocations: 12.28 kB / 407.3 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009669/0.05699, allocations: 0.6918 MB / 407.9 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.05811, allocations: 0.5137 MB / 408.5 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.05842, allocations: 167.7 kB / 408.6 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005857/0.06428, allocations: 8.934 MB / 417.6 MB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.06472, allocations: 28 kB / 417.6 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.06476, allocations: 39.98 kB / 417.6 MB, free: 9.695 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002894/0.06505, allocations: 208.3 kB / 417.8 MB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.06517, allocations: 115.4 kB / 417.9 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/0.06605, allocations: 0.7224 MB / 418.7 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.06606, allocations: 8.062 kB / 418.7 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.06606, allocations: 8 kB / 418.7 MB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.06607, allocations: 11.97 kB / 418.7 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.06811, allocations: 1.46 MB / 420.2 MB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.06811, allocations: 4 kB / 420.2 MB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.06833, allocations: 100 kB / 420.3 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005353/0.06887, allocations: 281.1 kB / 420.5 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.06891, allocations: 27.98 kB / 420.6 MB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/0.07349, allocations: 9.911 MB / 430.5 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.07349, allocations: 4 kB / 430.5 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.07458, allocations: 1.028 MB / 431.5 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.07479, allocations: 127.4 kB / 431.6 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.07485, allocations: 16 kB / 431.6 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.07504, allocations: 19.94 kB / 431.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.07513, allocations: 68.47 kB / 431.7 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.07515, allocations: 19.98 kB / 431.7 MB, free: 10.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.0754, allocations: 394.8 kB / 432.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0754, allocations: 112 / 432.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009079/0.07631, allocations: 343.9 kB / 432.5 MB, free: 10.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * 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.000141/0.07645, allocations: 124.9 kB / 432.6 MB, free: 9.934 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.07752, allocations: 1.338 MB / 433.9 MB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.07752, allocations: 0 / 433.9 MB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.07859, allocations: 1.183 MB / 435.1 MB, free: 7.254 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.07917, allocations: 196.7 kB / 435.3 MB, free: 7.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.08203, allocations: 2.257 MB / 437.6 MB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.0823, allocations: 347.1 kB / 437.9 MB, free: 4.375 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.08254, allocations: 111.3 kB / 438 MB, free: 4.262 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.08281, allocations: 234.1 kB / 438.2 MB, free: 4.031 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.08281, allocations: 0 / 438.2 MB, free: 4.031 MB / 410.7 MB Notification: Performance of Templates: time 0.1536/0.2364, allocations: 15.25 MB / 453.5 MB, free: 91.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.37215125374496]