Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.302/1.302, allocations: 223.2 MB / 238.9 MB, free: 5.566 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.001285/0.001285, allocations: 181.1 kB / 290.2 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.521/0.521, allocations: 79.44 MB / 420.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 12 kB / 0.489 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1246, allocations: 69.51 MB / 0.5569 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII): time 0.2339/0.3586, allocations: 11.57 MB / 0.5682 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006828/0.3655, allocations: 3.423 MB / 0.5715 GB, free: 33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.3676, allocations: 33.5 kB / 0.5715 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009639/0.3686, allocations: 350 kB / 0.5719 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003506/0.3721, allocations: 1.279 MB / 0.5731 GB, free: 31.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.3748, allocations: 1.262 MB / 0.5744 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003309/0.3781, allocations: 2.196 MB / 0.5765 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007898/0.3789, allocations: 0.6171 MB / 0.5771 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.3802, allocations: 1.202 MB / 0.5783 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.3815, allocations: 1.588 MB / 0.5798 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002396/0.3817, allocations: 136.5 kB / 0.58 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000577/0.3823, allocations: 254.5 kB / 0.5802 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.3827, allocations: 0.5491 MB / 0.5807 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.383, allocations: 497.8 kB / 0.5812 GB, free: 27.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.3849, allocations: 2.583 MB / 0.5837 GB, free: 27.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3849, allocations: 4 kB / 0.5837 GB, free: 27.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3849, allocations: 0 / 0.5837 GB, free: 27.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.425e-05/0.3849, allocations: 0 / 0.5837 GB, free: 27.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01931/0.4043, allocations: 5.814 MB / 0.5894 GB, free: 25.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4043, allocations: 12.03 kB / 0.5894 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.4191, allocations: 2.273 MB / 0.5917 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.4224, allocations: 1.596 MB / 0.5932 GB, free: 23.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005535/0.423, allocations: 0.6859 MB / 0.5939 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/0.4234, allocations: 204.8 kB / 0.5941 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006063/0.4295, allocations: 3.095 MB / 0.5971 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.4295, allocations: 0.7969 kB / 0.5971 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.4298, allocations: 76.09 kB / 0.5972 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.4298, allocations: 49.7 kB / 0.5972 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005863/0.4357, allocations: 2.883 MB / 0.6 GB, free: 21.06 MB / 430.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.01827/0.454, allocations: 10.2 MB / 0.61 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.4655, allocations: 4.811 MB / 0.6147 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/0.466, allocations: 44.61 kB / 0.6147 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4661, allocations: 56.5 kB / 0.6148 GB, free: 13.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=230): time 4.138e-06/0.4661, allocations: 0 / 0.6148 GB, free: 13.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=230): time 0.1116/0.5777, allocations: 32.32 MB / 0.6464 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.5778, allocations: 128.8 kB / 0.6465 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.5805, allocations: 2.017 MB / 0.6484 GB, free: 14.65 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007183/0.5812, allocations: 69.7 kB / 0.6485 GB, free: 14.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/0.582, allocations: 1.085 MB / 0.6496 GB, free: 13.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009651/0.583, allocations: 0.8164 MB / 0.6504 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.5832, allocations: 60 kB / 0.6504 GB, free: 12.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5834, allocations: 416.2 kB / 0.6508 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004156/0.5875, allocations: 2.095 MB / 0.6529 GB, free: 10.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/0.5919, allocations: 2.457 MB / 0.6553 GB, free: 7.523 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004393/0.5963, allocations: 2.251 MB / 0.6575 GB, free: 5.254 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.5964, allocations: 4 kB / 0.6575 GB, free: 5.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=385) (initialization): time 0.0418/0.6382, allocations: 14.96 MB / 0.6721 GB, free: 6.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.6394, allocations: 2.696 MB / 0.6747 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.6394, allocations: 7.938 kB / 0.6747 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0205/0.6599, allocations: 6.483 MB / 0.6811 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.6625, allocations: 491.3 kB / 0.6815 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06325/0.7258, allocations: 27.91 MB / 0.7088 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004384/0.7302, allocations: 0.5411 MB / 0.7093 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003685/0.7306, allocations: 108 kB / 0.7094 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.7306, allocations: 0 / 0.7094 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04236/0.773, allocations: 14.64 MB / 0.7237 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-05/0.7731, allocations: 8 kB / 0.7237 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02027/0.7934, allocations: 6.488 MB / 0.7301 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.796, allocations: 467.3 kB / 0.7305 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06578/0.8618, allocations: 27.9 MB / 0.7577 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/0.8661, allocations: 0.4977 MB / 0.7582 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/0.8664, allocations: 104 kB / 0.7583 GB, free: 13.1 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (294): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001332/0.8678, allocations: 0.5037 MB / 0.7588 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006054/0.8684, allocations: 272.6 kB / 0.7591 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3283/1.197, allocations: 14.31 MB / 0.7731 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/1.197, allocations: 23.56 kB / 0.7731 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.818e-05/1.197, allocations: 22.22 kB / 0.7731 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-05/1.197, allocations: 10.36 kB / 0.7731 GB, free: 159 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.04565/1.242, allocations: 17.88 MB / 0.7906 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.243, allocations: 0.9688 kB / 0.7906 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/1.244, allocations: 257 kB / 0.7908 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01954/1.264, allocations: 6.022 MB / 0.7967 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006426/1.265, allocations: 45.88 kB / 0.7967 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05823/1.323, allocations: 22.7 MB / 0.8189 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.323, allocations: 4.609 kB / 0.8189 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0433/1.366, allocations: 16.88 MB / 0.8354 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.367, allocations: 384.8 kB / 0.8358 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006696/1.368, allocations: 44 kB / 0.8358 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/1.371, allocations: 363.5 kB / 0.8361 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001815/1.373, allocations: 0.5403 MB / 0.8367 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/1.373, allocations: 64.47 kB / 0.8367 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001512/1.374, allocations: 1.306 MB / 0.838 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.51e-07/1.374, allocations: 0 / 0.838 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005236/1.38, allocations: 1.873 MB / 0.8398 GB, free: 140.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (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.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004416/1.38, allocations: 172.4 kB / 0.84 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03143/1.412, allocations: 12.57 MB / 0.8523 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.412, allocations: 0 / 0.8523 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/1.425, allocations: 4.602 MB / 0.8568 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.427, allocations: 186 kB / 0.8569 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008881/1.436, allocations: 6.411 MB / 0.8632 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009755/1.437, allocations: 1.8 MB / 0.865 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001409/1.438, allocations: 274.3 kB / 0.8652 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/1.439, allocations: 151.4 kB / 0.8654 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/1.439, allocations: 0 / 0.8654 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.09223/1.531, allocations: 73.79 MB / 0.9374 GB, free: 41.4 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)