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.0008923/0.0008923, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009674/0.0009674, allocations: 165 kB / 24.56 MB, free: 8 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.9415/0.9415, allocations: 177.1 MB / 205 MB, free: 5.605 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.2127/0.2127, allocations: 29.41 MB / 290.9 MB, free: 2.426 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.372e-06/1.372e-06, allocations: 0 / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.658e-05, allocations: 5.125 kB / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.00616/0.006177, allocations: 7.906 MB / 377.6 MB, free: 3.023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003587/0.009764, allocations: 3.544 MB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.01012, allocations: 47.62 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008465/0.01097, allocations: 377.5 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.01213, allocations: 0.913 MB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.01282, allocations: 0.4946 MB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.01404, allocations: 1.858 MB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/0.0147, allocations: 0.7472 MB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000865/0.01556, allocations: 1.114 MB / 386.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000814/0.01638, allocations: 0.861 MB / 387.5 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.01649, allocations: 100 kB / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.01699, allocations: 479 kB / 388.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.01736, allocations: 0.6702 MB / 388.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.01773, allocations: 498.9 kB / 389.2 MB, free: 7.301 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.01875, allocations: 1.285 MB / 390.5 MB, free: 6.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01875, allocations: 4 kB / 390.5 MB, free: 6.008 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01875, allocations: 0 / 390.5 MB, free: 6.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.01877, allocations: 0 / 390.5 MB, free: 6.008 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.001631/0.0204, allocations: 1.676 MB / 392.2 MB, free: 4.289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.02044, allocations: 11.98 kB / 392.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009467/0.02139, allocations: 395.7 kB / 392.6 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000848/0.02223, allocations: 0.8058 MB / 393.4 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/0.02228, allocations: 82.47 kB / 393.5 MB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.02247, allocations: 135.8 kB / 393.6 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.02355, allocations: 0.9712 MB / 394.6 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.02358, allocations: 3.938 kB / 394.6 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.02364, allocations: 47.98 kB / 394.6 MB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.0238, allocations: 98.16 kB / 394.7 MB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.02463, allocations: 0.5397 MB / 395.3 MB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.02858, allocations: 4.83 MB / 400.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.02902, allocations: 333.9 kB / 400.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.02926, allocations: 193.3 kB / 400.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.0293, allocations: 20.64 kB / 400.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.02933, allocations: 42.05 kB / 400.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.003e-06/0.02933, allocations: 7.938 kB / 400.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003259/0.03259, allocations: 2.189 MB / 402.9 MB, free: 9.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.03264, allocations: 85.77 kB / 403 MB, free: 9.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.03322, allocations: 0.6828 MB / 403.6 MB, free: 8.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.03327, allocations: 41.69 kB / 403.7 MB, free: 8.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.0336, allocations: 0.6625 MB / 404.3 MB, free: 7.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.03383, allocations: 289.7 kB / 404.6 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.03401, allocations: 188.2 kB / 404.8 MB, free: 7.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.0342, allocations: 0.5898 MB / 405.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.03445, allocations: 161.8 kB / 405.6 MB, free: 6.387 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.03496, allocations: 0.5504 MB / 406.1 MB, free: 5.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.03566, allocations: 0.7909 MB / 406.9 MB, free: 4.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.03566, allocations: 4 kB / 406.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001558/0.03722, allocations: 1.166 MB / 408.1 MB, free: 3.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.03724, allocations: 8 kB / 408.1 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00115/0.03839, allocations: 0.7819 MB / 408.9 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.03958, allocations: 0.5254 MB / 409.4 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.04018, allocations: 171.7 kB / 409.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005894/0.04608, allocations: 9.201 MB / 418.8 MB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.04638, allocations: 51.92 kB / 418.8 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.04642, allocations: 40 kB / 418.8 MB, free: 8.238 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.0002047/0.04663, allocations: 220.3 kB / 419.1 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.04673, allocations: 119.3 kB / 419.2 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.04777, allocations: 0.7772 MB / 420 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.04778, allocations: 11.94 kB / 420 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.04778, allocations: 4 kB / 420 MB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.04779, allocations: 3.984 kB / 420 MB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.04975, allocations: 1.717 MB / 421.7 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.04975, allocations: 4 kB / 421.7 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.04998, allocations: 103.9 kB / 421.8 MB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/0.05055, allocations: 298.2 kB / 422.1 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.05059, allocations: 31.97 kB / 422.1 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004576/0.05517, allocations: 10.07 MB / 432.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.05517, allocations: 0 / 432.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.05633, allocations: 1.106 MB / 433.3 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.05649, allocations: 143.3 kB / 433.4 MB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.05656, allocations: 23.94 kB / 433.5 MB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.05676, allocations: 27.97 kB / 433.5 MB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/0.05685, allocations: 64.48 kB / 433.5 MB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.05688, allocations: 27.98 kB / 433.6 MB, free: 8.664 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002937/0.05718, allocations: 426.9 kB / 434 MB, free: 8.254 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05718, allocations: 0 / 434 MB, free: 8.254 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007425/0.05792, allocations: 336 kB / 434.3 MB, free: 7.926 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.000126/0.05804, allocations: 126.6 kB / 434.4 MB, free: 7.793 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.05924, allocations: 1.41 MB / 435.9 MB, free: 6.312 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.05925, allocations: 4 kB / 435.9 MB, free: 6.309 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008006/0.06005, allocations: 1.217 MB / 437.1 MB, free: 5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.0606, allocations: 188.5 kB / 437.3 MB, free: 4.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.06358, allocations: 2.279 MB / 439.5 MB, free: 2.469 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.06382, allocations: 339.2 kB / 439.9 MB, free: 2.113 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000287/0.06411, allocations: 187.2 kB / 440.1 MB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.06421, allocations: 60.48 kB / 440.1 MB, free: 1.867 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.06421, allocations: 0 / 440.1 MB, free: 1.867 MB / 410.7 MB Notification: Performance of Templates: time 0.1377/0.202, allocations: 15 MB / 455.1 MB, free: 92.41 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.2997515141032636]