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.001311/0.001311, 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.001418/0.001418, allocations: 209.8 kB / 24.5 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.418/1.418, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.1841/0.1841, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.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: 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.002009/0.002009, allocations: 75.88 kB / 493.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 62.45 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01379/0.331, allocations: 9.792 MB / 0.5528 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007537/0.3386, allocations: 3.66 MB / 0.5564 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.3399, allocations: 49.72 kB / 0.5564 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003578/0.3435, allocations: 1.129 MB / 0.5575 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.3469, allocations: 0.9097 MB / 0.5584 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.3486, allocations: 488.4 kB / 0.5589 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003192/0.3518, allocations: 1.816 MB / 0.5606 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.3532, allocations: 0.7628 MB / 0.5614 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.3548, allocations: 0.7783 MB / 0.5622 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.3566, allocations: 0.9734 MB / 0.5631 GB, free: 16 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00036/0.357, allocations: 104 kB / 0.5632 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.3586, allocations: 0.6317 MB / 0.5638 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008814/0.3595, allocations: 0.6506 MB / 0.5645 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.3607, allocations: 0.6997 MB / 0.5651 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.364, allocations: 1.93 MB / 0.567 GB, free: 11.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.364, allocations: 0 / 0.567 GB, free: 11.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.364, allocations: 0 / 0.567 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.532e-05/0.3641, allocations: 0 / 0.567 GB, free: 11.99 MB / 414.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.004743/0.3689, allocations: 1.599 MB / 0.5686 GB, free: 10.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.3689, allocations: 11.98 kB / 0.5686 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.3712, allocations: 315.7 kB / 0.5689 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.3741, allocations: 0.8696 MB / 0.5697 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/0.3741, allocations: 82.09 kB / 0.5698 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/0.3746, allocations: 139.8 kB / 0.57 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.3774, allocations: 1.489 MB / 0.5714 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.3775, allocations: 11.94 kB / 0.5714 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.3776, allocations: 47.98 kB / 0.5715 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003285/0.3779, allocations: 98.16 kB / 0.5716 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.3802, allocations: 1.258 MB / 0.5728 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009084/0.3893, allocations: 5.535 MB / 0.5782 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009768/0.3903, allocations: 0.5595 MB / 0.5787 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005668/0.3909, allocations: 375.6 kB / 0.5791 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.715e-05/0.3909, allocations: 16.55 kB / 0.5791 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.391, allocations: 35.22 kB / 0.5792 GB, free: 15.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 2.855e-06/0.391, allocations: 0 / 0.5792 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.007526/0.3985, allocations: 3.217 MB / 0.5823 GB, free: 11.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.3986, allocations: 89.7 kB / 0.5824 GB, free: 11.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.3996, allocations: 0.7352 MB / 0.5831 GB, free: 10.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.3997, allocations: 37.7 kB / 0.5831 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/0.4002, allocations: 0.5975 MB / 0.5837 GB, free: 10.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.4004, allocations: 289.6 kB / 0.584 GB, free: 10 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.4007, allocations: 186.5 kB / 0.5842 GB, free: 9.816 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.401, allocations: 402.7 kB / 0.5846 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006479/0.4016, allocations: 389.8 kB / 0.5849 GB, free: 9.035 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000861/0.4025, allocations: 0.6613 MB / 0.5856 GB, free: 8.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.4041, allocations: 1.148 MB / 0.5867 GB, free: 6.984 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.4041, allocations: 0 / 0.5867 GB, free: 6.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003544/0.4076, allocations: 1.694 MB / 0.5883 GB, free: 5.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4077, allocations: 14.91 kB / 0.5884 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002706/0.4104, allocations: 1.278 MB / 0.5896 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.4123, allocations: 0.5808 MB / 0.5902 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.4129, allocations: 171.7 kB / 0.5903 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.4257, allocations: 9.944 MB / 0.6001 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.4266, allocations: 51.92 kB / 0.6001 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.4267, allocations: 43.98 kB / 0.6001 GB, free: 8.688 MB / 446.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.0007686/0.4274, allocations: 389.4 kB / 0.6005 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.4277, allocations: 91.39 kB / 0.6006 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.4302, allocations: 1.248 MB / 0.6018 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.4302, allocations: 8 kB / 0.6018 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.4302, allocations: 4 kB / 0.6018 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.4302, allocations: 7.969 kB / 0.6018 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.4354, allocations: 2.363 MB / 0.6041 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.4354, allocations: 0 / 0.6041 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.4362, allocations: 99.88 kB / 0.6042 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.4384, allocations: 380 kB / 0.6046 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/0.4386, allocations: 31.97 kB / 0.6046 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/0.4488, allocations: 8.789 MB / 0.6132 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.4489, allocations: 7.938 kB / 0.6132 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/0.4522, allocations: 1.671 MB / 0.6149 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006002/0.4528, allocations: 159.2 kB / 0.615 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.453, allocations: 31.94 kB / 0.615 GB, free: 8.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.4535, allocations: 19.98 kB / 0.6151 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.4537, allocations: 72.47 kB / 0.6151 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.4538, allocations: 27.98 kB / 0.6152 GB, free: 8.539 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008268/0.4546, allocations: 0.5029 MB / 0.6156 GB, free: 8.039 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4546, allocations: 0 / 0.6156 GB, free: 8.039 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001572/0.4561, allocations: 363.9 kB / 0.616 GB, free: 7.684 MB / 462.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.0003872/0.4565, allocations: 151.2 kB / 0.6161 GB, free: 7.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003012/0.4595, allocations: 1.529 MB / 0.6176 GB, free: 5.953 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.4596, allocations: 4 kB / 0.6176 GB, free: 5.949 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/0.4615, allocations: 1.076 MB / 0.6187 GB, free: 4.805 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.4627, allocations: 201.7 kB / 0.6189 GB, free: 4.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/0.4697, allocations: 2.853 MB / 0.6217 GB, free: 1.699 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.471, allocations: 1.258 MB / 0.6229 GB, free: 420 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.4712, allocations: 71.41 kB / 0.623 GB, free: 348 kB / 462.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4712, allocations: 3.938 kB / 0.623 GB, free: 344 kB / 462.1 MB Notification: Performance of Templates: time 0.04714/0.5184, allocations: 32.96 MB / 0.6552 GB, free: 15.36 MB / 0.4981 GB " [Timeout remaining time 659] 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: 10.849177045049146] Failed to read output from testmodel.py, exit status != 0: 0.5290015230420977 0.544782297 0.17720716699999994 Calling exit ...