Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 174.9 kB / 16.07 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 239.7 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007913/0.0007913, allocations: 95.12 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5114/0.5114, allocations: 78.41 MB / 419.6 MB, free: 9.809 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 12.22 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2518, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.009024/0.2609, allocations: 14.6 MB / 0.5688 GB, free: 5.566 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.2678, allocations: 3.648 MB / 0.5723 GB, free: 1.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.27, allocations: 39.94 kB / 0.5724 GB, free: 1.871 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.2711, allocations: 445.1 kB / 0.5728 GB, free: 1.434 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.2741, allocations: 1.243 MB / 0.574 GB, free: 196 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.277, allocations: 1.426 MB / 0.5754 GB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003465/0.2805, allocations: 3.609 MB / 0.5789 GB, free: 11.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009975/0.2815, allocations: 0.7924 MB / 0.5797 GB, free: 10.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.283, allocations: 1.356 MB / 0.581 GB, free: 8.953 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.2847, allocations: 1.815 MB / 0.5828 GB, free: 7.129 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.285, allocations: 148 kB / 0.5829 GB, free: 6.984 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000658/0.2857, allocations: 279.8 kB / 0.5832 GB, free: 6.711 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.2862, allocations: 0.6218 MB / 0.5838 GB, free: 6.086 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.2873, allocations: 1.486 MB / 0.5853 GB, free: 4.59 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.2897, allocations: 3.003 MB / 0.5882 GB, free: 1.578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2897, allocations: 0 / 0.5882 GB, free: 1.578 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2897, allocations: 0 / 0.5882 GB, free: 1.578 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.122e-05/0.2898, allocations: 4 kB / 0.5882 GB, free: 1.574 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0199/0.3097, allocations: 6.034 MB / 0.5941 GB, free: 11.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3097, allocations: 8.031 kB / 0.5941 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/0.3243, allocations: 2.275 MB / 0.5963 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/0.328, allocations: 1.898 MB / 0.5982 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006472/0.3287, allocations: 0.7368 MB / 0.5989 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004744/0.3292, allocations: 219.9 kB / 0.5991 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005924/0.3351, allocations: 3.051 MB / 0.6021 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.3352, allocations: 0 / 0.6021 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.3354, allocations: 87.94 kB / 0.6022 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.3355, allocations: 52 kB / 0.6022 GB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005733/0.3412, allocations: 2.803 MB / 0.605 GB, free: 40 kB / 410.7 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.0173/0.3585, allocations: 9.962 MB / 0.6147 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.3688, allocations: 4.224 MB / 0.6188 GB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003961/0.3728, allocations: 1.987 MB / 0.6208 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.3732, allocations: 37.97 kB / 0.6208 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004307/0.3775, allocations: 2.254 MB / 0.623 GB, free: 12.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.458e-06/0.3775, allocations: 0 / 0.623 GB, free: 12.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.1185/0.496, allocations: 28.83 MB / 0.6511 GB, free: 36 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.4962, allocations: 184.2 kB / 0.6513 GB, free: 15.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/0.4995, allocations: 2.325 MB / 0.6536 GB, free: 13.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005132/0.5001, allocations: 81.62 kB / 0.6537 GB, free: 13.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008159/0.5009, allocations: 1.184 MB / 0.6548 GB, free: 12.19 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009492/0.5019, allocations: 0.8819 MB / 0.6557 GB, free: 11.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004255/0.5023, allocations: 296.7 kB / 0.656 GB, free: 11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.5024, allocations: 301.1 kB / 0.6563 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004368/0.5067, allocations: 1.99 MB / 0.6582 GB, free: 8.711 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004731/0.5115, allocations: 2.358 MB / 0.6605 GB, free: 6.262 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05589/0.5674, allocations: 14.38 MB / 0.6745 GB, free: 7.652 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.5675, allocations: 7.938 kB / 0.6745 GB, free: 7.645 MB / 490.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.2556/0.823, allocations: 12.6 MB / 0.6869 GB, free: 107.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.766e-05/0.8232, allocations: 115.7 kB / 0.687 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.8232, allocations: 12.72 kB / 0.687 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01839/0.8416, allocations: 5.437 MB / 0.6923 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/0.8444, allocations: 0.5735 MB / 0.6928 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04939/0.8938, allocations: 21.76 MB / 0.7141 GB, free: 97.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/0.8977, allocations: 492.3 kB / 0.7146 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/0.8981, allocations: 124 kB / 0.7147 GB, free: 96.86 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.8991, allocations: 0.5325 MB / 0.7152 GB, free: 96.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/0.8996, allocations: 303.3 kB / 0.7155 GB, free: 96.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03577/0.9354, allocations: 11.95 MB / 0.7272 GB, free: 84.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.9354, allocations: 24 kB / 0.7272 GB, free: 84.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/0.9355, allocations: 20 kB / 0.7272 GB, free: 83.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.31e-05/0.9355, allocations: 12.58 kB / 0.7272 GB, free: 83.98 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.03842/0.9739, allocations: 15.59 MB / 0.7424 GB, free: 68.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/0.974, allocations: 0 / 0.7424 GB, free: 68.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.9754, allocations: 251.6 kB / 0.7427 GB, free: 68.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02524/1.001, allocations: 5.289 MB / 0.7478 GB, free: 62.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006594/1.001, allocations: 55.92 kB / 0.7479 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0865/1.088, allocations: 22.67 MB / 0.77 GB, free: 39.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.088, allocations: 0 / 0.77 GB, free: 39.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0524/1.14, allocations: 14.34 MB / 0.784 GB, free: 25.15 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/1.141, allocations: 419.7 kB / 0.7844 GB, free: 24.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004102/1.142, allocations: 48 kB / 0.7845 GB, free: 24.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002704/1.144, allocations: 299.6 kB / 0.7848 GB, free: 24.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001849/1.146, allocations: 0.5644 MB / 0.7853 GB, free: 23.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/1.146, allocations: 67.98 kB / 0.7854 GB, free: 23.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001804/1.148, allocations: 1.543 MB / 0.7869 GB, free: 22.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/1.148, allocations: 0 / 0.7869 GB, free: 22.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002762/1.151, allocations: 1.19 MB / 0.7881 GB, free: 21.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003565/1.151, allocations: 185.5 kB / 0.7882 GB, free: 20.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01547/1.167, allocations: 6.669 MB / 0.7947 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.167, allocations: 0 / 0.7947 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01176/1.179, allocations: 4.411 MB / 0.7991 GB, free: 9.586 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.181, allocations: 265.2 kB / 0.7993 GB, free: 9.324 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008153/1.189, allocations: 6.679 MB / 0.8058 GB, free: 2.609 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009451/1.19, allocations: 1.83 MB / 0.8076 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008855/1.191, allocations: 179.4 kB / 0.8078 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/1.191, allocations: 0 / 0.8078 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of Templates: time 0.07259/1.263, allocations: 64.27 MB / 0.8705 GB, free: 268 kB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)