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.001335/0.001335, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001518/0.001518, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.1783/0.1783, allocations: 38.53 MB / 353.2 MB, free: 12.57 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.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.001999/0.001999, allocations: 71.89 kB / 493.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2984, allocations: 62.46 MB / 0.5432 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009329/0.3077, allocations: 7.661 MB / 0.5507 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.3128, allocations: 3.073 MB / 0.5537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.3132, allocations: 37.59 kB / 0.5538 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.3154, allocations: 0.8006 MB / 0.5545 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.3171, allocations: 0.7043 MB / 0.5552 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.3181, allocations: 393.1 kB / 0.5556 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.3198, allocations: 1.327 MB / 0.5569 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008246/0.3206, allocations: 0.5746 MB / 0.5575 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007558/0.3214, allocations: 0.5735 MB / 0.558 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.3224, allocations: 0.6724 MB / 0.5587 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.3225, allocations: 76 kB / 0.5587 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009685/0.3235, allocations: 0.542 MB / 0.5593 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.3239, allocations: 470.8 kB / 0.5597 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005498/0.3245, allocations: 0.5053 MB / 0.5602 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.3262, allocations: 1.444 MB / 0.5616 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.3262, allocations: 4 kB / 0.5616 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3262, allocations: 0 / 0.5616 GB, free: 1.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.3262, allocations: 0 / 0.5616 GB, free: 1.613 MB / 398.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.0022/0.3284, allocations: 1.22 MB / 0.5628 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3285, allocations: 15.98 kB / 0.5628 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.3297, allocations: 212.1 kB / 0.563 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.3312, allocations: 0.6421 MB / 0.5637 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.3313, allocations: 62.36 kB / 0.5637 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/0.3315, allocations: 111.8 kB / 0.5638 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.3332, allocations: 1.111 MB / 0.5649 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.3333, allocations: 0 / 0.5649 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.3333, allocations: 32 kB / 0.5649 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/0.3335, allocations: 69.97 kB / 0.565 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.3349, allocations: 0.8937 MB / 0.5659 GB, free: 13.14 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.005355/0.3403, allocations: 3.976 MB / 0.5698 GB, free: 8.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.3408, allocations: 323.8 kB / 0.5701 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.3412, allocations: 257.6 kB / 0.5703 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.3413, allocations: 7.938 kB / 0.5703 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3413, allocations: 34.56 kB / 0.5704 GB, free: 8.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.033e-06/0.3413, allocations: 0 / 0.5704 GB, free: 8.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004133/0.3454, allocations: 1.928 MB / 0.5722 GB, free: 6.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.3455, allocations: 81.55 kB / 0.5723 GB, free: 6.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008807/0.3464, allocations: 0.5616 MB / 0.5729 GB, free: 5.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.3464, allocations: 37.7 kB / 0.5729 GB, free: 5.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.3469, allocations: 499.7 kB / 0.5734 GB, free: 5.148 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.3471, allocations: 194.4 kB / 0.5736 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.3474, allocations: 146.5 kB / 0.5737 GB, free: 4.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.3476, allocations: 386.7 kB / 0.5741 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006086/0.3482, allocations: 265.8 kB / 0.5743 GB, free: 4.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008414/0.3491, allocations: 0.5081 MB / 0.5748 GB, free: 3.543 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.0037/0.3528, allocations: 1.406 MB / 0.5762 GB, free: 2.035 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3528, allocations: 8 kB / 0.5762 GB, free: 2.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001889/0.3547, allocations: 1.022 MB / 0.5772 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3547, allocations: 16.06 kB / 0.5772 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001234/0.3559, allocations: 0.6713 MB / 0.5779 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005149/0.3564, allocations: 166.4 kB / 0.578 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.357, allocations: 179.7 kB / 0.5782 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/0.3614, allocations: 4.538 MB / 0.5826 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.3619, allocations: 35.97 kB / 0.5827 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.362, allocations: 32 kB / 0.5827 GB, free: 10.99 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.0004938/0.3624, allocations: 321.5 kB / 0.583 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3626, allocations: 79.64 kB / 0.5831 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.3637, allocations: 0.6433 MB / 0.5837 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3637, allocations: 8 kB / 0.5837 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.3637, allocations: 0 / 0.5837 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3637, allocations: 3.984 kB / 0.5837 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.3662, allocations: 1.486 MB / 0.5852 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3662, allocations: 4 kB / 0.5852 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.3669, allocations: 128 kB / 0.5853 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3669, allocations: 4 kB / 0.5853 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.3669, allocations: 12 kB / 0.5853 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.476e-05/0.3669, allocations: 7.938 kB / 0.5853 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3669, allocations: 0 / 0.5853 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3683, allocations: 0.9664 MB / 0.5863 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.3685, allocations: 103.6 kB / 0.5864 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/0.3686, allocations: 19.95 kB / 0.5864 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.369, allocations: 23.97 kB / 0.5864 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.369, allocations: 40.31 kB / 0.5864 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.3691, allocations: 16 kB / 0.5865 GB, free: 7.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004958/0.3696, allocations: 411 kB / 0.5869 GB, free: 6.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3696, allocations: 3.938 kB / 0.5869 GB, free: 6.609 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007675/0.3703, allocations: 231.9 kB / 0.5871 GB, free: 6.383 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.0003024/0.3706, allocations: 142.8 kB / 0.5872 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.3723, allocations: 0.9918 MB / 0.5882 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3723, allocations: 0 / 0.5882 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.3727, allocations: 250.3 kB / 0.5884 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/0.3735, allocations: 150 kB / 0.5886 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.3769, allocations: 2.059 MB / 0.5906 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.3776, allocations: 1.078 MB / 0.5916 GB, free: 1.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.3779, allocations: 71.42 kB / 0.5917 GB, free: 1.539 MB / 430.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3779, allocations: 0 / 0.5917 GB, free: 1.539 MB / 430.1 MB Notification: Performance of Templates: time 0.02138/0.3992, allocations: 15.42 MB / 0.6068 GB, free: 2.121 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: 9.684103070059791] Failed to read output from testmodel.py, exit status != 0: 0.407696294831112 0.42207213699999996 0.092742562 Calling exit ...