Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.0006587/0.0006587, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009128/0.001571, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007003/0.0007003, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009204/0.001621, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9234/0.9234, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07651/0.9999, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1136/0.1136, allocations: 29.43 MB / 273.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1203/0.2339, allocations: 9.528 MB / 283.1 MB, free: 12.82 MB / 282.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.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.557e-06/9.97e-06, allocations: 3.516 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.005352/0.005362, allocations: 6.62 MB / 291.1 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.008929, allocations: 3.013 MB / 294.1 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/0.009241, allocations: 37.75 kB / 294.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.00981, allocations: 309.9 kB / 294.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.011, allocations: 0.7444 MB / 295.1 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006965/0.0117, allocations: 398.2 kB / 295.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.0131, allocations: 1.426 MB / 297 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005461/0.01365, allocations: 0.5531 MB / 297.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008224/0.01447, allocations: 0.8741 MB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/0.01522, allocations: 0.6038 MB / 299 MB, free: 68 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.643e-05/0.01531, allocations: 72.05 kB / 299.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.01583, allocations: 399.1 kB / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.01611, allocations: 446.9 kB / 299.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.01638, allocations: 299.4 kB / 300.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007814/0.01716, allocations: 0.8759 MB / 301.1 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.01717, allocations: 0 / 301.1 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01717, allocations: 0 / 301.1 MB, free: 14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.01719, allocations: 0 / 301.1 MB, free: 14 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001332/0.01852, allocations: 1.382 MB / 302.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.01855, allocations: 8.031 kB / 302.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006526/0.0192, allocations: 301.8 kB / 302.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.01987, allocations: 0.5633 MB / 303.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.0199, allocations: 62.36 kB / 303.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.02003, allocations: 104.6 kB / 303.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.02064, allocations: 0.6659 MB / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.02066, allocations: 7.922 kB / 304.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.0207, allocations: 36 kB / 304.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.719e-05/0.02079, allocations: 73.95 kB / 304.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.02114, allocations: 281.6 kB / 304.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.0236, allocations: 3.032 MB / 307.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.02383, allocations: 218.7 kB / 307.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.02393, allocations: 106.1 kB / 307.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.02395, allocations: 8.5 kB / 307.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.02398, allocations: 39.06 kB / 307.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.664e-06/0.02398, allocations: 0 / 307.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001086/0.02507, allocations: 0.8144 MB / 308.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.0251, allocations: 89.55 kB / 308.8 MB, free: 5.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.02537, allocations: 470.9 kB / 309.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.0254, allocations: 33.7 kB / 309.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.02555, allocations: 429.1 kB / 309.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/0.02565, allocations: 198.3 kB / 309.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.02576, allocations: 138.5 kB / 310.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.02586, allocations: 378.6 kB / 310.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.02595, allocations: 69.97 kB / 310.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.02614, allocations: 309.8 kB / 310.8 MB, free: 3.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.0265, allocations: 475.6 kB / 311.3 MB, free: 3.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.02651, allocations: 4 kB / 311.3 MB, free: 3.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0006744/0.02718, allocations: 0.5399 MB / 311.8 MB, free: 2.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.0272, allocations: 8 kB / 311.8 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.0272, allocations: 4.469 kB / 311.8 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.02762, allocations: 188.9 kB / 312 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.02797, allocations: 179.7 kB / 312.2 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.03037, allocations: 4.1 MB / 316.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.03058, allocations: 20 kB / 316.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.0306, allocations: 28 kB / 316.3 MB, free: 13.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.03074, allocations: 160.4 kB / 316.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.0308, allocations: 51.98 kB / 316.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.0311, allocations: 317 kB / 316.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.03111, allocations: 11.92 kB / 316.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.03111, allocations: 0 / 316.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.03113, allocations: 7.984 kB / 316.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/0.03198, allocations: 0.8363 MB / 317.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.03199, allocations: 0 / 317.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.03238, allocations: 153.1 kB / 317.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.03249, allocations: 79.55 kB / 317.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.03249, allocations: 4 kB / 317.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.03251, allocations: 12 kB / 317.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.03252, allocations: 16.08 kB / 318 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.03252, allocations: 0 / 318 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.03292, allocations: 0.5405 MB / 318.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.03297, allocations: 16 kB / 318.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.0331, allocations: 12 kB / 318.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.03314, allocations: 36.38 kB / 318.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.03316, allocations: 15.98 kB / 318.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.0333, allocations: 196.4 kB / 318.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0333, allocations: 0 / 318.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003972/0.0337, allocations: 216 kB / 319 MB, free: 11.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.435e-05/0.03379, allocations: 97.69 kB / 319.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006603/0.03445, allocations: 0.757 MB / 319.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.988e-05/0.03447, allocations: 12.48 kB / 319.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.03463, allocations: 162.4 kB / 320 MB, free: 9.961 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007301/0.03536, allocations: 1.18 MB / 321.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.04783, allocations: 1.623 MB / 322.8 MB, free: 6.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.04799, allocations: 246.8 kB / 323.1 MB, free: 6.633 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.04819, allocations: 93.53 kB / 323.1 MB, free: 6.539 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.04843, allocations: 177.2 kB / 323.3 MB, free: 6.363 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04843, allocations: 0 / 323.3 MB, free: 6.363 MB / 314.7 MB Notification: Performance of Templates: time 0.01098/0.0594, allocations: 8.856 MB / 332.2 MB, free: 13.66 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7398176603019238]