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.001368/0.001368, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001474/0.001474, allocations: 209.5 kB / 24.48 MB, free: 3.938 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.1915/0.1915, allocations: 38.55 MB / 353.2 MB, free: 12.29 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.002169/0.002169, allocations: 75.88 kB / 493.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2945, allocations: 62.46 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009852/0.3043, allocations: 7.093 MB / 0.5501 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005833/0.3101, allocations: 2.828 MB / 0.5529 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006091/0.3108, allocations: 33.47 kB / 0.5529 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.3131, allocations: 0.7583 MB / 0.5536 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.3155, allocations: 0.7022 MB / 0.5543 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3168, allocations: 386 kB / 0.5547 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.319, allocations: 1.33 MB / 0.556 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009406/0.3199, allocations: 0.5545 MB / 0.5565 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009967/0.3209, allocations: 0.5832 MB / 0.5571 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.322, allocations: 0.6384 MB / 0.5577 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.3221, allocations: 72 kB / 0.5578 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.3232, allocations: 0.4952 MB / 0.5583 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004878/0.3236, allocations: 474.8 kB / 0.5587 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005182/0.3242, allocations: 426 kB / 0.5591 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.3261, allocations: 1.448 MB / 0.5605 GB, free: 2.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3261, allocations: 0 / 0.5605 GB, free: 2.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3261, allocations: 0 / 0.5605 GB, free: 2.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.3261, allocations: 0 / 0.5605 GB, free: 2.352 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.002377/0.3284, allocations: 1.224 MB / 0.5617 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3285, allocations: 11.98 kB / 0.5618 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.3298, allocations: 212.1 kB / 0.562 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.3315, allocations: 0.646 MB / 0.5626 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.3315, allocations: 62.38 kB / 0.5626 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.3318, allocations: 107.8 kB / 0.5627 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.3336, allocations: 1.111 MB / 0.5638 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.3336, allocations: 0 / 0.5638 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/0.3337, allocations: 35.98 kB / 0.5639 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/0.3339, allocations: 73.95 kB / 0.5639 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.3354, allocations: 0.886 MB / 0.5648 GB, free: 13.88 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.005621/0.341, allocations: 3.545 MB / 0.5683 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.3417, allocations: 317 kB / 0.5686 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.3421, allocations: 249.6 kB / 0.5688 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.3421, allocations: 11.98 kB / 0.5688 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3421, allocations: 38.5 kB / 0.5689 GB, free: 9.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 3.126e-06/0.3421, allocations: 7.938 kB / 0.5689 GB, free: 9.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004486/0.3466, allocations: 1.924 MB / 0.5707 GB, free: 7.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.3467, allocations: 85.55 kB / 0.5708 GB, free: 7.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.3474, allocations: 0.522 MB / 0.5713 GB, free: 6.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.3474, allocations: 37.7 kB / 0.5714 GB, free: 6.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.3478, allocations: 487.7 kB / 0.5718 GB, free: 6.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.3479, allocations: 198.3 kB / 0.572 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.3482, allocations: 150.7 kB / 0.5722 GB, free: 6.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3484, allocations: 378.7 kB / 0.5725 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.3488, allocations: 269.8 kB / 0.5728 GB, free: 5.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/0.3495, allocations: 0.5003 MB / 0.5733 GB, free: 4.809 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.003344/0.3529, allocations: 1.418 MB / 0.5747 GB, free: 3.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.3529, allocations: 4 kB / 0.5747 GB, free: 3.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002083/0.3549, allocations: 1.01 MB / 0.5756 GB, free: 2.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.355, allocations: 8 kB / 0.5757 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001273/0.3562, allocations: 0.6791 MB / 0.5763 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/0.3568, allocations: 162.7 kB / 0.5765 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.3574, allocations: 175.7 kB / 0.5766 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/0.3619, allocations: 4.462 MB / 0.581 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.3625, allocations: 39.91 kB / 0.581 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.3625, allocations: 39.98 kB / 0.5811 GB, free: 12.37 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.0005247/0.363, allocations: 321.5 kB / 0.5814 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3631, allocations: 63.58 kB / 0.5814 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.3642, allocations: 0.6391 MB / 0.5821 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3642, allocations: 8 kB / 0.5821 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3642, allocations: 3.938 kB / 0.5821 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3642, allocations: 7.922 kB / 0.5821 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.3667, allocations: 1.307 MB / 0.5834 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3667, allocations: 0 / 0.5834 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.3673, allocations: 127.9 kB / 0.5835 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.3673, allocations: 4 kB / 0.5835 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.3674, allocations: 15.98 kB / 0.5835 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.3674, allocations: 7.938 kB / 0.5835 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3674, allocations: 8.188 kB / 0.5835 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.3688, allocations: 0.9508 MB / 0.5844 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.369, allocations: 95.64 kB / 0.5845 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3691, allocations: 19.94 kB / 0.5846 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.3695, allocations: 19.98 kB / 0.5846 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.3695, allocations: 36.38 kB / 0.5846 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.3696, allocations: 20.12 kB / 0.5846 GB, free: 8.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004497/0.37, allocations: 358.8 kB / 0.585 GB, free: 8.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.37, allocations: 0 / 0.585 GB, free: 8.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009079/0.3709, allocations: 235.9 kB / 0.5852 GB, free: 8.039 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.000327/0.3713, allocations: 143 kB / 0.5853 GB, free: 7.891 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.3729, allocations: 0.9871 MB / 0.5863 GB, free: 6.871 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3729, allocations: 0 / 0.5863 GB, free: 6.871 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.3734, allocations: 251.8 kB / 0.5865 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.3741, allocations: 144.2 kB / 0.5867 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.3777, allocations: 2.054 MB / 0.5887 GB, free: 4.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.3783, allocations: 486.3 kB / 0.5891 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.3785, allocations: 63.42 kB / 0.5892 GB, free: 3.824 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3785, allocations: 3.938 kB / 0.5892 GB, free: 3.82 MB / 430.1 MB Notification: Performance of Templates: time 0.02379/0.4023, allocations: 15.5 MB / 0.6043 GB, free: 4.312 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.724737776909024] Failed to read output from testmodel.py, exit status != 0: 0.41141911409795284 0.427096919 0.097759011 Calling exit ...