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.001702/0.001702, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001819/0.001819, allocations: 210 kB / 24.48 MB, free: 3.938 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.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.754 MB / 206.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.19/0.19, allocations: 38.56 MB / 353.2 MB, free: 12.29 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 70.41 kB / 493.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3157, allocations: 62.46 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009977/0.3257, allocations: 7.156 MB / 0.5502 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006098/0.3318, allocations: 2.813 MB / 0.5529 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006891/0.3325, allocations: 37.5 kB / 0.5529 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.3347, allocations: 0.7225 MB / 0.5536 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.3369, allocations: 0.7054 MB / 0.5543 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.338, allocations: 376.8 kB / 0.5547 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.3399, allocations: 1.351 MB / 0.556 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008854/0.3408, allocations: 0.5464 MB / 0.5565 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009132/0.3417, allocations: 0.576 MB / 0.5571 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.3427, allocations: 0.6461 MB / 0.5577 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3429, allocations: 76 kB / 0.5578 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3439, allocations: 495.1 kB / 0.5583 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004799/0.3444, allocations: 458.8 kB / 0.5587 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.3449, allocations: 430.1 kB / 0.5591 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.3469, allocations: 1.44 MB / 0.5605 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3469, allocations: 3.984 kB / 0.5605 GB, free: 2.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3469, allocations: 4 kB / 0.5605 GB, free: 2.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.3469, allocations: 0 / 0.5605 GB, free: 2.348 MB / 398.1 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.002475/0.3494, allocations: 1.238 MB / 0.5618 GB, free: 1.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3494, allocations: 11.98 kB / 0.5618 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.3507, allocations: 212.1 kB / 0.562 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.3524, allocations: 0.6655 MB / 0.5626 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.3525, allocations: 62.38 kB / 0.5627 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.3528, allocations: 107.9 kB / 0.5628 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.3545, allocations: 1.096 MB / 0.5639 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.3546, allocations: 12 kB / 0.5639 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.3546, allocations: 32 kB / 0.5639 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/0.3548, allocations: 69.97 kB / 0.564 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.3563, allocations: 0.8704 MB / 0.5648 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00579/0.3621, allocations: 3.514 MB / 0.5682 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.3628, allocations: 345.5 kB / 0.5686 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.3632, allocations: 261.2 kB / 0.5688 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.3632, allocations: 8.375 kB / 0.5688 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.3633, allocations: 39 kB / 0.5689 GB, free: 9.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 3.616e-06/0.3633, allocations: 0 / 0.5689 GB, free: 9.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003242/0.3665, allocations: 1.66 MB / 0.5705 GB, free: 7.828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.3666, allocations: 85.55 kB / 0.5706 GB, free: 7.727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/0.3673, allocations: 0.5261 MB / 0.5711 GB, free: 7.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.3673, allocations: 33.7 kB / 0.5711 GB, free: 7.152 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.3677, allocations: 491.7 kB / 0.5716 GB, free: 6.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.3679, allocations: 198.3 kB / 0.5718 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.3681, allocations: 138.6 kB / 0.5719 GB, free: 6.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.3684, allocations: 374.9 kB / 0.5723 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.3688, allocations: 253.8 kB / 0.5725 GB, free: 5.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/0.3694, allocations: 476.9 kB / 0.573 GB, free: 5.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.3705, allocations: 0.7753 MB / 0.5737 GB, free: 4.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3705, allocations: 4 kB / 0.5737 GB, free: 4.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002215/0.3727, allocations: 1.029 MB / 0.5747 GB, free: 3.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3727, allocations: 8 kB / 0.5747 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001417/0.3742, allocations: 0.7183 MB / 0.5754 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007656/0.3749, allocations: 222.3 kB / 0.5756 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.3755, allocations: 151.7 kB / 0.5758 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006335/0.3818, allocations: 5.271 MB / 0.5809 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.3825, allocations: 39.97 kB / 0.581 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.957e-05/0.3826, allocations: 28 kB / 0.581 GB, free: 12.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005789/0.3832, allocations: 309.5 kB / 0.5813 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.3833, allocations: 67.58 kB / 0.5814 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.3845, allocations: 0.6039 MB / 0.582 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.3845, allocations: 4 kB / 0.582 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.3845, allocations: 0 / 0.582 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3845, allocations: 3.984 kB / 0.582 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.3872, allocations: 1.287 MB / 0.5832 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.3872, allocations: 7.984 kB / 0.5832 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006268/0.3878, allocations: 119.9 kB / 0.5833 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/0.3878, allocations: 4 kB / 0.5833 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/0.3879, allocations: 20.14 kB / 0.5834 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.3879, allocations: 11.94 kB / 0.5834 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3879, allocations: 0 / 0.5834 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.3894, allocations: 0.9362 MB / 0.5843 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.3897, allocations: 103.5 kB / 0.5844 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.3898, allocations: 12 kB / 0.5844 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.3902, allocations: 23.98 kB / 0.5844 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3903, allocations: 40.31 kB / 0.5845 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.3903, allocations: 15.98 kB / 0.5845 GB, free: 8.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000517/0.3908, allocations: 362.8 kB / 0.5848 GB, free: 8.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3908, allocations: 0 / 0.5848 GB, free: 8.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009628/0.3918, allocations: 235.9 kB / 0.585 GB, free: 8.215 MB / 430.1 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 0.0003656/0.3922, allocations: 142.3 kB / 0.5852 GB, free: 8.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.3941, allocations: 1.007 MB / 0.5862 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3941, allocations: 0 / 0.5862 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.3945, allocations: 258.7 kB / 0.5864 GB, free: 6.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008114/0.3953, allocations: 133 kB / 0.5865 GB, free: 6.656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.3993, allocations: 2.136 MB / 0.5886 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/0.4, allocations: 486.5 kB / 0.5891 GB, free: 3.957 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.4002, allocations: 63.44 kB / 0.5891 GB, free: 3.895 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4002, allocations: 0 / 0.5891 GB, free: 3.895 MB / 430.1 MB Notification: Performance of Templates: time 0.02437/0.4246, allocations: 15.46 MB / 0.6042 GB, free: 4.438 MB / 446.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.624789167195559] Failed to read output from testmodel.py, exit status != 0: 0.4340030839666724 0.449394332 0.099136785 Calling exit ...