Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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 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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.187/1.187, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00086/0.0008601, allocations: 96.08 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4256/0.4256, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.547e-05, allocations: 4 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3074, allocations: 69.34 MB / 0.5479 GB, free: 20.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.4211, allocations: 99.42 MB / 0.645 GB, free: 1.008 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4214, allocations: 83.95 kB / 0.6451 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08712/0.5086, allocations: 32.58 MB / 0.6769 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5086, allocations: 0 / 0.6769 GB, free: 136 kB / 490.7 MB Notification: Performance of Transformations before backend: time 7.009e-05/0.5087, allocations: 28 kB / 0.677 GB, free: 108 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.2704/0.7791, allocations: 1.735 MB / 0.6787 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.7792, allocations: 13.8 kB / 0.6787 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.7835, allocations: 0.5695 MB / 0.6792 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.786, allocations: 0.8011 MB / 0.68 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004301/0.7864, allocations: 269.3 kB / 0.6803 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004809/0.7869, allocations: 82.89 kB / 0.6803 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/0.7901, allocations: 0.9565 MB / 0.6813 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.7901, allocations: 0 / 0.6813 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.7903, allocations: 34.36 kB / 0.6813 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.7903, allocations: 19.06 kB / 0.6813 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.7923, allocations: 0.8528 MB / 0.6822 GB, free: 103.2 MB / 490.7 MB 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.008212/0.8006, allocations: 3.898 MB / 0.686 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007687/0.8083, allocations: 2.697 MB / 0.6886 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.8096, allocations: 0.5533 MB / 0.6891 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.8099, allocations: 16.48 kB / 0.6892 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/0.8113, allocations: 0.6938 MB / 0.6898 GB, free: 101.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.857e-06/0.8113, allocations: 0 / 0.6898 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01224/0.8235, allocations: 4.06 MB / 0.6938 GB, free: 101.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.8236, allocations: 117.3 kB / 0.6939 GB, free: 101 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.8254, allocations: 0.9293 MB / 0.6948 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000233/0.8256, allocations: 45.33 kB / 0.6949 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.826, allocations: 0.5223 MB / 0.6954 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.8265, allocations: 349.8 kB / 0.6957 GB, free: 99.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.8266, allocations: 19.25 kB / 0.6957 GB, free: 99.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.8267, allocations: 350 kB / 0.6961 GB, free: 99.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008228/0.8275, allocations: 473.8 kB / 0.6965 GB, free: 99.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008411/0.8284, allocations: 0.6053 MB / 0.6971 GB, free: 98.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.8292, allocations: 0.5691 MB / 0.6977 GB, free: 98.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.8293, allocations: 0 / 0.6977 GB, free: 98.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01208/0.8413, allocations: 4.197 MB / 0.7018 GB, free: 97.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/0.8414, allocations: 62.17 kB / 0.7018 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.8415, allocations: 2.688 kB / 0.7018 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005874/0.8473, allocations: 1.625 MB / 0.7034 GB, free: 97.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009899/0.8483, allocations: 178.1 kB / 0.7036 GB, free: 97.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.8623, allocations: 8.13 MB / 0.7115 GB, free: 91.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.8642, allocations: 205.2 kB / 0.7117 GB, free: 90.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/0.8645, allocations: 43.84 kB / 0.7117 GB, free: 90.83 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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: 13 * 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 (99): * Single equations (assignments): 95 * 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003642/0.8648, allocations: 192.6 kB / 0.7119 GB, free: 90.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.8653, allocations: 133.8 kB / 0.7121 GB, free: 90.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.877, allocations: 4.191 MB / 0.7162 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.877, allocations: 8 kB / 0.7162 GB, free: 87.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.8771, allocations: 14.53 kB / 0.7162 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.432e-05/0.8771, allocations: 6.703 kB / 0.7162 GB, free: 87.23 MB / 490.7 MB 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.01495/0.8921, allocations: 5.787 MB / 0.7218 GB, free: 82.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.8921, allocations: 3.938 kB / 0.7218 GB, free: 82.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/0.8929, allocations: 98.95 kB / 0.7219 GB, free: 82.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00462/0.8976, allocations: 1.504 MB / 0.7234 GB, free: 81.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/0.8979, allocations: 23.89 kB / 0.7234 GB, free: 81.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/0.9107, allocations: 7.702 MB / 0.7309 GB, free: 74.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9107, allocations: 3.891 kB / 0.7309 GB, free: 74.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/0.9234, allocations: 4.942 MB / 0.7358 GB, free: 69.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.924, allocations: 235.2 kB / 0.736 GB, free: 68.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003504/0.9244, allocations: 23.94 kB / 0.736 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.9259, allocations: 147.9 kB / 0.7362 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005671/0.9265, allocations: 192.7 kB / 0.7363 GB, free: 68.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.229e-05/0.9266, allocations: 27.98 kB / 0.7364 GB, free: 68.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009277/0.9275, allocations: 0.7257 MB / 0.7371 GB, free: 67.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9275, allocations: 4 kB / 0.7371 GB, free: 67.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001516/0.929, allocations: 460.5 kB / 0.7375 GB, free: 67.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002974/0.9293, allocations: 145.7 kB / 0.7377 GB, free: 67.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004897/0.9342, allocations: 2.249 MB / 0.7399 GB, free: 64.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9343, allocations: 4.188 kB / 0.7399 GB, free: 64.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003612/0.9379, allocations: 1.615 MB / 0.7414 GB, free: 63.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008728/0.9388, allocations: 111.8 kB / 0.7415 GB, free: 63.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.9422, allocations: 1.915 MB / 0.7434 GB, free: 61.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.9427, allocations: 1.158 MB / 0.7445 GB, free: 60.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000453/0.9431, allocations: 102.4 kB / 0.7446 GB, free: 60.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.9434, allocations: 63.44 kB / 0.7447 GB, free: 59.96 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.9434, allocations: 0 / 0.7447 GB, free: 59.96 MB / 490.7 MB Notification: Performance of Templates: time 0.02968/0.9731, allocations: 21.39 MB / 0.7656 GB, free: 38.81 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)