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.001596/0.001596, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00181/0.00181, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.1859/0.1859, allocations: 38.53 MB / 353.2 MB, free: 12.59 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.002048/0.002048, allocations: 67.89 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3078, allocations: 62.46 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01073/0.3186, allocations: 7.734 MB / 0.5508 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00575/0.3243, allocations: 3.065 MB / 0.5538 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006011/0.3249, allocations: 37.19 kB / 0.5538 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.3271, allocations: 0.7604 MB / 0.5546 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.3291, allocations: 0.7039 MB / 0.5552 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.3303, allocations: 387.6 kB / 0.5556 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.3325, allocations: 1.349 MB / 0.5569 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009934/0.3335, allocations: 0.5624 MB / 0.5575 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.3347, allocations: 0.573 MB / 0.558 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.336, allocations: 0.6737 MB / 0.5587 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.3362, allocations: 80 kB / 0.5588 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.3373, allocations: 0.5303 MB / 0.5593 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000497/0.3378, allocations: 458.8 kB / 0.5597 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005641/0.3384, allocations: 0.5092 MB / 0.5602 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.3402, allocations: 1.44 MB / 0.5616 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3402, allocations: 3.938 kB / 0.5616 GB, free: 1.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3402, allocations: 0 / 0.5616 GB, free: 1.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.3402, allocations: 0 / 0.5616 GB, free: 1.539 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.002441/0.3427, allocations: 1.232 MB / 0.5628 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3427, allocations: 11.98 kB / 0.5628 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.344, allocations: 220.1 kB / 0.5631 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.3456, allocations: 0.6732 MB / 0.5637 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.3456, allocations: 62.36 kB / 0.5638 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.3459, allocations: 103.9 kB / 0.5639 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.3476, allocations: 1.096 MB / 0.5649 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.3476, allocations: 7.938 kB / 0.565 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.3477, allocations: 32 kB / 0.565 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.3479, allocations: 65.97 kB / 0.565 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.3493, allocations: 0.8743 MB / 0.5659 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005508/0.3548, allocations: 3.895 MB / 0.5697 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.3554, allocations: 334.7 kB / 0.57 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.3558, allocations: 263 kB / 0.5703 GB, free: 8.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.3558, allocations: 8.438 kB / 0.5703 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3559, allocations: 39 kB / 0.5703 GB, free: 8.309 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.985e-06/0.3559, allocations: 0 / 0.5703 GB, free: 8.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003112/0.359, allocations: 1.667 MB / 0.5719 GB, free: 6.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.359, allocations: 85.55 kB / 0.572 GB, free: 6.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/0.3598, allocations: 0.5822 MB / 0.5726 GB, free: 5.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.3598, allocations: 33.7 kB / 0.5726 GB, free: 5.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.3602, allocations: 479.7 kB / 0.5731 GB, free: 5.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.3603, allocations: 198.4 kB / 0.5733 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.3606, allocations: 150.6 kB / 0.5734 GB, free: 5.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.3608, allocations: 374.8 kB / 0.5738 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.3612, allocations: 257.8 kB / 0.574 GB, free: 4.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.3618, allocations: 472.9 kB / 0.5745 GB, free: 3.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.3628, allocations: 0.7792 MB / 0.5752 GB, free: 2.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3628, allocations: 4 kB / 0.5752 GB, free: 2.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002036/0.3648, allocations: 1.029 MB / 0.5762 GB, free: 1.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3649, allocations: 8 kB / 0.5763 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001367/0.3662, allocations: 0.7183 MB / 0.577 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007266/0.367, allocations: 226.3 kB / 0.5772 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.3675, allocations: 159.7 kB / 0.5773 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005993/0.3735, allocations: 5.356 MB / 0.5826 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.3741, allocations: 39.91 kB / 0.5826 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.3741, allocations: 31.98 kB / 0.5826 GB, free: 11.04 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.0004973/0.3746, allocations: 301.4 kB / 0.5829 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.3748, allocations: 79.52 kB / 0.583 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.3758, allocations: 0.6124 MB / 0.5836 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.3758, allocations: 4 kB / 0.5836 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3758, allocations: 4 kB / 0.5836 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3758, allocations: 8.266 kB / 0.5836 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.3785, allocations: 1.454 MB / 0.585 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3785, allocations: 0 / 0.585 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.3791, allocations: 131.7 kB / 0.5851 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.3791, allocations: 7.938 kB / 0.5852 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.3791, allocations: 12 kB / 0.5852 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/0.3791, allocations: 12.14 kB / 0.5852 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3792, allocations: 4 kB / 0.5852 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.3805, allocations: 0.9323 MB / 0.5861 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.3808, allocations: 119.3 kB / 0.5862 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.182e-05/0.3809, allocations: 19.94 kB / 0.5862 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.3812, allocations: 15.98 kB / 0.5862 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.3813, allocations: 32.38 kB / 0.5863 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.3813, allocations: 19.98 kB / 0.5863 GB, free: 7.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005324/0.3819, allocations: 419 kB / 0.5867 GB, free: 6.762 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3819, allocations: 0 / 0.5867 GB, free: 6.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009253/0.3828, allocations: 235.9 kB / 0.5869 GB, free: 6.531 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.0003267/0.3831, allocations: 138.7 kB / 0.587 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.3849, allocations: 1.015 MB / 0.588 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.385, allocations: 384 / 0.588 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.3853, allocations: 258.3 kB / 0.5883 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.3862, allocations: 149.8 kB / 0.5884 GB, free: 4.949 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.3899, allocations: 2.144 MB / 0.5905 GB, free: 2.746 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/0.3907, allocations: 1.079 MB / 0.5916 GB, free: 1.637 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.3909, allocations: 55.44 kB / 0.5916 GB, free: 1.582 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3909, allocations: 0 / 0.5916 GB, free: 1.582 MB / 430.1 MB Notification: Performance of Templates: time 0.02327/0.4142, allocations: 15.39 MB / 0.6067 GB, free: 2.199 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.768662664107978] Failed to read output from testmodel.py, exit status != 0: 0.4234765279106796 0.43882264400000004 0.095195943 Calling exit ...