Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009296/0.0009295, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.000963/0.000963, allocations: 95.59 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5036/0.5036, allocations: 78.93 MB / 410.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.584e-05, allocations: 7.984 kB / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1412, allocations: 69.52 MB / 0.5424 GB, free: 5.887 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5521, allocations: 102.8 MB / 0.6428 GB, free: 11.32 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.5523, allocations: 83.95 kB / 0.6429 GB, free: 11.24 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2591/0.8115, allocations: 102 MB / 0.7425 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8115, allocations: 0 / 0.7425 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003863/0.8119, allocations: 83.94 kB / 0.7426 GB, free: 4.773 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.02198/0.8339, allocations: 5.798 MB / 0.7482 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.834, allocations: 12.03 kB / 0.7482 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01847/0.8524, allocations: 2.776 MB / 0.751 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007297/0.8598, allocations: 2.273 MB / 0.7532 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001214/0.861, allocations: 0.8636 MB / 0.754 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.8629, allocations: 207.9 kB / 0.7542 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008676/0.8716, allocations: 3.443 MB / 0.7576 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009369/0.881, allocations: 3.617 MB / 0.7611 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.058e-05/0.8811, allocations: 0 / 0.7611 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006262/0.8817, allocations: 0 / 0.7611 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-05/0.8818, allocations: 88 kB / 0.7612 GB, free: 1.379 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.3878/1.27, allocations: 18.13 MB / 0.7789 GB, free: 85.63 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/1.28, allocations: 4.72 MB / 0.7835 GB, free: 85.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003864/1.284, allocations: 2.128 MB / 0.7856 GB, free: 85.17 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005508/1.284, allocations: 72.53 kB / 0.7857 GB, free: 85.17 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005084/1.29, allocations: 2.503 MB / 0.7881 GB, free: 85.04 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 8.245e-06/1.29, allocations: 0 / 0.7881 GB, free: 85.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.0566/1.346, allocations: 17.32 MB / 0.805 GB, free: 84.16 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/1.346, allocations: 144.8 kB / 0.8052 GB, free: 84.03 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00464/1.351, allocations: 2.486 MB / 0.8076 GB, free: 83.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.352, allocations: 25.7 kB / 0.8076 GB, free: 83.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/1.354, allocations: 2.005 MB / 0.8096 GB, free: 83.29 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002131/1.356, allocations: 1.261 MB / 0.8108 GB, free: 82.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/1.356, allocations: 0 / 0.8108 GB, free: 82.62 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000275/1.356, allocations: 448.9 kB / 0.8112 GB, free: 82.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003193/1.36, allocations: 1.781 MB / 0.813 GB, free: 82.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/1.363, allocations: 2.342 MB / 0.8153 GB, free: 81.75 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/1.367, allocations: 1.976 MB / 0.8172 GB, free: 81.68 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-05/1.367, allocations: 7.906 kB / 0.8172 GB, free: 81.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05001/1.417, allocations: 17.43 MB / 0.8342 GB, free: 80.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/1.417, allocations: 68.17 kB / 0.8343 GB, free: 80.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/1.417, allocations: 21.14 kB / 0.8343 GB, free: 80.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02241/1.44, allocations: 6.98 MB / 0.8411 GB, free: 80.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/1.443, allocations: 0.5542 MB / 0.8417 GB, free: 80.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05244/1.495, allocations: 26.56 MB / 0.8676 GB, free: 67.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005718/1.501, allocations: 0.6466 MB / 0.8682 GB, free: 67.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005058/1.501, allocations: 133.3 kB / 0.8684 GB, free: 67 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 2 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008429/1.502, allocations: 211.5 kB / 0.8686 GB, free: 66.85 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009381/1.503, allocations: 454.7 kB / 0.869 GB, free: 66.61 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.047/1.55, allocations: 17.78 MB / 0.8864 GB, free: 57.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/1.55, allocations: 47.94 kB / 0.8864 GB, free: 57.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.361e-05/1.55, allocations: 28 kB / 0.8864 GB, free: 57.65 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001145/1.55, allocations: 19.34 kB / 0.8864 GB, free: 57.65 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.05378/1.604, allocations: 22.44 MB / 0.9084 GB, free: 40.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/1.604, allocations: 4.031 kB / 0.9084 GB, free: 40.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/1.607, allocations: 400 kB / 0.9087 GB, free: 40.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02006/1.627, allocations: 6.959 MB / 0.9155 GB, free: 34.85 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009163/1.628, allocations: 18.66 kB / 0.9156 GB, free: 34.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04636/1.674, allocations: 24.19 MB / 0.9392 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.674, allocations: 3.938 kB / 0.9392 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05366/1.728, allocations: 20.74 MB / 0.9594 GB, free: 12.45 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/1.73, allocations: 0.5661 MB / 0.96 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/1.731, allocations: 4 kB / 0.96 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006001/1.737, allocations: 458.3 kB / 0.9604 GB, free: 11.56 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003967/1.741, allocations: 0.7813 MB / 0.9612 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006435/1.742, allocations: 91.38 kB / 0.9613 GB, free: 11.05 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003831/1.746, allocations: 1.847 MB / 0.9631 GB, free: 9.355 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.61e-07/1.746, allocations: 0 / 0.9631 GB, free: 9.355 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009909/1.756, allocations: 1.604 MB / 0.9647 GB, free: 7.758 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 1 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/1.757, allocations: 149.1 kB / 0.9648 GB, free: 7.613 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02305/1.78, allocations: 8.118 MB / 0.9727 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.78, allocations: 4.25 kB / 0.9727 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01911/1.799, allocations: 6.007 MB / 0.9786 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004171/1.803, allocations: 243.1 kB / 0.9788 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.819, allocations: 5.925 MB / 0.9846 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/1.821, allocations: 2.55 MB / 0.9871 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002109/1.823, allocations: 301.9 kB / 0.9874 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008621/1.824, allocations: 195.4 kB / 0.9876 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of SimCode: time 1.513e-06/1.824, allocations: 0 / 0.9876 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of Templates: time 0.467/2.291, allocations: 73.15 MB / 1.059 GB, free: 108.8 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)