Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 106.6 kB / 16.41 MB, free: 6.465 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.428/1.428, allocations: 222.9 MB / 240.1 MB, free: 4.34 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.001639/0.001639, allocations: 192.5 kB / 290.4 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5435/0.5435, allocations: 91.9 MB / 432.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 79.94 kB / 0.5734 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1442, allocations: 71.29 MB / 0.6431 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01316/0.1574, allocations: 13.81 MB / 0.6565 GB, free: 5.605 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008586/0.166, allocations: 3.499 MB / 0.66 GB, free: 2.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.169, allocations: 28 kB / 0.66 GB, free: 2.062 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.1715, allocations: 0.5615 MB / 0.6605 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005879/0.1775, allocations: 1.441 MB / 0.6619 GB, free: 52 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.1818, allocations: 1.524 MB / 0.6634 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006936/0.1888, allocations: 3.78 MB / 0.6671 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.1909, allocations: 0.8856 MB / 0.668 GB, free: 9.816 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/0.1938, allocations: 1.56 MB / 0.6695 GB, free: 8.25 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.1969, allocations: 1.979 MB / 0.6714 GB, free: 6.262 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.1982, allocations: 292 kB / 0.6717 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.2, allocations: 439.8 kB / 0.6721 GB, free: 5.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.2013, allocations: 0.7702 MB / 0.6729 GB, free: 4.773 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002886/0.2042, allocations: 1.65 MB / 0.6745 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006191/0.2104, allocations: 4.024 MB / 0.6784 GB, free: 15.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.2104, allocations: 0 / 0.6784 GB, free: 15.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2104, allocations: 0 / 0.6784 GB, free: 15.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000176/0.2106, allocations: 4 kB / 0.6784 GB, free: 15.07 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02411/0.2347, allocations: 6.641 MB / 0.6849 GB, free: 8.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.2348, allocations: 8.031 kB / 0.6849 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.2497, allocations: 2.271 MB / 0.6872 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004516/0.2542, allocations: 1.898 MB / 0.689 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007818/0.2551, allocations: 0.7291 MB / 0.6897 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006001/0.2557, allocations: 219.9 kB / 0.6899 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006142/0.2618, allocations: 3.043 MB / 0.6929 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.2619, allocations: 0 / 0.6929 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/0.2621, allocations: 91.94 kB / 0.693 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.2622, allocations: 48 kB / 0.693 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/0.2679, allocations: 2.792 MB / 0.6958 GB, free: 12.95 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.01969/0.2877, allocations: 9.864 MB / 0.7054 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/0.2985, allocations: 4.207 MB / 0.7095 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004424/0.303, allocations: 1.976 MB / 0.7114 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.3033, allocations: 37.97 kB / 0.7115 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004492/0.3078, allocations: 2.244 MB / 0.7137 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 4.418e-06/0.3078, allocations: 0 / 0.7137 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1131/0.4209, allocations: 27.42 MB / 0.7404 GB, free: 14.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.4211, allocations: 184.2 kB / 0.7406 GB, free: 14.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00408/0.4252, allocations: 2.309 MB / 0.7429 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000766/0.426, allocations: 77.69 kB / 0.7429 GB, free: 11.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009579/0.427, allocations: 1.184 MB / 0.7441 GB, free: 10.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.4283, allocations: 0.8782 MB / 0.745 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.4295, allocations: 0.5658 MB / 0.7455 GB, free: 9.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4296, allocations: 305.1 kB / 0.7458 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004105/0.4337, allocations: 1.97 MB / 0.7477 GB, free: 6.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004367/0.4381, allocations: 2.342 MB / 0.75 GB, free: 4.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05426/0.4923, allocations: 14.24 MB / 0.7639 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/0.4924, allocations: 4 kB / 0.7639 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.3936/0.886, allocations: 12.55 MB / 0.7762 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-05/0.8861, allocations: 119.1 kB / 0.7763 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/0.8862, allocations: 7.328 kB / 0.7763 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/0.904, allocations: 5.263 MB / 0.7814 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/0.9072, allocations: 0.5795 MB / 0.782 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05036/0.9576, allocations: 23.17 MB / 0.8046 GB, free: 98.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004403/0.9621, allocations: 493.5 kB / 0.8051 GB, free: 98.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005446/0.9626, allocations: 118.1 kB / 0.8052 GB, free: 98.77 MB / 0.5606 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (334): * Single equations (assignments): 329 * 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.001298/0.9639, allocations: 0.5417 MB / 0.8057 GB, free: 98.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000702/0.9646, allocations: 302.5 kB / 0.806 GB, free: 97.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03496/0.9996, allocations: 11.93 MB / 0.8177 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/0.9997, allocations: 24 kB / 0.8177 GB, free: 85.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.481e-05/0.9997, allocations: 20 kB / 0.8177 GB, free: 85.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.123e-05/0.9998, allocations: 11.95 kB / 0.8177 GB, free: 85.91 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.04002/1.04, allocations: 15.56 MB / 0.8329 GB, free: 70.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/1.04, allocations: 0 / 0.8329 GB, free: 70.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/1.041, allocations: 247.6 kB / 0.8332 GB, free: 70 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01557/1.057, allocations: 5.298 MB / 0.8383 GB, free: 64.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007148/1.058, allocations: 51.98 kB / 0.8384 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04902/1.107, allocations: 24.93 MB / 0.8627 GB, free: 39.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.107, allocations: 7 kB / 0.8627 GB, free: 39.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03873/1.146, allocations: 14.31 MB / 0.8767 GB, free: 24.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009944/1.147, allocations: 421.6 kB / 0.8771 GB, free: 24.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006441/1.147, allocations: 44 kB / 0.8771 GB, free: 24.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.15, allocations: 299.6 kB / 0.8774 GB, free: 24.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002026/1.152, allocations: 0.5763 MB / 0.878 GB, free: 23.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.152, allocations: 63.98 kB / 0.878 GB, free: 23.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001909/1.154, allocations: 1.539 MB / 0.8796 GB, free: 21.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.603e-06/1.154, allocations: 0 / 0.8796 GB, free: 21.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003309/1.158, allocations: 1.184 MB / 0.8807 GB, free: 20.77 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0004186/1.158, allocations: 184.4 kB / 0.8809 GB, free: 20.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01525/1.173, allocations: 6.654 MB / 0.8874 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.173, allocations: 0 / 0.8874 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01157/1.185, allocations: 4.42 MB / 0.8917 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.187, allocations: 275.1 kB / 0.892 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00887/1.196, allocations: 5.475 MB / 0.8973 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/1.197, allocations: 1.815 MB / 0.8991 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009373/1.198, allocations: 187.4 kB / 0.8993 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of SimCode: time 1.674e-06/1.198, allocations: 0 / 0.8993 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of Templates: time 0.07837/1.276, allocations: 64.56 MB / 0.9623 GB, free: 0.9688 MB / 0.6231 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)