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.001611/0.001611, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001814/0.001814, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1842/0.1842, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.00215/0.00215, allocations: 75.88 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.346, allocations: 62.46 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.0129/0.3589, allocations: 9.003 MB / 0.5512 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007166/0.3661, allocations: 3.382 MB / 0.5545 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009058/0.367, allocations: 45.16 kB / 0.5546 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.3701, allocations: 1.061 MB / 0.5556 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.373, allocations: 0.9074 MB / 0.5565 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.3747, allocations: 491 kB / 0.557 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003076/0.3778, allocations: 1.814 MB / 0.5587 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.3789, allocations: 0.7393 MB / 0.5595 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.3803, allocations: 0.7977 MB / 0.5602 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.3817, allocations: 0.9188 MB / 0.5611 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.3819, allocations: 104 kB / 0.5612 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.3833, allocations: 0.581 MB / 0.5618 GB, free: 332 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006689/0.3839, allocations: 0.6467 MB / 0.5624 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007148/0.3846, allocations: 0.5833 MB / 0.563 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.3874, allocations: 1.93 MB / 0.5649 GB, free: 13.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3874, allocations: 4 kB / 0.5649 GB, free: 13.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3874, allocations: 0 / 0.5649 GB, free: 13.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.841e-05/0.3875, allocations: 0 / 0.5649 GB, free: 13.15 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.003403/0.3909, allocations: 1.599 MB / 0.5665 GB, free: 11.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.3909, allocations: 11.98 kB / 0.5665 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.3927, allocations: 315.8 kB / 0.5668 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.3948, allocations: 0.8735 MB / 0.5676 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/0.3949, allocations: 78.11 kB / 0.5677 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.3952, allocations: 139.9 kB / 0.5678 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.3976, allocations: 1.493 MB / 0.5693 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.3976, allocations: 7.953 kB / 0.5693 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3978, allocations: 47.98 kB / 0.5693 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003117/0.3981, allocations: 102.1 kB / 0.5694 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.4002, allocations: 1.246 MB / 0.5707 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007944/0.4081, allocations: 4.697 MB / 0.5752 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/0.4091, allocations: 0.5587 MB / 0.5758 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005793/0.4097, allocations: 383.5 kB / 0.5762 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.4097, allocations: 8.656 kB / 0.5762 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.4097, allocations: 39.22 kB / 0.5762 GB, free: 1.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 3.076e-06/0.4098, allocations: 0 / 0.5762 GB, free: 1.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007834/0.4176, allocations: 3.205 MB / 0.5793 GB, free: 13.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.4177, allocations: 85.89 kB / 0.5794 GB, free: 13.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.4187, allocations: 0.6916 MB / 0.5801 GB, free: 13.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.4187, allocations: 33.7 kB / 0.5801 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005/0.4192, allocations: 0.6169 MB / 0.5807 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.4195, allocations: 281.6 kB / 0.581 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.4198, allocations: 182.6 kB / 0.5812 GB, free: 11.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.42, allocations: 394.7 kB / 0.5815 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/0.4207, allocations: 393.8 kB / 0.5819 GB, free: 11.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009095/0.4216, allocations: 0.6613 MB / 0.5826 GB, free: 10.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.4232, allocations: 1.144 MB / 0.5837 GB, free: 9.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.4233, allocations: 4 kB / 0.5837 GB, free: 9.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003669/0.4269, allocations: 1.686 MB / 0.5853 GB, free: 7.453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.427, allocations: 12 kB / 0.5853 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002814/0.4298, allocations: 1.286 MB / 0.5866 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.4318, allocations: 0.5692 MB / 0.5872 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.4324, allocations: 179.7 kB / 0.5873 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.4458, allocations: 9.666 MB / 0.5968 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009275/0.4468, allocations: 47.92 kB / 0.5968 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.4469, allocations: 47.98 kB / 0.5969 GB, free: 11.21 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.0008599/0.4478, allocations: 385.3 kB / 0.5972 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.448, allocations: 91.44 kB / 0.5973 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.4506, allocations: 1.236 MB / 0.5985 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.4506, allocations: 8 kB / 0.5985 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.4506, allocations: 4 kB / 0.5985 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.4506, allocations: 3.984 kB / 0.5985 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/0.4554, allocations: 2.133 MB / 0.6006 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.4554, allocations: 4 kB / 0.6006 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.4558, allocations: 103.9 kB / 0.6007 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.457, allocations: 376 kB / 0.6011 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.4571, allocations: 27.98 kB / 0.6011 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009492/0.4666, allocations: 8.632 MB / 0.6095 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.4666, allocations: 7.938 kB / 0.6095 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.4698, allocations: 1.659 MB / 0.6112 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/0.4704, allocations: 151.4 kB / 0.6113 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.4707, allocations: 23.92 kB / 0.6113 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.4713, allocations: 35.97 kB / 0.6114 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.4715, allocations: 64.48 kB / 0.6114 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/0.4715, allocations: 23.98 kB / 0.6114 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008499/0.4724, allocations: 467 kB / 0.6119 GB, free: 11.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4724, allocations: 0 / 0.6119 GB, free: 11.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001735/0.4741, allocations: 363.9 kB / 0.6122 GB, free: 10.77 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.0004154/0.4745, allocations: 150.8 kB / 0.6124 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002967/0.4775, allocations: 1.54 MB / 0.6139 GB, free: 9.027 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.4775, allocations: 4.062 kB / 0.6139 GB, free: 9.023 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.4793, allocations: 1.06 MB / 0.6149 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.4807, allocations: 197.6 kB / 0.6151 GB, free: 7.703 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/0.4862, allocations: 2.747 MB / 0.6178 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.4873, allocations: 0.6681 MB / 0.6184 GB, free: 4.203 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000662/0.488, allocations: 207.2 kB / 0.6186 GB, free: 3.996 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.4882, allocations: 67.42 kB / 0.6187 GB, free: 3.93 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4882, allocations: 0 / 0.6187 GB, free: 3.93 MB / 462.1 MB Notification: Performance of Templates: time 0.03121/0.5194, allocations: 16.4 MB / 0.6347 GB, free: 3.695 MB / 478.1 MB " [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: 5.927026437595487] Failed to read output from testmodel.py, exit status != 0: 0.5295119415968657 0.545103961 0.154117039 Calling exit ...