Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.0009544/0.0009543, allocations: 174.8 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.393/1.393, 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.0008718/0.0008718, allocations: 96.17 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4919/0.4919, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.877e-05, allocations: 4 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3007, allocations: 69.5 MB / 0.5491 GB, free: 19.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.4186, allocations: 100 MB / 0.6468 GB, free: 15.62 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.4189, allocations: 75.97 kB / 0.6468 GB, free: 15.54 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3435/0.7624, allocations: 32.79 MB / 0.6789 GB, free: 104.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.7624, allocations: 0.875 kB / 0.6789 GB, free: 104.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.749e-05/0.7625, allocations: 34.03 kB / 0.6789 GB, free: 104.2 MB / 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.004351/0.7669, allocations: 1.751 MB / 0.6806 GB, free: 103.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.7669, allocations: 13.22 kB / 0.6806 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.7703, allocations: 0.5651 MB / 0.6812 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.7716, allocations: 0.8032 MB / 0.682 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.7719, allocations: 264 kB / 0.6822 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.772, allocations: 82.75 kB / 0.6823 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.7738, allocations: 0.956 MB / 0.6832 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.7738, allocations: 4.75 kB / 0.6832 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.7739, allocations: 34.83 kB / 0.6833 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.7739, allocations: 18.47 kB / 0.6833 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.7755, allocations: 0.8542 MB / 0.6841 GB, free: 102.8 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.006181/0.7817, allocations: 3.892 MB / 0.6879 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006742/0.7884, allocations: 2.684 MB / 0.6905 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007121/0.7891, allocations: 0.5611 MB / 0.6911 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.7892, allocations: 20.34 kB / 0.6911 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009229/0.7902, allocations: 0.6928 MB / 0.6918 GB, free: 101.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.625e-06/0.7902, allocations: 1.875 kB / 0.6918 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.0115/0.8017, allocations: 4.065 MB / 0.6957 GB, free: 100.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.8018, allocations: 114.1 kB / 0.6959 GB, free: 100.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.8029, allocations: 0.9353 MB / 0.6968 GB, free: 100 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.803, allocations: 42.67 kB / 0.6968 GB, free: 99.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.8033, allocations: 0.5192 MB / 0.6973 GB, free: 99.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.8036, allocations: 346.3 kB / 0.6976 GB, free: 99.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.8037, allocations: 19.66 kB / 0.6977 GB, free: 99.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.8037, allocations: 354.8 kB / 0.698 GB, free: 98.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/0.8045, allocations: 471.3 kB / 0.6985 GB, free: 98.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/0.8052, allocations: 0.6043 MB / 0.699 GB, free: 98.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008464/0.8061, allocations: 0.5699 MB / 0.6996 GB, free: 98.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.8061, allocations: 0 / 0.6996 GB, free: 98.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01181/0.8179, allocations: 4.199 MB / 0.7037 GB, free: 97.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.818, allocations: 62.59 kB / 0.7038 GB, free: 97.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.818, allocations: 3.812 kB / 0.7038 GB, free: 97.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00556/0.8236, allocations: 1.619 MB / 0.7053 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009605/0.8246, allocations: 177.8 kB / 0.7055 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.838, allocations: 8.128 MB / 0.7135 GB, free: 89.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.8399, allocations: 206.3 kB / 0.7136 GB, free: 89.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.84, allocations: 39.33 kB / 0.7137 GB, free: 89.52 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.000264/0.8403, allocations: 189.9 kB / 0.7139 GB, free: 89.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.8405, allocations: 130.4 kB / 0.714 GB, free: 89.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.8516, allocations: 4.192 MB / 0.7181 GB, free: 85.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.8517, allocations: 12 kB / 0.7181 GB, free: 85.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.8517, allocations: 8 kB / 0.7181 GB, free: 85.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.8517, allocations: 8.766 kB / 0.7181 GB, free: 85.92 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.01264/0.8644, allocations: 5.789 MB / 0.7238 GB, free: 81.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.8644, allocations: 3.609 kB / 0.7238 GB, free: 81.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.8652, allocations: 106.8 kB / 0.7239 GB, free: 81.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004328/0.8695, allocations: 1.494 MB / 0.7253 GB, free: 80.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.8697, allocations: 27.66 kB / 0.7254 GB, free: 80.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.8816, allocations: 7.699 MB / 0.7329 GB, free: 72.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8816, allocations: 0 / 0.7329 GB, free: 72.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/0.8938, allocations: 4.95 MB / 0.7377 GB, free: 67.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.8944, allocations: 231.2 kB / 0.7379 GB, free: 67.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.8946, allocations: 27.89 kB / 0.738 GB, free: 67.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.8958, allocations: 147.7 kB / 0.7381 GB, free: 67.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005358/0.8964, allocations: 204.6 kB / 0.7383 GB, free: 66.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.779e-05/0.8965, allocations: 20 kB / 0.7383 GB, free: 66.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008623/0.8973, allocations: 0.7297 MB / 0.739 GB, free: 66.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8973, allocations: 0 / 0.739 GB, free: 66.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001147/0.8985, allocations: 455.4 kB / 0.7395 GB, free: 65.72 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.0002619/0.8988, allocations: 158.8 kB / 0.7396 GB, free: 65.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00479/0.9036, allocations: 2.238 MB / 0.7418 GB, free: 63.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9036, allocations: 4.125 kB / 0.7418 GB, free: 63.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00356/0.9071, allocations: 1.618 MB / 0.7434 GB, free: 61.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.9079, allocations: 108.5 kB / 0.7435 GB, free: 61.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.9112, allocations: 1.919 MB / 0.7454 GB, free: 59.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.9118, allocations: 1.158 MB / 0.7465 GB, free: 58.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004235/0.9122, allocations: 98.55 kB / 0.7466 GB, free: 58.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.9124, allocations: 63.42 kB / 0.7466 GB, free: 58.25 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.9125, allocations: 0 / 0.7466 GB, free: 58.25 MB / 490.7 MB Notification: Performance of Templates: time 0.02966/0.9421, allocations: 21.39 MB / 0.7675 GB, free: 37.08 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)