Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00868/0.00868, allocations: 172.2 kB / 15.12 MB, free: 5.555 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.295/1.295, allocations: 223.2 MB / 239 MB, free: 1.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008272/0.0008272, allocations: 98.36 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4382/0.4382, allocations: 78.58 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 8 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 69.36 MB / 0.5558 GB, free: 38.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII): time 0.008318/0.3322, allocations: 11.55 MB / 0.567 GB, free: 33.36 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006155/0.3384, allocations: 3.41 MB / 0.5704 GB, free: 30.9 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.3399, allocations: 29.03 kB / 0.5704 GB, free: 30.9 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007359/0.3406, allocations: 361.4 kB / 0.5707 GB, free: 30.74 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.3433, allocations: 1.273 MB / 0.572 GB, free: 29.84 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.3458, allocations: 1.258 MB / 0.5732 GB, free: 29.2 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.3479, allocations: 2.201 MB / 0.5754 GB, free: 27.99 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006112/0.3485, allocations: 0.619 MB / 0.576 GB, free: 27.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008578/0.3494, allocations: 1.194 MB / 0.5771 GB, free: 27.12 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.3506, allocations: 1.597 MB / 0.5787 GB, free: 26.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.3508, allocations: 136 kB / 0.5788 GB, free: 26.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.3514, allocations: 250.5 kB / 0.5791 GB, free: 26.38 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.3517, allocations: 0.5478 MB / 0.5796 GB, free: 26.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.352, allocations: 0.4892 MB / 0.5801 GB, free: 25.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.3537, allocations: 2.582 MB / 0.5826 GB, free: 24.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3537, allocations: 0 / 0.5826 GB, free: 24.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3537, allocations: 3.938 kB / 0.5826 GB, free: 24.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.936e-05/0.3537, allocations: 0 / 0.5826 GB, free: 24.94 MB / 426.7 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.01842/0.3722, allocations: 5.82 MB / 0.5883 GB, free: 22.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.3722, allocations: 8.906 kB / 0.5883 GB, free: 22.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.3857, allocations: 2.273 MB / 0.5905 GB, free: 22.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.3882, allocations: 1.587 MB / 0.5921 GB, free: 21.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004798/0.3887, allocations: 0.6897 MB / 0.5927 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.3891, allocations: 203.5 kB / 0.5929 GB, free: 20.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005512/0.3946, allocations: 3.085 MB / 0.596 GB, free: 19.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.3946, allocations: 0 / 0.596 GB, free: 19.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.3949, allocations: 81.03 kB / 0.596 GB, free: 19.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.3949, allocations: 53.61 kB / 0.5961 GB, free: 19.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005873/0.4008, allocations: 2.88 MB / 0.5989 GB, free: 18.83 MB / 426.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.01653/0.4173, allocations: 10.21 MB / 0.6089 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/0.4291, allocations: 4.815 MB / 0.6136 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.4295, allocations: 38.56 kB / 0.6136 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.4295, allocations: 58.02 kB / 0.6137 GB, free: 11.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=230): time 4.068e-06/0.4295, allocations: 0 / 0.6137 GB, free: 11.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=230): time 0.117/0.5466, allocations: 32.32 MB / 0.6452 GB, free: 14.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.5467, allocations: 128.8 kB / 0.6453 GB, free: 13.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/0.5495, allocations: 2.013 MB / 0.6473 GB, free: 11.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006312/0.5501, allocations: 73.64 kB / 0.6474 GB, free: 11.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007654/0.5509, allocations: 1.093 MB / 0.6484 GB, free: 10.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009015/0.5518, allocations: 0.8086 MB / 0.6492 GB, free: 9.887 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.552, allocations: 60 kB / 0.6493 GB, free: 9.828 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5522, allocations: 424.2 kB / 0.6497 GB, free: 9.406 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004341/0.5566, allocations: 2.087 MB / 0.6517 GB, free: 7.316 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00459/0.5612, allocations: 2.457 MB / 0.6541 GB, free: 4.762 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/0.5657, allocations: 2.245 MB / 0.6563 GB, free: 2.496 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5658, allocations: 4 kB / 0.6563 GB, free: 2.492 MB / 458.7 MB Notification: Performance of matching and sorting (n=385) (initialization): time 0.04372/0.6095, allocations: 14.96 MB / 0.6709 GB, free: 3.484 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007806/0.6103, allocations: 2.708 MB / 0.6736 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.6103, allocations: 12 kB / 0.6736 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02124/0.6316, allocations: 6.48 MB / 0.6799 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/0.6341, allocations: 499.2 kB / 0.6804 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06624/0.7004, allocations: 27.9 MB / 0.7076 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004353/0.7047, allocations: 0.5363 MB / 0.7082 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/0.7051, allocations: 108 kB / 0.7083 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.7051, allocations: 8.719 kB / 0.7083 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04338/0.7485, allocations: 14.64 MB / 0.7226 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/0.7486, allocations: 4 kB / 0.7226 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02167/0.7703, allocations: 6.484 MB / 0.7289 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/0.7729, allocations: 483.3 kB / 0.7294 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06869/0.8416, allocations: 27.9 MB / 0.7566 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/0.8459, allocations: 0.4899 MB / 0.7571 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/0.8463, allocations: 108 kB / 0.7572 GB, free: 10.25 MB / 0.5573 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.8476, allocations: 0.5135 MB / 0.7577 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005407/0.8482, allocations: 268.6 kB / 0.758 GB, free: 9.461 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2453/1.093, allocations: 14.31 MB / 0.7719 GB, free: 161.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/1.094, allocations: 22.19 kB / 0.7719 GB, free: 161.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/1.094, allocations: 18.12 kB / 0.772 GB, free: 161.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.696e-05/1.094, allocations: 14.5 kB / 0.772 GB, free: 161.5 MB / 0.5573 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.045/1.139, allocations: 17.88 MB / 0.7894 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.139, allocations: 2.969 kB / 0.7894 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/1.14, allocations: 257.8 kB / 0.7897 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01852/1.159, allocations: 6.024 MB / 0.7956 GB, free: 160.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005421/1.159, allocations: 44.67 kB / 0.7956 GB, free: 160.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05311/1.212, allocations: 22.69 MB / 0.8178 GB, free: 152.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.213, allocations: 11.58 kB / 0.8178 GB, free: 152.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04342/1.256, allocations: 16.87 MB / 0.8343 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007968/1.257, allocations: 391.3 kB / 0.8346 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/1.257, allocations: 40 kB / 0.8347 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/1.26, allocations: 365.5 kB / 0.835 GB, free: 140.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001618/1.262, allocations: 0.541 MB / 0.8355 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.262, allocations: 63.98 kB / 0.8356 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001471/1.263, allocations: 1.303 MB / 0.8369 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/1.263, allocations: 0 / 0.8369 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004355/1.268, allocations: 1.871 MB / 0.8387 GB, free: 136.7 MB / 0.5573 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.0003737/1.268, allocations: 169.9 kB / 0.8389 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03167/1.3, allocations: 12.57 MB / 0.8511 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.3, allocations: 0 / 0.8511 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01222/1.312, allocations: 4.605 MB / 0.8556 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.313, allocations: 188.4 kB / 0.8558 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007463/1.321, allocations: 6.411 MB / 0.8621 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/1.322, allocations: 1.8 MB / 0.8638 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001244/1.323, allocations: 273.9 kB / 0.8641 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/1.324, allocations: 151.4 kB / 0.8642 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/1.324, allocations: 0 / 0.8642 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.08287/1.406, allocations: 73.77 MB / 0.9363 GB, free: 36.52 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)