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.001656/0.001656, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002037/0.002037, allocations: 163.4 kB / 23.95 MB, free: 4.156 MB / 14.72 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.492/1.492, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.1766/0.1766, allocations: 29.44 MB / 290.1 MB, free: 3.293 MB / 270.1 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 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.728e-05, allocations: 2.281 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01162/0.01165, allocations: 8.907 MB / 439.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007031/0.01868, allocations: 3.365 MB / 443 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007446/0.01942, allocations: 47.62 kB / 443.1 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003281/0.0227, allocations: 1.084 MB / 444.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.02531, allocations: 0.9245 MB / 445.1 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.02698, allocations: 0.5024 MB / 445.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002913/0.02989, allocations: 1.842 MB / 447.4 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.03109, allocations: 0.7472 MB / 448.2 MB, free: 436 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1972/0.2283, allocations: 1.033 MB / 449.2 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.2298, allocations: 0.8584 MB / 450 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.23, allocations: 105 kB / 450.1 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.2312, allocations: 0.5815 MB / 450.7 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006224/0.2318, allocations: 0.6803 MB / 451.4 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006839/0.2325, allocations: 498.3 kB / 451.9 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.2352, allocations: 1.947 MB / 453.8 MB, free: 16.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2352, allocations: 0 / 453.8 MB, free: 16.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2352, allocations: 0 / 453.8 MB, free: 16.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.424e-05/0.2353, allocations: 2.562 kB / 453.8 MB, free: 16.07 MB / 366.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.003349/0.2386, allocations: 1.585 MB / 455.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.2387, allocations: 14.36 kB / 455.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.2407, allocations: 323.5 kB / 455.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.2425, allocations: 0.8715 MB / 456.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.2426, allocations: 83.41 kB / 456.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.2429, allocations: 143.7 kB / 456.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.2454, allocations: 1.486 MB / 458.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.2454, allocations: 10.97 kB / 458.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.2455, allocations: 41.62 kB / 458.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003141/0.2458, allocations: 101.7 kB / 458.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.2479, allocations: 1.248 MB / 459.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006785/0.2547, allocations: 4.699 MB / 464.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.256, allocations: 0.5609 MB / 465 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/0.2569, allocations: 381.3 kB / 465.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.81e-05/0.2569, allocations: 13.7 kB / 465.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.257, allocations: 44.17 kB / 465.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 4.158e-06/0.257, allocations: 2.531 kB / 465.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.008172/0.2651, allocations: 3.194 MB / 468.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.2652, allocations: 85.58 kB / 468.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/0.266, allocations: 0.6882 MB / 469.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.2661, allocations: 43.59 kB / 469.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.2664, allocations: 0.6128 MB / 470.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.2665, allocations: 275 kB / 470.3 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.2668, allocations: 179.6 kB / 470.5 MB, free: 9.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2669, allocations: 405.6 kB / 470.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.2675, allocations: 392.3 kB / 471.3 MB, free: 8.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/0.2681, allocations: 0.6621 MB / 471.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.2695, allocations: 1.145 MB / 473.1 MB, free: 7.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.2695, allocations: 2.625 kB / 473.1 MB, free: 7.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003145/0.2726, allocations: 1.687 MB / 474.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2726, allocations: 11.91 kB / 474.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00239/0.275, allocations: 1.279 MB / 476.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.2768, allocations: 0.5742 MB / 476.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.2774, allocations: 171.3 kB / 476.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.2876, allocations: 9.655 MB / 486.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008297/0.2885, allocations: 52.94 kB / 486.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.777e-05/0.2886, allocations: 40 kB / 486.6 MB, free: 14.13 MB / 382.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.0007733/0.2893, allocations: 388.2 kB / 486.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.2895, allocations: 91.38 kB / 487 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.292, allocations: 1.236 MB / 488.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.292, allocations: 8 kB / 488.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.292, allocations: 4 kB / 488.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.292, allocations: 7.922 kB / 488.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/0.2963, allocations: 2.126 MB / 490.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.2963, allocations: 4 kB / 490.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.2968, allocations: 110.6 kB / 490.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.298, allocations: 372.1 kB / 490.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.298, allocations: 27.98 kB / 490.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008922/0.307, allocations: 8.625 MB / 499.5 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.307, allocations: 11.56 kB / 499.5 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/0.31, allocations: 1.657 MB / 0.4894 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.3104, allocations: 151.4 kB / 0.4896 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.3106, allocations: 23.98 kB / 0.4896 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.3111, allocations: 27.98 kB / 0.4896 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.3112, allocations: 72.12 kB / 0.4897 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.3113, allocations: 27.98 kB / 0.4897 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.312, allocations: 467 kB / 0.4902 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.312, allocations: 0 / 0.4902 GB, free: 14.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001569/0.3135, allocations: 363.9 kB / 0.4905 GB, free: 13.82 MB / 398.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.0003446/0.3139, allocations: 153.3 kB / 0.4907 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002583/0.3165, allocations: 1.526 MB / 0.4922 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3165, allocations: 128 / 0.4922 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.3182, allocations: 1.07 MB / 0.4932 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.3193, allocations: 191.6 kB / 0.4934 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.3236, allocations: 2.552 MB / 0.4959 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/0.3245, allocations: 0.6605 MB / 0.4965 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005644/0.325, allocations: 211.2 kB / 0.4967 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.3252, allocations: 60.48 kB / 0.4968 GB, free: 7.301 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3252, allocations: 4 kB / 0.4968 GB, free: 7.297 MB / 398.1 MB Notification: Performance of Templates: time 0.02804/0.3532, allocations: 14.74 MB / 0.5112 GB, free: 8.789 MB / 414.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.401558294892311] Failed to read output from testmodel.py, exit status != 0: 0.36321498081088066 0.37799986300000005 0.139327859 Calling exit ...