Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, 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.255/1.255, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008526/0.0008526, allocations: 95.05 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.4296/0.4296, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.761e-05, allocations: 4 kB / 491.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3023, allocations: 69.34 MB / 0.5479 GB, free: 20.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.412, allocations: 98.12 MB / 0.6438 GB, free: 2.305 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4122, allocations: 79.94 kB / 0.6438 GB, free: 2.227 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07776/0.49, allocations: 29.95 MB / 0.6731 GB, free: 4.074 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4901, allocations: 0 / 0.6731 GB, free: 4.074 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.473e-05/0.4901, allocations: 23.94 kB / 0.6731 GB, free: 4.051 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003933/0.4941, allocations: 1.684 MB / 0.6748 GB, free: 2.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4941, allocations: 15.97 kB / 0.6748 GB, free: 2.289 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/0.4974, allocations: 0.5603 MB / 0.6753 GB, free: 1.727 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.4986, allocations: 0.7722 MB / 0.6761 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.4988, allocations: 230.5 kB / 0.6763 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.499, allocations: 83.98 kB / 0.6764 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2603/0.7593, allocations: 0.9189 MB / 0.6773 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.7594, allocations: 4.672 kB / 0.6773 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.7595, allocations: 29.81 kB / 0.6773 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.7595, allocations: 18 kB / 0.6773 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.7612, allocations: 0.8386 MB / 0.6781 GB, free: 103.9 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.006852/0.768, allocations: 3.832 MB / 0.6819 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007299/0.7753, allocations: 2.605 MB / 0.6844 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000995/0.7764, allocations: 0.5367 MB / 0.6849 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.7765, allocations: 14.5 kB / 0.685 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.7765, allocations: 46.91 kB / 0.685 GB, free: 102.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.657e-06/0.7766, allocations: 3.906 kB / 0.685 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01122/0.7878, allocations: 3.889 MB / 0.6888 GB, free: 102.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.7879, allocations: 142.9 kB / 0.6889 GB, free: 101.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.7891, allocations: 0.8788 MB / 0.6898 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.7892, allocations: 39.58 kB / 0.6898 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.7895, allocations: 0.5113 MB / 0.6903 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.7898, allocations: 331.8 kB / 0.6907 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.7898, allocations: 17.09 kB / 0.6907 GB, free: 101.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.942e-05/0.7899, allocations: 344 kB / 0.691 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.7906, allocations: 437 kB / 0.6914 GB, free: 101.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/0.7913, allocations: 0.5646 MB / 0.692 GB, free: 100.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.792, allocations: 0.5301 MB / 0.6925 GB, free: 100.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.792, allocations: 0 / 0.6925 GB, free: 100.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01108/0.8031, allocations: 4.064 MB / 0.6965 GB, free: 99.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002407/0.8033, allocations: 1.209 MB / 0.6976 GB, free: 98.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.8033, allocations: 3.594 kB / 0.6976 GB, free: 98.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004728/0.8081, allocations: 1.465 MB / 0.6991 GB, free: 98.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.809, allocations: 166.6 kB / 0.6992 GB, free: 98.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.8206, allocations: 6.577 MB / 0.7057 GB, free: 94.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.8222, allocations: 192.2 kB / 0.7058 GB, free: 94.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.8223, allocations: 35.94 kB / 0.7059 GB, free: 94.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.8223, allocations: 12.19 kB / 0.7059 GB, free: 94.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01072/0.833, allocations: 3.932 MB / 0.7097 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.8331, allocations: 4 kB / 0.7097 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004613/0.8377, allocations: 1.467 MB / 0.7112 GB, free: 91.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/0.8385, allocations: 162.1 kB / 0.7113 GB, free: 91.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.8499, allocations: 6.557 MB / 0.7177 GB, free: 85.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.8515, allocations: 177.2 kB / 0.7179 GB, free: 85.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.58e-05/0.8516, allocations: 38.98 kB / 0.7179 GB, free: 85.15 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003043/0.8519, allocations: 194.9 kB / 0.7181 GB, free: 84.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.8522, allocations: 122.5 kB / 0.7182 GB, free: 84.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.8628, allocations: 4.002 MB / 0.7221 GB, free: 81.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.8628, allocations: 8 kB / 0.7221 GB, free: 81.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.8628, allocations: 15.89 kB / 0.7222 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/0.8629, allocations: 7.547 kB / 0.7222 GB, free: 81.67 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.01247/0.8754, allocations: 5.615 MB / 0.7276 GB, free: 77.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.8754, allocations: 0 / 0.7276 GB, free: 77.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.8761, allocations: 114.7 kB / 0.7278 GB, free: 77.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004063/0.8802, allocations: 1.422 MB / 0.7291 GB, free: 75.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.8803, allocations: 20 kB / 0.7292 GB, free: 75.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009935/0.8903, allocations: 5.744 MB / 0.7348 GB, free: 69.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.8903, allocations: 8 kB / 0.7348 GB, free: 69.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/0.9018, allocations: 4.709 MB / 0.7394 GB, free: 65.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/0.9024, allocations: 230.7 kB / 0.7396 GB, free: 64.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.9026, allocations: 16 kB / 0.7396 GB, free: 64.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.9037, allocations: 139.9 kB / 0.7397 GB, free: 64.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005898/0.9043, allocations: 184.4 kB / 0.7399 GB, free: 64.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.559e-05/0.9044, allocations: 20 kB / 0.7399 GB, free: 64.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008819/0.9053, allocations: 0.6857 MB / 0.7406 GB, free: 63.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9053, allocations: 3.938 kB / 0.7406 GB, free: 63.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001738/0.907, allocations: 0.672 MB / 0.7413 GB, free: 63.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002636/0.9073, allocations: 156.9 kB / 0.7414 GB, free: 62.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007659/0.915, allocations: 3.571 MB / 0.7449 GB, free: 59.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.915, allocations: 0.75 kB / 0.7449 GB, free: 59.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003542/0.9186, allocations: 1.428 MB / 0.7463 GB, free: 57.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.9195, allocations: 110.8 kB / 0.7464 GB, free: 57.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.9224, allocations: 1.702 MB / 0.7481 GB, free: 56.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.9229, allocations: 1.155 MB / 0.7492 GB, free: 54.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008819/0.9238, allocations: 204.2 kB / 0.7494 GB, free: 54.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.924, allocations: 51.44 kB / 0.7494 GB, free: 54.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.373e-06/0.924, allocations: 0 / 0.7494 GB, free: 54.61 MB / 490.7 MB Notification: Performance of Templates: time 0.03634/0.9604, allocations: 27.75 MB / 0.7765 GB, free: 27.11 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)