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.001436/0.001436, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001499/0.001499, allocations: 166.4 kB / 24.49 MB, free: 3.453 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.468/1.468, allocations: 177.2 MB / 204.9 MB, free: 9.043 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.1747/0.1747, allocations: 29.43 MB / 290.7 MB, free: 3.297 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.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.002103/0.002103, allocations: 64.19 kB / 431.2 MB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3524, allocations: 62.45 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007046/0.3594, allocations: 7.153 MB / 0.4891 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.3634, allocations: 2.822 MB / 0.4918 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003296/0.3637, allocations: 35.31 kB / 0.4918 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.3654, allocations: 0.719 MB / 0.4925 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.3667, allocations: 0.7059 MB / 0.4932 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.3675, allocations: 381.2 kB / 0.4936 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.3687, allocations: 1.353 MB / 0.4949 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005989/0.3693, allocations: 0.551 MB / 0.4955 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005233/0.3698, allocations: 0.5744 MB / 0.496 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007279/0.3705, allocations: 0.6414 MB / 0.4966 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.3706, allocations: 75.34 kB / 0.4967 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000704/0.3713, allocations: 0.4937 MB / 0.4972 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.3716, allocations: 454.8 kB / 0.4976 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.372, allocations: 430.8 kB / 0.498 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.3731, allocations: 1.434 MB / 0.4994 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3731, allocations: 2.906 kB / 0.4994 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3732, allocations: 0 / 0.4994 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.3732, allocations: 0 / 0.4994 GB, free: 27.84 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001847/0.375, allocations: 1.24 MB / 0.5007 GB, free: 27.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.375, allocations: 13.55 kB / 0.5007 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.3762, allocations: 224.3 kB / 0.5009 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.3775, allocations: 0.6689 MB / 0.5015 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.3775, allocations: 67.2 kB / 0.5016 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.3777, allocations: 102.1 kB / 0.5017 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.379, allocations: 1.097 MB / 0.5028 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.379, allocations: 3.156 kB / 0.5028 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/0.3791, allocations: 34.28 kB / 0.5028 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.3792, allocations: 78.2 kB / 0.5029 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.3804, allocations: 0.8638 MB / 0.5037 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.3842, allocations: 3.524 MB / 0.5072 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.3847, allocations: 331.3 kB / 0.5075 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.385, allocations: 266.5 kB / 0.5077 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.385, allocations: 14.41 kB / 0.5077 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.385, allocations: 38.12 kB / 0.5078 GB, free: 23.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 2.565e-06/0.3851, allocations: 7.922 kB / 0.5078 GB, free: 23.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=51): time 0.002413/0.3875, allocations: 1.656 MB / 0.5094 GB, free: 22.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3875, allocations: 87.41 kB / 0.5095 GB, free: 22.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.3879, allocations: 0.5261 MB / 0.51 GB, free: 21.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.388, allocations: 32.52 kB / 0.51 GB, free: 21.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3882, allocations: 495 kB / 0.5105 GB, free: 21.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.3883, allocations: 195.3 kB / 0.5107 GB, free: 21.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.3885, allocations: 141.4 kB / 0.5108 GB, free: 21.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.3885, allocations: 374.2 kB / 0.5112 GB, free: 20.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.3889, allocations: 249.6 kB / 0.5114 GB, free: 20.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.3892, allocations: 476.3 kB / 0.5119 GB, free: 20.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3903, allocations: 0.7838 MB / 0.5126 GB, free: 19.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3903, allocations: 2.344 kB / 0.5126 GB, free: 19.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002008/0.3923, allocations: 1.026 MB / 0.5136 GB, free: 19.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.3923, allocations: 7.656 kB / 0.5137 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001297/0.3936, allocations: 0.7106 MB / 0.5144 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006698/0.3943, allocations: 227.1 kB / 0.5146 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.3948, allocations: 152.9 kB / 0.5147 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.3994, allocations: 5.259 MB / 0.5198 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/0.4, allocations: 41.45 kB / 0.5199 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.4001, allocations: 35.95 kB / 0.5199 GB, free: 14.88 MB / 446.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.0004404/0.4005, allocations: 303.7 kB / 0.5202 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.4006, allocations: 72.2 kB / 0.5203 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009398/0.4016, allocations: 0.6075 MB / 0.5209 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.4016, allocations: 6.062 kB / 0.5209 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.4016, allocations: 0 / 0.5209 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4016, allocations: 4.312 kB / 0.5209 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.4038, allocations: 1.287 MB / 0.5221 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4038, allocations: 2.688 kB / 0.5221 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.4045, allocations: 128 kB / 0.5223 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.4045, allocations: 3.812 kB / 0.5223 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.4045, allocations: 21.02 kB / 0.5223 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.4045, allocations: 3.219 kB / 0.5223 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4045, allocations: 2.234 kB / 0.5223 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.4058, allocations: 0.9313 MB / 0.5232 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.406, allocations: 104.4 kB / 0.5233 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.4061, allocations: 16.55 kB / 0.5233 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.4064, allocations: 22.02 kB / 0.5233 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.4065, allocations: 36.72 kB / 0.5234 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.4065, allocations: 12.28 kB / 0.5234 GB, free: 13.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000414/0.407, allocations: 369.6 kB / 0.5237 GB, free: 13.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.407, allocations: 0 / 0.5237 GB, free: 13.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008628/0.4078, allocations: 236.2 kB / 0.524 GB, free: 12.99 MB / 446.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.0002635/0.4081, allocations: 144 kB / 0.5241 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.4097, allocations: 1.011 MB / 0.5251 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4097, allocations: 1.062 kB / 0.5251 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.4101, allocations: 248.3 kB / 0.5253 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/0.4109, allocations: 138.9 kB / 0.5255 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.4141, allocations: 2.066 MB / 0.5275 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.4147, allocations: 487.2 kB / 0.5279 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005038/0.4152, allocations: 188.1 kB / 0.5281 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.4154, allocations: 59.45 kB / 0.5282 GB, free: 10.8 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4154, allocations: 0 / 0.5282 GB, free: 10.8 MB / 446.1 MB Notification: Performance of Templates: time 0.01786/0.4333, allocations: 8.584 MB / 0.5366 GB, free: 9.777 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.207007667049766] Failed to read output from testmodel.py, exit status != 0: 0.44138497905805707 0.45206640299999995 0.07613965 Calling exit ...