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.001974/0.001974, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002182/0.002182, allocations: 165.6 kB / 24.27 MB, free: 156 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 1.595/1.595, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3001/0.3001, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.593e-06/1.593e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.017e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01351/0.01354, allocations: 9.476 MB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007374/0.02091, allocations: 3.529 MB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.02215, allocations: 47.62 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.02529, allocations: 1.093 MB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.02777, allocations: 0.9285 MB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.02915, allocations: 0.5064 MB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.03195, allocations: 1.85 MB / 386.3 MB, free: 9.816 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.03309, allocations: 0.7394 MB / 387.1 MB, free: 9.055 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.03454, allocations: 1.044 MB / 388.1 MB, free: 8.008 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.03596, allocations: 0.8649 MB / 389 MB, free: 7.141 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.03615, allocations: 104 kB / 389.1 MB, free: 7.039 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.03737, allocations: 0.5886 MB / 389.7 MB, free: 6.449 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007735/0.03814, allocations: 0.6858 MB / 390.3 MB, free: 5.762 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007076/0.03885, allocations: 0.4911 MB / 390.8 MB, free: 5.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002605/0.04146, allocations: 1.947 MB / 392.8 MB, free: 3.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.04146, allocations: 3.938 kB / 392.8 MB, free: 3.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.04146, allocations: 0 / 392.8 MB, free: 3.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.04148, allocations: 0 / 392.8 MB, free: 3.312 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.003688/0.04517, allocations: 1.792 MB / 394.6 MB, free: 1.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.0452, allocations: 19.98 kB / 394.6 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.04727, allocations: 423.7 kB / 395 MB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.0496, allocations: 0.8916 MB / 395.9 MB, free: 124 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.663e-05/0.0497, allocations: 82.47 kB / 396 MB, free: 40 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.05006, allocations: 143.8 kB / 396.1 MB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.05216, allocations: 1.081 MB / 397.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/0.0522, allocations: 7.938 kB / 397.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.05231, allocations: 40 kB / 397.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003356/0.05265, allocations: 98.16 kB / 397.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.05416, allocations: 0.637 MB / 398 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009412/0.06357, allocations: 5.182 MB / 403.2 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.06438, allocations: 374 kB / 403.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.06482, allocations: 221.3 kB / 403.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.853e-05/0.06488, allocations: 12.66 kB / 403.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.06493, allocations: 50.03 kB / 403.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.896e-06/0.06494, allocations: 0 / 403.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.006509/0.07145, allocations: 2.314 MB / 406.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.07152, allocations: 89.75 kB / 406.2 MB, free: 5.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.07289, allocations: 0.8234 MB / 407 MB, free: 4.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.07296, allocations: 37.7 kB / 407.1 MB, free: 4.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006536/0.07361, allocations: 0.6977 MB / 407.8 MB, free: 3.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.07393, allocations: 297.7 kB / 408.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/0.07427, allocations: 208.3 kB / 408.3 MB, free: 3.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004376/0.07471, allocations: 0.6328 MB / 408.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.07513, allocations: 185.9 kB / 409.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008508/0.07599, allocations: 0.605 MB / 409.7 MB, free: 1.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.07738, allocations: 0.8767 MB / 410.6 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.07738, allocations: 4 kB / 410.6 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003165/0.08055, allocations: 1.245 MB / 411.8 MB, free: 15.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.08057, allocations: 8 kB / 411.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002363/0.08293, allocations: 0.8442 MB / 412.7 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00243/0.08536, allocations: 0.5553 MB / 413.2 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.086, allocations: 167.7 kB / 413.4 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.09849, allocations: 9.489 MB / 422.9 MB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.09922, allocations: 51.95 kB / 422.9 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.928e-05/0.09931, allocations: 40 kB / 423 MB, free: 3.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.0004705/0.09978, allocations: 260.3 kB / 423.2 MB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.09998, allocations: 115.4 kB / 423.3 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.102, allocations: 0.8318 MB / 424.2 MB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.102, allocations: 11.94 kB / 424.2 MB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.102, allocations: 8 kB / 424.2 MB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.1021, allocations: 3.984 kB / 424.2 MB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/0.1064, allocations: 1.936 MB / 426.1 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.1064, allocations: 4.219 kB / 426.1 MB, free: 404 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.1068, allocations: 103.9 kB / 426.2 MB, free: 300 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.1081, allocations: 321 kB / 426.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.671e-05/0.1082, allocations: 27.92 kB / 426.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.1182, allocations: 10.22 MB / 436.8 MB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.1182, allocations: 0 / 436.8 MB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.1208, allocations: 1.204 MB / 438 MB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/0.1212, allocations: 143.4 kB / 438.1 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.1214, allocations: 23.98 kB / 438.2 MB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.1218, allocations: 23.98 kB / 438.2 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.122, allocations: 68.41 kB / 438.2 MB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.122, allocations: 27.98 kB / 438.3 MB, free: 3.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007128/0.1227, allocations: 498.9 kB / 438.8 MB, free: 3.059 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1227, allocations: 4 kB / 438.8 MB, free: 3.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001409/0.1241, allocations: 359.9 kB / 439.1 MB, free: 2.703 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.0003588/0.1245, allocations: 151.2 kB / 439.3 MB, free: 2.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002503/0.127, allocations: 1.503 MB / 440.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.127, allocations: 0 / 440.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.137/0.264, allocations: 1.244 MB / 442 MB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.2653, allocations: 197.3 kB / 442.2 MB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.2687, allocations: 2.293 MB / 444.5 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.2693, allocations: 0.6259 MB / 445.1 MB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004924/0.2698, allocations: 184.8 kB / 445.3 MB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.27, allocations: 72.86 kB / 445.4 MB, free: 103.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.384e-06/0.27, allocations: 0 / 445.4 MB, free: 103.6 MB / 410.7 MB Notification: Performance of Templates: time 0.02252/0.2925, allocations: 14.97 MB / 460.3 MB, free: 102.1 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: 5.625946428976022]