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.001341/0.001341, allocations: 73.8 kB / 21.24 MB, free: 0.5547 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.001433/0.001433, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.453/1.453, allocations: 177.2 MB / 204.9 MB, free: 8.973 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.1771/0.1771, allocations: 29.43 MB / 290.7 MB, free: 3.242 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: 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.002262/0.002262, allocations: 67.91 kB / 431.2 MB, free: 3.168 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3149, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008051/0.3229, allocations: 9.001 MB / 0.4909 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005133/0.3281, allocations: 3.383 MB / 0.4942 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.3287, allocations: 41.38 kB / 0.4942 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.3312, allocations: 1.061 MB / 0.4952 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.3331, allocations: 0.9193 MB / 0.4961 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3342, allocations: 495 kB / 0.4966 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.3358, allocations: 1.812 MB / 0.4984 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007462/0.3365, allocations: 0.7422 MB / 0.4991 GB, free: 27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009417/0.3375, allocations: 0.7923 MB / 0.4999 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.3386, allocations: 0.9149 MB / 0.5008 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.3387, allocations: 104.8 kB / 0.5009 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009053/0.3396, allocations: 0.5795 MB / 0.5014 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.34, allocations: 0.649 MB / 0.5021 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004725/0.3405, allocations: 0.5887 MB / 0.5026 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.3419, allocations: 1.936 MB / 0.5045 GB, free: 25.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3419, allocations: 2.812 kB / 0.5045 GB, free: 25.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3419, allocations: 0 / 0.5045 GB, free: 25.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.342, allocations: 0 / 0.5045 GB, free: 25.01 MB / 446.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.002432/0.3444, allocations: 1.589 MB / 0.5061 GB, free: 24.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3444, allocations: 13.27 kB / 0.5061 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.3462, allocations: 323.9 kB / 0.5064 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.3479, allocations: 0.8814 MB / 0.5073 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.3479, allocations: 81.38 kB / 0.5073 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002673/0.3482, allocations: 137.7 kB / 0.5075 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.3499, allocations: 1.49 MB / 0.5089 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.35, allocations: 10.83 kB / 0.5089 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-05/0.3501, allocations: 41.12 kB / 0.509 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000293/0.3504, allocations: 99.34 kB / 0.5091 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.352, allocations: 1.249 MB / 0.5103 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006478/0.3585, allocations: 4.709 MB / 0.5149 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007964/0.3593, allocations: 0.5531 MB / 0.5154 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005153/0.3598, allocations: 378.3 kB / 0.5158 GB, free: 18.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.3599, allocations: 8.906 kB / 0.5158 GB, free: 18.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.3599, allocations: 43.34 kB / 0.5158 GB, free: 18.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=67): time 3.256e-06/0.3599, allocations: 0 / 0.5158 GB, free: 18.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.007218/0.3671, allocations: 3.202 MB / 0.519 GB, free: 17.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.3672, allocations: 89.97 kB / 0.5191 GB, free: 17.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/0.368, allocations: 0.6878 MB / 0.5197 GB, free: 17.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.368, allocations: 37.11 kB / 0.5198 GB, free: 17.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.3683, allocations: 0.6142 MB / 0.5204 GB, free: 16.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.3685, allocations: 289.7 kB / 0.5206 GB, free: 16.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.3687, allocations: 182.5 kB / 0.5208 GB, free: 16.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3688, allocations: 397.5 kB / 0.5212 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/0.3694, allocations: 387.7 kB / 0.5216 GB, free: 15.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/0.3701, allocations: 0.6602 MB / 0.5222 GB, free: 15.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.3715, allocations: 1.143 MB / 0.5233 GB, free: 14.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3715, allocations: 6.25 kB / 0.5233 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003239/0.3747, allocations: 1.684 MB / 0.525 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3748, allocations: 8.531 kB / 0.525 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002602/0.3774, allocations: 1.291 MB / 0.5262 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.3792, allocations: 0.5772 MB / 0.5268 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.3799, allocations: 179.1 kB / 0.527 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.3899, allocations: 9.669 MB / 0.5364 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.3908, allocations: 51.83 kB / 0.5365 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.3908, allocations: 42.64 kB / 0.5365 GB, free: 6.492 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.0005725/0.3914, allocations: 386.7 kB / 0.5369 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.3915, allocations: 87.31 kB / 0.537 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.3937, allocations: 1.241 MB / 0.5382 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3937, allocations: 7.812 kB / 0.5382 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.3937, allocations: 4.875 kB / 0.5382 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.3937, allocations: 4.484 kB / 0.5382 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.3976, allocations: 2.128 MB / 0.5403 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3976, allocations: 2.297 kB / 0.5403 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.398, allocations: 108.9 kB / 0.5404 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.3992, allocations: 369.3 kB / 0.5407 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.3992, allocations: 22.89 kB / 0.5408 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007113/0.4063, allocations: 8.638 MB / 0.5492 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4063, allocations: 2.312 kB / 0.5492 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.4093, allocations: 1.669 MB / 0.5508 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.4098, allocations: 153.1 kB / 0.551 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.4099, allocations: 28.8 kB / 0.551 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.4104, allocations: 29.53 kB / 0.551 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.4105, allocations: 60.86 kB / 0.5511 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.4106, allocations: 27.38 kB / 0.5511 GB, free: 12.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006539/0.4112, allocations: 472.2 kB / 0.5516 GB, free: 12.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4112, allocations: 0 / 0.5516 GB, free: 12.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001578/0.4128, allocations: 363.8 kB / 0.5519 GB, free: 12.15 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.000324/0.4131, allocations: 142.7 kB / 0.552 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.4158, allocations: 1.551 MB / 0.5536 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4158, allocations: 0 / 0.5536 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001697/0.4175, allocations: 1.068 MB / 0.5546 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4185, allocations: 189.7 kB / 0.5548 GB, free: 9.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/0.4232, allocations: 2.749 MB / 0.5575 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008433/0.424, allocations: 0.6566 MB / 0.5581 GB, free: 5.809 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005736/0.4246, allocations: 207.2 kB / 0.5583 GB, free: 5.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.4248, allocations: 68.48 kB / 0.5584 GB, free: 5.535 MB / 462.1 MB Notification: Performance of SimCode: time 1.392e-06/0.4248, allocations: 0 / 0.5584 GB, free: 5.535 MB / 462.1 MB Notification: Performance of Templates: time 0.0278/0.4526, allocations: 14.77 MB / 0.5728 GB, free: 6.93 MB / 478.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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.496299398946576] Failed to read output from testmodel.py, exit status != 0: 0.4612193818902597 0.475476102 0.13045515400000002 Calling exit ...