Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.00193/0.00193, allocations: 79.36 kB / 20.49 MB, free: 1.387 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.002402/0.002402, allocations: 164.2 kB / 23.74 MB, free: 4.574 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.469/1.469, allocations: 177.2 MB / 204.1 MB, free: 9.289 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.178/0.178, allocations: 29.43 MB / 289.9 MB, free: 3.391 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.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") [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.002213/0.002213, allocations: 71.89 kB / 430.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2984, allocations: 62.45 MB / 492.9 MB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009579/0.3079, allocations: 7.078 MB / 500 MB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.3128, allocations: 2.809 MB / 0.491 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.3131, allocations: 35.69 kB / 0.491 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.3153, allocations: 0.7662 MB / 0.4918 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.3169, allocations: 0.7038 MB / 0.4925 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.3179, allocations: 383.1 kB / 0.4928 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.3197, allocations: 1.332 MB / 0.4941 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008237/0.3206, allocations: 0.5535 MB / 0.4947 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.3216, allocations: 0.7788 MB / 0.4954 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009982/0.3226, allocations: 0.6384 MB / 0.4961 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.3227, allocations: 76 kB / 0.4961 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009116/0.3236, allocations: 0.4913 MB / 0.4966 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005093/0.3241, allocations: 466.8 kB / 0.4971 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.3247, allocations: 426.1 kB / 0.4975 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.3264, allocations: 1.448 MB / 0.4989 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3265, allocations: 4 kB / 0.4989 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3265, allocations: 0 / 0.4989 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3265, allocations: 0 / 0.4989 GB, free: 15.93 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002307/0.3288, allocations: 1.22 MB / 0.5001 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3288, allocations: 19.92 kB / 0.5001 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.3302, allocations: 220.1 kB / 0.5003 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.3317, allocations: 0.6538 MB / 0.5009 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/0.3318, allocations: 62.36 kB / 0.501 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.332, allocations: 99.88 kB / 0.5011 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.3338, allocations: 1.119 MB / 0.5022 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.3338, allocations: 0 / 0.5022 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.334, allocations: 32 kB / 0.5022 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.3342, allocations: 69.95 kB / 0.5023 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.3357, allocations: 0.8898 MB / 0.5031 GB, free: 11.45 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005533/0.3412, allocations: 3.547 MB / 0.5066 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.3418, allocations: 320.9 kB / 0.5069 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.3422, allocations: 249.7 kB / 0.5072 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3423, allocations: 4 kB / 0.5072 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.3423, allocations: 54.42 kB / 0.5072 GB, free: 7.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/0.3423, allocations: 0 / 0.5072 GB, free: 7.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004531/0.3469, allocations: 1.922 MB / 0.5091 GB, free: 5.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.3469, allocations: 81.61 kB / 0.5092 GB, free: 5.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/0.3476, allocations: 0.53 MB / 0.5097 GB, free: 4.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.3476, allocations: 33.7 kB / 0.5097 GB, free: 4.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.348, allocations: 483.7 kB / 0.5102 GB, free: 3.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.3482, allocations: 198.3 kB / 0.5104 GB, free: 3.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.3485, allocations: 154.5 kB / 0.5105 GB, free: 3.613 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.3487, allocations: 374.7 kB / 0.5109 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.3492, allocations: 269.8 kB / 0.5111 GB, free: 2.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/0.3499, allocations: 0.5042 MB / 0.5116 GB, free: 2.367 MB / 414.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/0.3532, allocations: 1.418 MB / 0.513 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3532, allocations: 0 / 0.513 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002072/0.3553, allocations: 1.014 MB / 0.514 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3553, allocations: 8 kB / 0.514 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001347/0.3567, allocations: 0.6794 MB / 0.5147 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.3572, allocations: 162.4 kB / 0.5148 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.3579, allocations: 175.7 kB / 0.515 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.3624, allocations: 4.462 MB / 0.5193 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.3629, allocations: 40.09 kB / 0.5194 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.363, allocations: 39.98 kB / 0.5194 GB, free: 9.934 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (87): * Single equations (assignments): 84 * 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): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005659/0.3636, allocations: 317.5 kB / 0.5197 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.3637, allocations: 63.58 kB / 0.5198 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.3649, allocations: 0.6405 MB / 0.5204 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3649, allocations: 8 kB / 0.5204 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3649, allocations: 0 / 0.5204 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.3649, allocations: 11.92 kB / 0.5204 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.3675, allocations: 1.316 MB / 0.5217 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3675, allocations: 4 kB / 0.5217 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/0.3681, allocations: 124 kB / 0.5218 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3681, allocations: 8 kB / 0.5218 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.3682, allocations: 19.92 kB / 0.5219 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3682, allocations: 4 kB / 0.5219 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.3682, allocations: 7.938 kB / 0.5219 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.3696, allocations: 0.9436 MB / 0.5228 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.3699, allocations: 99.59 kB / 0.5229 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.37, allocations: 15.98 kB / 0.5229 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.3703, allocations: 23.98 kB / 0.5229 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.3704, allocations: 36.38 kB / 0.523 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.3704, allocations: 20 kB / 0.523 GB, free: 6.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004614/0.3709, allocations: 354.8 kB / 0.5233 GB, free: 5.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3709, allocations: 0 / 0.5233 GB, free: 5.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009624/0.3718, allocations: 243.9 kB / 0.5236 GB, free: 5.594 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (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 (55): * Single equations (assignments): 54 * 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.000341/0.3722, allocations: 139 kB / 0.5237 GB, free: 5.449 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.3738, allocations: 0.9847 MB / 0.5246 GB, free: 4.426 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3739, allocations: 4.312 kB / 0.5247 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.3743, allocations: 254.7 kB / 0.5249 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.375, allocations: 140.1 kB / 0.525 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.3783, allocations: 1.958 MB / 0.5269 GB, free: 2.031 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.3789, allocations: 490.3 kB / 0.5274 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.3794, allocations: 197.3 kB / 0.5276 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.3796, allocations: 60.48 kB / 0.5277 GB, free: 1.27 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3796, allocations: 0 / 0.5277 GB, free: 1.27 MB / 430.1 MB Notification: Performance of Templates: time 0.01712/0.3967, allocations: 8.174 MB / 0.5356 GB, free: 9.211 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.099752474576235] Failed to read output from testmodel.py, exit status != 0: 0.40566351637244225 0.420545253 0.09085420000000001 Calling exit ...