Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.512 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.001283/0.001283, allocations: 168.5 kB / 291.3 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5365/0.5365, allocations: 91.92 MB / 434.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004154, allocations: 12 kB / 0.5054 GB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3907, allocations: 72.47 MB / 0.5762 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.009291/0.4001, allocations: 13.84 MB / 0.5897 GB, free: 26.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007765/0.4079, allocations: 3.588 MB / 0.5932 GB, free: 24.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.4113, allocations: 34.94 kB / 0.5932 GB, free: 24.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.4132, allocations: 440.6 kB / 0.5937 GB, free: 23.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005231/0.4184, allocations: 1.218 MB / 0.5948 GB, free: 23.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.4219, allocations: 1.416 MB / 0.5962 GB, free: 22.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005719/0.4276, allocations: 3.516 MB / 0.5997 GB, free: 20.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.4295, allocations: 0.7868 MB / 0.6004 GB, free: 20.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/0.4325, allocations: 1.326 MB / 0.6017 GB, free: 19.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/0.436, allocations: 1.781 MB / 0.6035 GB, free: 18.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.4374, allocations: 143.9 kB / 0.6036 GB, free: 18.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.4397, allocations: 269.4 kB / 0.6039 GB, free: 18.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.4412, allocations: 0.6069 MB / 0.6044 GB, free: 18.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003628/0.4448, allocations: 1.489 MB / 0.6059 GB, free: 17.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.4502, allocations: 2.944 MB / 0.6088 GB, free: 16.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4502, allocations: 1.219 kB / 0.6088 GB, free: 16.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.4502, allocations: 0 / 0.6088 GB, free: 16.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002282/0.4505, allocations: 0 / 0.6088 GB, free: 16.47 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02587/0.4763, allocations: 6.122 MB / 0.6148 GB, free: 14.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.4764, allocations: 10.03 kB / 0.6148 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.493, allocations: 2.296 MB / 0.617 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006217/0.4993, allocations: 1.868 MB / 0.6188 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009886/0.5003, allocations: 0.7511 MB / 0.6196 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.5018, allocations: 218.8 kB / 0.6198 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.5138, allocations: 3.232 MB / 0.6229 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.514, allocations: 0 / 0.6229 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008493/0.5148, allocations: 86.23 kB / 0.623 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.272e-05/0.5149, allocations: 50.69 kB / 0.6231 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009561/0.5245, allocations: 2.982 MB / 0.626 GB, free: 9.695 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.02485/0.5494, allocations: 10.18 MB / 0.6359 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/0.5627, allocations: 4.868 MB / 0.6407 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005658/0.5685, allocations: 2.172 MB / 0.6428 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.569, allocations: 37.97 kB / 0.6428 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00631/0.5753, allocations: 2.433 MB / 0.6452 GB, free: 6.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=248): time 6.793e-06/0.5754, allocations: 4 kB / 0.6452 GB, free: 6.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=248): time 0.1379/0.7133, allocations: 34.81 MB / 0.6792 GB, free: 3.164 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.7135, allocations: 184.2 kB / 0.6794 GB, free: 2.945 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005155/0.7186, allocations: 2.273 MB / 0.6816 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/0.7197, allocations: 77.77 kB / 0.6817 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.721, allocations: 1.16 MB / 0.6828 GB, free: 15.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001864/0.7229, allocations: 0.8665 MB / 0.6836 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.7242, allocations: 288.5 kB / 0.6839 GB, free: 14.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7243, allocations: 301.1 kB / 0.6842 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006069/0.7304, allocations: 2.158 MB / 0.6863 GB, free: 11.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006221/0.7366, allocations: 2.521 MB / 0.6888 GB, free: 9.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06215/0.7988, allocations: 15.46 MB / 0.7039 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-05/0.7989, allocations: 4 kB / 0.7039 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.05096/0.8499, allocations: 15.32 MB / 0.7188 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.85, allocations: 110.8 kB / 0.7189 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.8501, allocations: 8 kB / 0.719 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02058/0.8707, allocations: 6.277 MB / 0.7251 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/0.8739, allocations: 0.5656 MB / 0.7256 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06793/0.9419, allocations: 24.5 MB / 0.7496 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005822/0.9478, allocations: 0.583 MB / 0.7501 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009044/0.9487, allocations: 116 kB / 0.7502 GB, free: 9.723 MB / 0.545 GB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.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 (330): * Single equations (assignments): 325 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002392/0.9511, allocations: 0.5415 MB / 0.7508 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/0.9525, allocations: 292.3 kB / 0.7511 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04837/1.001, allocations: 14.75 MB / 0.7655 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.708e-05/1.001, allocations: 31.94 kB / 0.7655 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.483e-05/1.001, allocations: 16 kB / 0.7655 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001111/1.001, allocations: 15.95 kB / 0.7655 GB, free: 10.01 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.3707/1.372, allocations: 18.35 MB / 0.7834 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/1.372, allocations: 0 / 0.7834 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/1.374, allocations: 247.8 kB / 0.7837 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02032/1.394, allocations: 6.229 MB / 0.7898 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007683/1.395, allocations: 57.88 kB / 0.7898 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06752/1.462, allocations: 25.53 MB / 0.8147 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.462, allocations: 0 / 0.8147 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04903/1.511, allocations: 17.32 MB / 0.8317 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.513, allocations: 408.9 kB / 0.832 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001559/1.514, allocations: 51.89 kB / 0.8321 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004282/1.519, allocations: 405.7 kB / 0.8325 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002769/1.522, allocations: 0.5611 MB / 0.833 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006402/1.522, allocations: 67.84 kB / 0.8331 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002812/1.525, allocations: 1.508 MB / 0.8346 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/1.525, allocations: 0 / 0.8346 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005531/1.531, allocations: 1.181 MB / 0.8357 GB, free: 137.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0009209/1.532, allocations: 171 kB / 0.8359 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02/1.552, allocations: 7.51 MB / 0.8432 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.026e-06/1.552, allocations: 0 / 0.8432 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01519/1.567, allocations: 5.071 MB / 0.8482 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004702/1.572, allocations: 262.6 kB / 0.8484 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.584, allocations: 6.654 MB / 0.8549 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/1.585, allocations: 1.814 MB / 0.8567 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.587, allocations: 175.4 kB / 0.8569 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.144e-06/1.587, allocations: 0 / 0.8569 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.0739/1.661, allocations: 63.41 MB / 0.9188 GB, free: 53 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)