Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001/0.001, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.245/1.245, allocations: 222.9 MB / 238.8 MB, free: 4.727 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.001174/0.001174, allocations: 188.4 kB / 289.1 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4191/0.4191, allocations: 78.52 MB / 417.8 MB, free: 3.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 71.89 kB / 496.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1365, allocations: 68.18 MB / 0.5517 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2439/0.3804, allocations: 14.6 MB / 0.566 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008174/0.3886, allocations: 3.659 MB / 0.5695 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003594/0.3923, allocations: 31.97 kB / 0.5696 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.3945, allocations: 443 kB / 0.57 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005243/0.3998, allocations: 1.241 MB / 0.5712 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.4037, allocations: 1.426 MB / 0.5726 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005245/0.409, allocations: 3.603 MB / 0.5761 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.4111, allocations: 0.8101 MB / 0.5769 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.4138, allocations: 1.424 MB / 0.5783 GB, free: 27.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.4167, allocations: 1.908 MB / 0.5801 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001455/0.4182, allocations: 176.9 kB / 0.5803 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.4202, allocations: 315.8 kB / 0.5806 GB, free: 26.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.4218, allocations: 0.6712 MB / 0.5813 GB, free: 26.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003241/0.425, allocations: 1.547 MB / 0.5828 GB, free: 25.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.4301, allocations: 3.872 MB / 0.5866 GB, free: 23.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4301, allocations: 4 kB / 0.5866 GB, free: 23.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4301, allocations: 0 / 0.5866 GB, free: 23.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002119/0.4303, allocations: 0 / 0.5866 GB, free: 23.8 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02564/0.456, allocations: 6.674 MB / 0.5931 GB, free: 21.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4561, allocations: 10.78 kB / 0.5931 GB, free: 21.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/0.4713, allocations: 2.279 MB / 0.5953 GB, free: 20.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00542/0.4768, allocations: 1.908 MB / 0.5972 GB, free: 19.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008292/0.4776, allocations: 0.7283 MB / 0.5979 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.4787, allocations: 220.7 kB / 0.5981 GB, free: 18.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00936/0.4881, allocations: 3.052 MB / 0.6011 GB, free: 17.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.579e-05/0.4882, allocations: 0 / 0.6011 GB, free: 17.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000717/0.4889, allocations: 89.83 kB / 0.6012 GB, free: 17.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.461e-05/0.489, allocations: 54.45 kB / 0.6012 GB, free: 17.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007639/0.4967, allocations: 2.801 MB / 0.604 GB, free: 16.63 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.02611/0.5228, allocations: 9.974 MB / 0.6137 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.5345, allocations: 4.219 MB / 0.6178 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004562/0.5391, allocations: 1.983 MB / 0.6198 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.5397, allocations: 40.72 kB / 0.6198 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005614/0.5453, allocations: 2.26 MB / 0.622 GB, free: 6.801 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 9.528e-06/0.5454, allocations: 0 / 0.622 GB, free: 6.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1178/0.6632, allocations: 28.82 MB / 0.6501 GB, free: 10.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.6634, allocations: 180.2 kB / 0.6503 GB, free: 9.875 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00476/0.6681, allocations: 2.337 MB / 0.6526 GB, free: 7.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008564/0.669, allocations: 69.7 kB / 0.6527 GB, free: 7.445 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.6701, allocations: 1.172 MB / 0.6538 GB, free: 6.262 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00157/0.6717, allocations: 0.8936 MB / 0.6547 GB, free: 5.355 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002521/0.6742, allocations: 0.566 MB / 0.6552 GB, free: 4.781 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.6743, allocations: 301.1 kB / 0.6555 GB, free: 4.484 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00477/0.6791, allocations: 1.994 MB / 0.6575 GB, free: 2.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/0.6839, allocations: 2.355 MB / 0.6598 GB, free: 44 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05511/0.739, allocations: 14.38 MB / 0.6738 GB, free: 1.457 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/0.7391, allocations: 7.938 kB / 0.6738 GB, free: 1.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04118/0.7803, allocations: 12.6 MB / 0.6861 GB, free: 4.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/0.7804, allocations: 122.8 kB / 0.6863 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.7804, allocations: 8 kB / 0.6863 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01746/0.7979, allocations: 5.434 MB / 0.6916 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.8009, allocations: 0.5856 MB / 0.6921 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05512/0.856, allocations: 21.75 MB / 0.7134 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/0.8605, allocations: 0.4943 MB / 0.7139 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006754/0.8612, allocations: 116 kB / 0.714 GB, free: 8.098 MB / 0.5137 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.001653/0.8629, allocations: 0.5349 MB / 0.7145 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008878/0.8638, allocations: 296.2 kB / 0.7148 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03683/0.9006, allocations: 11.95 MB / 0.7264 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.9007, allocations: 24 kB / 0.7265 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.099e-05/0.9007, allocations: 20 kB / 0.7265 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.567e-05/0.9008, allocations: 15.94 kB / 0.7265 GB, free: 11.14 MB / 0.5294 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.04355/0.9444, allocations: 15.58 MB / 0.7417 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.9444, allocations: 1.062 kB / 0.7417 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.946, allocations: 251.7 kB / 0.742 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01668/0.9627, allocations: 5.296 MB / 0.7471 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006534/0.9634, allocations: 55.98 kB / 0.7472 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2754/1.239, allocations: 22.66 MB / 0.7693 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.239, allocations: 0.5625 kB / 0.7693 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04182/1.281, allocations: 14.35 MB / 0.7833 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.282, allocations: 415.2 kB / 0.7837 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.283, allocations: 43.66 kB / 0.7838 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003271/1.286, allocations: 303.5 kB / 0.7841 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00212/1.289, allocations: 0.565 MB / 0.7846 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/1.289, allocations: 68.08 kB / 0.7847 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002741/1.292, allocations: 1.54 MB / 0.7862 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.91e-07/1.292, allocations: 0 / 0.7862 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004345/1.296, allocations: 1.196 MB / 0.7873 GB, free: 164.6 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.0005351/1.296, allocations: 180.3 kB / 0.7875 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01845/1.315, allocations: 6.685 MB / 0.794 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.315, allocations: 1.219 kB / 0.794 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01324/1.328, allocations: 4.423 MB / 0.7984 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/1.331, allocations: 264.5 kB / 0.7986 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.342, allocations: 6.635 MB / 0.8051 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/1.343, allocations: 1.828 MB / 0.8069 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001321/1.345, allocations: 261.9 kB / 0.8071 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/1.345, allocations: 164 kB / 0.8073 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.345, allocations: 1.406 kB / 0.8073 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.07239/1.418, allocations: 59.96 MB / 0.8658 GB, free: 112.9 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)