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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 99.98 kB / 19.61 MB, free: 2.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 195 kB / 22.76 MB, free: 5.457 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1872/0.1872, allocations: 38.51 MB / 344.9 MB, free: 2.633 MB / 270.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 482.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3358, allocations: 61.23 MB / 0.5309 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.009923/0.3458, allocations: 9.7 MB / 0.5404 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007054/0.3528, allocations: 3.577 MB / 0.5439 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.3538, allocations: 34.03 kB / 0.5439 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.3569, allocations: 1.122 MB / 0.545 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.3599, allocations: 0.8945 MB / 0.5459 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.3612, allocations: 480.8 kB / 0.5464 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.3638, allocations: 1.813 MB / 0.5481 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.365, allocations: 0.7614 MB / 0.5489 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.3665, allocations: 0.7864 MB / 0.5497 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.3682, allocations: 0.9641 MB / 0.5506 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.3683, allocations: 108.7 kB / 0.5507 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.3695, allocations: 0.5641 MB / 0.5512 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006614/0.3702, allocations: 0.6481 MB / 0.5519 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008777/0.3711, allocations: 0.7008 MB / 0.5526 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.374, allocations: 1.908 MB / 0.5544 GB, free: 4.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.374, allocations: 0 / 0.5544 GB, free: 4.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.374, allocations: 0 / 0.5544 GB, free: 4.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.933e-05/0.3741, allocations: 0 / 0.5544 GB, free: 4.602 MB / 398.1 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.003557/0.3777, allocations: 1.676 MB / 0.5561 GB, free: 2.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3777, allocations: 15.89 kB / 0.5561 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.3794, allocations: 271.8 kB / 0.5563 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.3815, allocations: 0.9612 MB / 0.5573 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/0.3815, allocations: 78.05 kB / 0.5574 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.3819, allocations: 135.9 kB / 0.5575 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.3844, allocations: 1.493 MB / 0.5589 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.3844, allocations: 7.938 kB / 0.5589 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.3845, allocations: 43.98 kB / 0.559 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003078/0.3848, allocations: 98.16 kB / 0.5591 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.387, allocations: 1.262 MB / 0.5603 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008176/0.3952, allocations: 5.638 MB / 0.5658 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/0.3961, allocations: 0.5586 MB / 0.5664 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.3967, allocations: 379.3 kB / 0.5667 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.3968, allocations: 12.55 kB / 0.5667 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.3968, allocations: 43.06 kB / 0.5668 GB, free: 7.395 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.465e-06/0.3968, allocations: 0 / 0.5668 GB, free: 7.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007743/0.4045, allocations: 3.665 MB / 0.5704 GB, free: 3.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.4046, allocations: 93.64 kB / 0.5705 GB, free: 3.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4056, allocations: 0.7314 MB / 0.5712 GB, free: 2.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.4057, allocations: 37.7 kB / 0.5712 GB, free: 2.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/0.4062, allocations: 0.6013 MB / 0.5718 GB, free: 2.059 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.4064, allocations: 285.6 kB / 0.5721 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.4067, allocations: 182.6 kB / 0.5722 GB, free: 1.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.407, allocations: 410.8 kB / 0.5726 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.4076, allocations: 385.8 kB / 0.573 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/0.4085, allocations: 0.6613 MB / 0.5736 GB, free: 28 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.4102, allocations: 1.144 MB / 0.5748 GB, free: 14.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.4102, allocations: 0 / 0.5748 GB, free: 14.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003595/0.4138, allocations: 1.683 MB / 0.5764 GB, free: 13.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.4138, allocations: 12 kB / 0.5764 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002795/0.4166, allocations: 1.29 MB / 0.5777 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.4186, allocations: 0.5769 MB / 0.5782 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.4192, allocations: 175.7 kB / 0.5784 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.432, allocations: 10.36 MB / 0.5885 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008366/0.4328, allocations: 55.95 kB / 0.5886 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.4329, allocations: 40 kB / 0.5886 GB, free: 15.95 MB / 446.1 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.0006955/0.4336, allocations: 389.3 kB / 0.589 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.4338, allocations: 91.39 kB / 0.5891 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.4362, allocations: 1.236 MB / 0.5903 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4362, allocations: 8 kB / 0.5903 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4362, allocations: 4 kB / 0.5903 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4362, allocations: 7.984 kB / 0.5903 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.4407, allocations: 2.389 MB / 0.5926 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.4407, allocations: 4.219 kB / 0.5926 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.4412, allocations: 111.8 kB / 0.5927 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.4423, allocations: 376 kB / 0.5931 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/0.4424, allocations: 27.98 kB / 0.5931 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009015/0.4514, allocations: 9.303 MB / 0.6022 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4514, allocations: 112 / 0.6022 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/0.4544, allocations: 1.675 MB / 0.6038 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.4549, allocations: 240.3 kB / 0.6041 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.4551, allocations: 27.94 kB / 0.6041 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.4555, allocations: 23.98 kB / 0.6041 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.4557, allocations: 56.48 kB / 0.6042 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/0.4557, allocations: 31.98 kB / 0.6042 GB, free: 15.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007348/0.4565, allocations: 0.5067 MB / 0.6047 GB, free: 14.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4565, allocations: 0 / 0.6047 GB, free: 14.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00145/0.4579, allocations: 367.9 kB / 0.6051 GB, free: 14.2 MB / 462.1 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.0003508/0.4583, allocations: 151 kB / 0.6052 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002518/0.4608, allocations: 1.524 MB / 0.6067 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4608, allocations: 0.5625 kB / 0.6067 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.4624, allocations: 1.083 MB / 0.6077 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.4636, allocations: 206.2 kB / 0.6079 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.4685, allocations: 2.851 MB / 0.6107 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.4696, allocations: 1.258 MB / 0.612 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.4698, allocations: 75.36 kB / 0.612 GB, free: 6.84 MB / 462.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4698, allocations: 0 / 0.612 GB, free: 6.84 MB / 462.1 MB Notification: Performance of Templates: time 0.04209/0.5119, allocations: 32.96 MB / 0.6442 GB, free: 5.875 MB / 494.1 MB [Timeout remaining time 659] 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480]