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.0008605/0.0008605, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009785/0.0009785, allocations: 170.4 kB / 25.61 MB, free: 8.902 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.9134/0.9134, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1239/0.1239, allocations: 29.42 MB / 292 MB, free: 2.707 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.523e-06/1.523e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.207e-05, allocations: 2.312 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.005481/0.005503, allocations: 7.823 MB / 378.7 MB, free: 24.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.00922, allocations: 3.505 MB / 382.2 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.009622, allocations: 39.69 kB / 382.3 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008093/0.01043, allocations: 377.5 kB / 382.6 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.01177, allocations: 0.913 MB / 383.5 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.01251, allocations: 0.5013 MB / 384 MB, free: 19.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.0137, allocations: 1.856 MB / 385.9 MB, free: 17.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.0143, allocations: 0.7433 MB / 386.6 MB, free: 16.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007976/0.0151, allocations: 1.126 MB / 387.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/0.01579, allocations: 0.8532 MB / 388.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.01588, allocations: 104 kB / 388.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.01635, allocations: 479 kB / 389.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.01662, allocations: 0.678 MB / 389.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.0169, allocations: 494.9 kB / 390.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007849/0.01769, allocations: 1.285 MB / 391.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.01769, allocations: 0 / 391.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01769, allocations: 0 / 391.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.0177, allocations: 0 / 391.6 MB, free: 11.46 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.001228/0.01893, allocations: 1.648 MB / 393.3 MB, free: 9.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.595e-05/0.01895, allocations: 12.03 kB / 393.3 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008366/0.01979, allocations: 367.8 kB / 393.6 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.02043, allocations: 0.7629 MB / 394.4 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.02046, allocations: 74.48 kB / 394.5 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.02061, allocations: 139.7 kB / 394.6 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.02128, allocations: 0.8929 MB / 395.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.02131, allocations: 15.91 kB / 395.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.02136, allocations: 40 kB / 395.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.0215, allocations: 94.17 kB / 395.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.02195, allocations: 443.8 kB / 396.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/0.02481, allocations: 4.72 MB / 400.8 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.02509, allocations: 307.8 kB / 401.1 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.02523, allocations: 169.8 kB / 401.3 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.02526, allocations: 12.66 kB / 401.3 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.02528, allocations: 49.97 kB / 401.3 MB, free: 1.289 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 1.553e-06/0.02528, allocations: 0 / 401.3 MB, free: 1.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002402/0.02768, allocations: 1.696 MB / 403 MB, free: 15.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.02772, allocations: 93.83 kB / 403.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.02815, allocations: 0.6746 MB / 403.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.02819, allocations: 37.7 kB / 403.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.02851, allocations: 0.678 MB / 404.5 MB, free: 14.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.02869, allocations: 285.6 kB / 404.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.02887, allocations: 188.1 kB / 405 MB, free: 13.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.02904, allocations: 0.6013 MB / 405.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.02926, allocations: 117.9 kB / 405.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.02957, allocations: 0.519 MB / 406.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.03013, allocations: 0.7243 MB / 406.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.03013, allocations: 4 kB / 406.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001614/0.03175, allocations: 1.057 MB / 408 MB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.03176, allocations: 12 kB / 408 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009903/0.03275, allocations: 0.6921 MB / 408.7 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.03388, allocations: 0.528 MB / 409.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.03419, allocations: 163.8 kB / 409.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005653/0.03985, allocations: 8.925 MB / 418.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.04022, allocations: 39.95 kB / 418.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.04026, allocations: 36.03 kB / 418.4 MB, free: 15.28 MB / 346.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.0002556/0.04052, allocations: 216.2 kB / 418.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.04063, allocations: 111.4 kB / 418.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008903/0.04152, allocations: 0.73 MB / 419.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.04152, allocations: 8 kB / 419.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.04153, allocations: 4 kB / 419.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.04153, allocations: 3.984 kB / 419.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.04326, allocations: 1.464 MB / 420.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.04326, allocations: 0 / 420.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.04349, allocations: 95.89 kB / 421 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005544/0.04404, allocations: 286.1 kB / 421.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.04408, allocations: 27.98 kB / 421.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004173/0.04826, allocations: 9.906 MB / 431.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.04826, allocations: 4 kB / 431.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.04929, allocations: 1.032 MB / 432.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.04968, allocations: 131.3 kB / 432.4 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/0.04975, allocations: 23.98 kB / 432.4 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.04995, allocations: 15.94 kB / 432.4 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.05003, allocations: 68.53 kB / 432.5 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.05006, allocations: 19.98 kB / 432.5 MB, free: 368 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002352/0.05029, allocations: 398.8 kB / 432.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05029, allocations: 0 / 432.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008142/0.05111, allocations: 336 kB / 433.2 MB, free: 15.64 MB / 362.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.0001233/0.05123, allocations: 128.1 kB / 433.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.05224, allocations: 1.339 MB / 434.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.05224, allocations: 0 / 434.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.05296, allocations: 1.178 MB / 435.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.05351, allocations: 183.2 kB / 436.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.05622, allocations: 2.278 MB / 438.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.05648, allocations: 343.2 kB / 438.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.05673, allocations: 107.3 kB / 438.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.057, allocations: 234.1 kB / 439 MB, free: 9.613 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.057, allocations: 0 / 439 MB, free: 9.613 MB / 362.7 MB Notification: Performance of Templates: time 0.01789/0.0749, allocations: 15.55 MB / 454.6 MB, free: 10.27 MB / 378.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.2047057589516044]