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.001359/0.001359, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009651/0.0009651, allocations: 173.7 kB / 24.91 MB, free: 9.176 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.993/0.993, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.238/0.238, allocations: 29.41 MB / 291.2 MB, free: 2.5 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.313e-06/1.313e-06, allocations: 0 / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.455e-05, allocations: 2.312 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.006406/0.006431, allocations: 7.864 MB / 324.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004226/0.01066, allocations: 3.561 MB / 328.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/0.01106, allocations: 47.62 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007007/0.01176, allocations: 373.5 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.01304, allocations: 0.9285 MB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.01379, allocations: 0.4986 MB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.01527, allocations: 1.85 MB / 332 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006988/0.01597, allocations: 0.8019 MB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009748/0.01694, allocations: 1.118 MB / 333.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000821/0.01776, allocations: 0.8103 MB / 334.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.01788, allocations: 100 kB / 334.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000536/0.01841, allocations: 471.1 kB / 335.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004126/0.01883, allocations: 0.678 MB / 335.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.0192, allocations: 490.9 kB / 336.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.02026, allocations: 1.296 MB / 337.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.02026, allocations: 4 kB / 337.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02026, allocations: 0 / 337.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.02027, allocations: 0 / 337.7 MB, free: 11.03 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.00147/0.02175, allocations: 1.472 MB / 339.2 MB, free: 9.523 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.02177, allocations: 11.98 kB / 339.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008305/0.0226, allocations: 336.5 kB / 339.5 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007702/0.02337, allocations: 0.7055 MB / 340.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.02342, allocations: 86.48 kB / 340.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.02359, allocations: 139.8 kB / 340.4 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.02441, allocations: 0.8754 MB / 341.3 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.02443, allocations: 4 kB / 341.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/0.02449, allocations: 43.98 kB / 341.4 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.02464, allocations: 102.2 kB / 341.5 MB, free: 7.133 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.02513, allocations: 380 kB / 341.8 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.02859, allocations: 3.894 MB / 345.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.02893, allocations: 318.7 kB / 346 MB, free: 2.305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.02909, allocations: 150.5 kB / 346.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.02912, allocations: 16.64 kB / 346.2 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.02914, allocations: 39.22 kB / 346.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 1.593e-06/0.02915, allocations: 4 kB / 346.2 MB, free: 2.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002627/0.03177, allocations: 1.624 MB / 347.9 MB, free: 420 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.03182, allocations: 85.77 kB / 348 MB, free: 312 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.03238, allocations: 0.5855 MB / 348.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.03244, allocations: 37.7 kB / 348.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.03278, allocations: 0.5243 MB / 349.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.03301, allocations: 281.6 kB / 349.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.03325, allocations: 170.5 kB / 349.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.03341, allocations: 406.5 kB / 349.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.03361, allocations: 102 kB / 350 MB, free: 14.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.03401, allocations: 397.2 kB / 350.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/0.0347, allocations: 0.5997 MB / 351 MB, free: 12.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.0347, allocations: 0 / 351 MB, free: 12.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001248/0.03595, allocations: 0.8878 MB / 351.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.03597, allocations: 12.03 kB / 351.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008824/0.03685, allocations: 0.5805 MB / 352.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.03792, allocations: 0.5085 MB / 353 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.03823, allocations: 163.7 kB / 353.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004999/0.04322, allocations: 6.679 MB / 359.9 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.0435, allocations: 35.95 kB / 359.9 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.04354, allocations: 39.92 kB / 359.9 MB, free: 3.609 MB / 330.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.0002271/0.04377, allocations: 164.4 kB / 360.1 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.04386, allocations: 79.94 kB / 360.2 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008122/0.04467, allocations: 0.6248 MB / 360.8 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.04468, allocations: 8 kB / 360.8 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.04468, allocations: 8 kB / 360.8 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.04469, allocations: 3.984 kB / 360.8 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.04625, allocations: 1.284 MB / 362.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.04626, allocations: 4 kB / 362.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.04648, allocations: 104 kB / 362.2 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005503/0.04703, allocations: 291.2 kB / 362.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.04707, allocations: 23.98 kB / 362.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/0.05072, allocations: 7.22 MB / 369.7 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.05072, allocations: 0 / 369.7 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.05165, allocations: 0.8985 MB / 370.6 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.0518, allocations: 115.3 kB / 370.7 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.05187, allocations: 31.94 kB / 370.8 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.05204, allocations: 12 kB / 370.8 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.05212, allocations: 68.41 kB / 370.8 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.05214, allocations: 20 kB / 370.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.05233, allocations: 272.5 kB / 371.1 MB, free: 7.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05233, allocations: 4 kB / 371.1 MB, free: 7.703 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007644/0.0531, allocations: 336 kB / 371.5 MB, free: 7.375 MB / 346.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.0001345/0.05323, allocations: 99.2 kB / 371.6 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.05427, allocations: 1.069 MB / 372.6 MB, free: 6.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/0.05429, allocations: 8.5 kB / 372.6 MB, free: 6.145 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007013/0.05499, allocations: 0.8796 MB / 373.5 MB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.05553, allocations: 215 kB / 373.7 MB, free: 4.996 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.05828, allocations: 2.114 MB / 375.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.05854, allocations: 331.2 kB / 376.2 MB, free: 2.477 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.05876, allocations: 111.3 kB / 376.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.05903, allocations: 209.2 kB / 376.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.05903, allocations: 0 / 376.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of Templates: time 0.01807/0.0771, allocations: 15.24 MB / 391.7 MB, free: 3.133 MB / 362.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.3454333199188113]