Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.1 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 184.5 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5539/0.5539, allocations: 91.9 MB / 432.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 79.47 kB / 0.5734 GB, free: 33.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1676, allocations: 71.29 MB / 0.6431 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01287/0.1805, allocations: 13.87 MB / 0.6566 GB, free: 5.641 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008451/0.189, allocations: 3.523 MB / 0.66 GB, free: 2.102 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.1912, allocations: 28 kB / 0.6601 GB, free: 2.074 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.1927, allocations: 0.5615 MB / 0.6606 GB, free: 1.508 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004227/0.197, allocations: 1.438 MB / 0.662 GB, free: 68 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.2004, allocations: 1.529 MB / 0.6635 GB, free: 14.56 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004804/0.2052, allocations: 3.815 MB / 0.6672 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.2064, allocations: 0.8974 MB / 0.6681 GB, free: 9.781 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.2085, allocations: 1.564 MB / 0.6696 GB, free: 8.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.2106, allocations: 1.999 MB / 0.6716 GB, free: 6.203 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004525/0.2111, allocations: 296 kB / 0.6719 GB, free: 5.914 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008765/0.212, allocations: 439.8 kB / 0.6723 GB, free: 5.484 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.2126, allocations: 0.7857 MB / 0.6731 GB, free: 4.695 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.214, allocations: 1.654 MB / 0.6747 GB, free: 3.031 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.218, allocations: 4.056 MB / 0.6786 GB, free: 14.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.218, allocations: 0 / 0.6786 GB, free: 14.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.218, allocations: 0 / 0.6786 GB, free: 14.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.001e-05/0.2181, allocations: 0 / 0.6786 GB, free: 14.96 MB / 494.1 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.02291/0.241, allocations: 6.672 MB / 0.6852 GB, free: 8.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2411, allocations: 8.031 kB / 0.6852 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/0.2557, allocations: 2.279 MB / 0.6874 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.2595, allocations: 1.91 MB / 0.6893 GB, free: 3.922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006898/0.2602, allocations: 0.7291 MB / 0.69 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004212/0.2607, allocations: 223.8 kB / 0.6902 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005931/0.2666, allocations: 3.047 MB / 0.6932 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.2667, allocations: 4 kB / 0.6932 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.2669, allocations: 95.92 kB / 0.6932 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.267, allocations: 52 kB / 0.6933 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005627/0.2726, allocations: 2.8 MB / 0.696 GB, free: 12.77 MB / 0.4981 GB 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.01715/0.2898, allocations: 9.888 MB / 0.7057 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.3001, allocations: 4.228 MB / 0.7098 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003695/0.3038, allocations: 1.987 MB / 0.7118 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.304, allocations: 45.88 kB / 0.7118 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004122/0.3082, allocations: 2.248 MB / 0.714 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=250): time 3.667e-06/0.3082, allocations: 4 kB / 0.714 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1179/0.4261, allocations: 28.82 MB / 0.7421 GB, free: 12.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.4262, allocations: 184.2 kB / 0.7423 GB, free: 12.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003442/0.4297, allocations: 2.329 MB / 0.7446 GB, free: 10.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006712/0.4304, allocations: 73.7 kB / 0.7447 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008447/0.4312, allocations: 1.176 MB / 0.7458 GB, free: 9.012 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009582/0.4322, allocations: 0.8819 MB / 0.7467 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.4332, allocations: 0.5699 MB / 0.7472 GB, free: 7.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.4333, allocations: 301.1 kB / 0.7475 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004027/0.4374, allocations: 1.99 MB / 0.7495 GB, free: 5.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004271/0.4417, allocations: 2.358 MB / 0.7518 GB, free: 2.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0543/0.496, allocations: 14.37 MB / 0.7658 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/0.496, allocations: 3.938 kB / 0.7658 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.4356/0.9316, allocations: 12.6 MB / 0.7781 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.9318, allocations: 116.4 kB / 0.7782 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.366e-05/0.9319, allocations: 6.406 kB / 0.7782 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01903/0.9509, allocations: 5.44 MB / 0.7835 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/0.954, allocations: 0.5744 MB / 0.7841 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05205/1.006, allocations: 23.63 MB / 0.8072 GB, free: 97.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004576/1.011, allocations: 0.492 MB / 0.8077 GB, free: 96.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/1.011, allocations: 118.9 kB / 0.8078 GB, free: 96.64 MB / 0.5606 GB 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.0012/1.012, allocations: 0.5375 MB / 0.8083 GB, free: 96.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/1.013, allocations: 298.8 kB / 0.8086 GB, free: 95.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03519/1.048, allocations: 11.95 MB / 0.8202 GB, free: 83.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/1.048, allocations: 28 kB / 0.8203 GB, free: 83.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.315e-05/1.048, allocations: 22.81 kB / 0.8203 GB, free: 83.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-05/1.048, allocations: 19.89 kB / 0.8203 GB, free: 83.74 MB / 0.5606 GB 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.03992/1.088, allocations: 15.58 MB / 0.8355 GB, free: 68.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-05/1.088, allocations: 4 kB / 0.8355 GB, free: 68.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/1.09, allocations: 247.6 kB / 0.8358 GB, free: 67.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01598/1.106, allocations: 5.279 MB / 0.8409 GB, free: 62.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000856/1.107, allocations: 51.98 kB / 0.841 GB, free: 62.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05093/1.158, allocations: 24.92 MB / 0.8653 GB, free: 37.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.158, allocations: 0 / 0.8653 GB, free: 37.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04077/1.198, allocations: 14.36 MB / 0.8793 GB, free: 22.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.2, allocations: 418 kB / 0.8797 GB, free: 22.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000672/1.2, allocations: 44 kB / 0.8798 GB, free: 22.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.203, allocations: 303.6 kB / 0.8801 GB, free: 21.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002072/1.206, allocations: 0.5841 MB / 0.8806 GB, free: 21.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.206, allocations: 67.98 kB / 0.8807 GB, free: 21.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00202/1.208, allocations: 1.539 MB / 0.8822 GB, free: 19.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.282e-06/1.208, allocations: 0 / 0.8822 GB, free: 19.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003308/1.211, allocations: 1.194 MB / 0.8834 GB, free: 18.52 MB / 0.5606 GB 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.0004187/1.212, allocations: 171 kB / 0.8835 GB, free: 18.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0163/1.228, allocations: 6.793 MB / 0.8902 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.228, allocations: 8.125 kB / 0.8902 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01242/1.24, allocations: 4.401 MB / 0.8945 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/1.243, allocations: 270.4 kB / 0.8947 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009236/1.252, allocations: 5.555 MB / 0.9002 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/1.253, allocations: 1.82 MB / 0.9019 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009942/1.254, allocations: 191.4 kB / 0.9021 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/1.254, allocations: 0 / 0.9021 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of Templates: time 0.09497/1.349, allocations: 64.89 MB / 0.9655 GB, free: 14.18 MB / 0.6387 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)