Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0009561/0.0009561, allocations: 174.1 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.24/1.24, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008333/0.0008335, allocations: 99.03 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4346/0.4346, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.052e-05, allocations: 7.984 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2962, allocations: 69.34 MB / 0.548 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.4079, allocations: 99.41 MB / 0.6451 GB, free: 1.125 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.4081, allocations: 79.95 kB / 0.6452 GB, free: 1.047 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08565/0.4938, allocations: 32.58 MB / 0.677 GB, free: 260 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4938, allocations: 4 kB / 0.677 GB, free: 256 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.143e-05/0.4939, allocations: 24 kB / 0.677 GB, free: 232 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.2825/0.7764, allocations: 1.733 MB / 0.6787 GB, free: 103.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.7764, allocations: 15.72 kB / 0.6787 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003904/0.7803, allocations: 0.5667 MB / 0.6793 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.7826, allocations: 0.8051 MB / 0.68 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/0.783, allocations: 263.1 kB / 0.6803 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.7832, allocations: 85.81 kB / 0.6804 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.7854, allocations: 0.9542 MB / 0.6813 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.7854, allocations: 0 / 0.6813 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.7856, allocations: 37.75 kB / 0.6813 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.7856, allocations: 18.09 kB / 0.6814 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.7872, allocations: 0.8546 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.006795/0.794, allocations: 3.891 MB / 0.686 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007087/0.8011, allocations: 2.695 MB / 0.6886 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/0.8019, allocations: 0.5587 MB / 0.6892 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.802, allocations: 21.97 kB / 0.6892 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000944/0.8029, allocations: 0.6917 MB / 0.6899 GB, free: 101.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.635e-06/0.803, allocations: 6.062 kB / 0.6899 GB, free: 101.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01119/0.8142, allocations: 4.055 MB / 0.6938 GB, free: 101.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.8142, allocations: 117.1 kB / 0.6939 GB, free: 101.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.8155, allocations: 0.9302 MB / 0.6949 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.8156, allocations: 45.33 kB / 0.6949 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.8159, allocations: 0.513 MB / 0.6954 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.8162, allocations: 352.3 kB / 0.6957 GB, free: 99.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.8163, allocations: 19.84 kB / 0.6958 GB, free: 99.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.8163, allocations: 360.1 kB / 0.6961 GB, free: 99.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007216/0.8171, allocations: 474.1 kB / 0.6966 GB, free: 99.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007612/0.8178, allocations: 0.5993 MB / 0.6971 GB, free: 99.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.8186, allocations: 0.5714 MB / 0.6977 GB, free: 98.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8186, allocations: 0 / 0.6977 GB, free: 98.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01152/0.8302, allocations: 4.199 MB / 0.7018 GB, free: 97.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.8302, allocations: 58.47 kB / 0.7019 GB, free: 97.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8303, allocations: 3.906 kB / 0.7019 GB, free: 97.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/0.8359, allocations: 1.619 MB / 0.7034 GB, free: 97.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/0.837, allocations: 180.5 kB / 0.7036 GB, free: 97.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.8506, allocations: 8.124 MB / 0.7115 GB, free: 91.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.8524, allocations: 214.6 kB / 0.7117 GB, free: 90.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/0.8525, allocations: 35.66 kB / 0.7118 GB, free: 90.9 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.0002721/0.8528, allocations: 189.5 kB / 0.712 GB, free: 90.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.853, allocations: 130.2 kB / 0.7121 GB, free: 90.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.8641, allocations: 4.197 MB / 0.7162 GB, free: 87.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.8642, allocations: 8 kB / 0.7162 GB, free: 87.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.8642, allocations: 10.25 kB / 0.7162 GB, free: 87.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.8642, allocations: 7.406 kB / 0.7162 GB, free: 87.3 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.0129/0.8771, allocations: 5.782 MB / 0.7219 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.8772, allocations: 0 / 0.7219 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.8779, allocations: 111.2 kB / 0.722 GB, free: 82.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004398/0.8823, allocations: 1.5 MB / 0.7234 GB, free: 81.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/0.8825, allocations: 31.52 kB / 0.7235 GB, free: 81.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/0.8947, allocations: 7.705 MB / 0.731 GB, free: 74.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.8947, allocations: 0 / 0.731 GB, free: 74.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.9072, allocations: 4.942 MB / 0.7358 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006522/0.9079, allocations: 231.2 kB / 0.736 GB, free: 69.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.9081, allocations: 27.95 kB / 0.7361 GB, free: 69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.9094, allocations: 147.9 kB / 0.7362 GB, free: 68.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000584/0.91, allocations: 192.7 kB / 0.7364 GB, free: 68.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-05/0.9101, allocations: 27.98 kB / 0.7364 GB, free: 68.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008959/0.911, allocations: 0.7258 MB / 0.7371 GB, free: 67.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.523e-06/0.911, allocations: 3.938 kB / 0.7371 GB, free: 67.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001292/0.9123, allocations: 460.7 kB / 0.7376 GB, free: 67.45 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.0002813/0.9126, allocations: 153.6 kB / 0.7377 GB, free: 67.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00483/0.9174, allocations: 2.237 MB / 0.7399 GB, free: 65.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9174, allocations: 0 / 0.7399 GB, free: 65.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003487/0.9209, allocations: 1.631 MB / 0.7415 GB, free: 63.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.9219, allocations: 108.6 kB / 0.7416 GB, free: 63.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.9251, allocations: 1.918 MB / 0.7435 GB, free: 61.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.9256, allocations: 1.162 MB / 0.7446 GB, free: 60.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004347/0.926, allocations: 94.52 kB / 0.7447 GB, free: 60.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.9262, allocations: 63.42 kB / 0.7447 GB, free: 59.99 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.9263, allocations: 0 / 0.7447 GB, free: 59.99 MB / 490.7 MB Notification: Performance of Templates: time 0.02884/0.9551, allocations: 21.39 MB / 0.7656 GB, free: 38.82 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)