Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.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.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004638/0.004638, allocations: 169.2 kB / 15.11 MB, free: 5.582 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.19/1.19, allocations: 223.2 MB / 239 MB, free: 1.797 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.0009228/0.000923, allocations: 100.3 kB / 290.2 MB, free: 13.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.4306/0.4306, allocations: 79.44 MB / 420.8 MB, free: 43.71 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8 kB / 0.489 GB, free: 2.074 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.317, allocations: 69.5 MB / 0.5569 GB, free: 39.08 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.436, allocations: 99.76 MB / 0.6543 GB, free: 5.859 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.4363, allocations: 79.95 kB / 0.6544 GB, free: 5.781 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1633/0.5996, allocations: 67.57 MB / 0.7204 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5996, allocations: 0 / 0.7204 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001414/0.5998, allocations: 59.94 kB / 0.7204 GB, free: 1.773 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01211/0.6119, allocations: 4.594 MB / 0.7249 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.612, allocations: 8.031 kB / 0.7249 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009429/0.6214, allocations: 1.604 MB / 0.7265 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.625, allocations: 1.693 MB / 0.7282 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005724/0.6256, allocations: 0.6944 MB / 0.7288 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004697/0.626, allocations: 211.9 kB / 0.729 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006466/0.6325, allocations: 3.208 MB / 0.7322 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.6326, allocations: 4 kB / 0.7322 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.6329, allocations: 84 kB / 0.7322 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.6329, allocations: 48 kB / 0.7323 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005902/0.6388, allocations: 3.018 MB / 0.7352 GB, free: 2.25 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01881/0.6576, allocations: 9.985 MB / 0.745 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.6685, allocations: 4.739 MB / 0.7496 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/0.6689, allocations: 46.03 kB / 0.7497 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/0.6689, allocations: 56.56 kB / 0.7497 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=241): time 5.501e-06/0.6689, allocations: 3.938 kB / 0.7497 GB, free: 2.832 MB / 0.5417 GB Notification: Performance of matching and sorting (n=241): time 0.3464/1.015, allocations: 30.13 MB / 0.7791 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/1.015, allocations: 232.9 kB / 0.7794 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/1.018, allocations: 1.919 MB / 0.7812 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005249/1.019, allocations: 67.23 kB / 0.7813 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008459/1.02, allocations: 1.205 MB / 0.7825 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000741/1.02, allocations: 0.8327 MB / 0.7833 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/1.021, allocations: 44.03 kB / 0.7833 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/1.021, allocations: 397.3 kB / 0.7837 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003292/1.024, allocations: 1.864 MB / 0.7855 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003379/1.027, allocations: 2.178 MB / 0.7877 GB, free: 118 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/1.031, allocations: 2.092 MB / 0.7897 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.031, allocations: 0 / 0.7897 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0395/1.07, allocations: 14.32 MB / 0.8037 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004693/1.071, allocations: 2.873 MB / 0.8065 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.071, allocations: 10.48 kB / 0.8065 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0189/1.09, allocations: 6.321 MB / 0.8127 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/1.092, allocations: 371.8 kB / 0.813 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05289/1.145, allocations: 26.05 MB / 0.8385 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/1.148, allocations: 0.5135 MB / 0.839 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003536/1.149, allocations: 81.97 kB / 0.8391 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.149, allocations: 2.125 kB / 0.8391 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03625/1.185, allocations: 14 MB / 0.8527 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/1.185, allocations: 8 kB / 0.8527 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01692/1.202, allocations: 6.319 MB / 0.8589 GB, free: 98.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/1.204, allocations: 360.5 kB / 0.8592 GB, free: 98.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05282/1.257, allocations: 26.05 MB / 0.8847 GB, free: 76.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004463/1.261, allocations: 0.4952 MB / 0.8852 GB, free: 76.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000431/1.262, allocations: 83.8 kB / 0.8853 GB, free: 76.06 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001472/1.263, allocations: 0.5745 MB / 0.8858 GB, free: 75.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007726/1.264, allocations: 288.4 kB / 0.8861 GB, free: 75.21 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0363/1.3, allocations: 14.51 MB / 0.9003 GB, free: 64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/1.301, allocations: 24 kB / 0.9003 GB, free: 63.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-05/1.301, allocations: 20 kB / 0.9003 GB, free: 63.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.24e-05/1.301, allocations: 10.97 kB / 0.9003 GB, free: 63.95 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04162/1.342, allocations: 18.23 MB / 0.9181 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/1.342, allocations: 6.75 kB / 0.9181 GB, free: 47.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.344, allocations: 279.6 kB / 0.9184 GB, free: 47.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01612/1.36, allocations: 6.072 MB / 0.9243 GB, free: 41.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007398/1.361, allocations: 55.88 kB / 0.9244 GB, free: 41.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04565/1.407, allocations: 22.66 MB / 0.9465 GB, free: 18.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.407, allocations: 4 kB / 0.9465 GB, free: 18.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0408/1.448, allocations: 17.07 MB / 0.9632 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009253/1.449, allocations: 412.9 kB / 0.9636 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/1.449, allocations: 48 kB / 0.9636 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.452, allocations: 391.7 kB / 0.964 GB, free: 216 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00181/1.453, allocations: 0.5526 MB / 0.9645 GB, free: 15.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/1.454, allocations: 63.98 kB / 0.9646 GB, free: 15.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002169/1.456, allocations: 1.483 MB / 0.966 GB, free: 14.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.456, allocations: 0 / 0.966 GB, free: 14.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004259/1.46, allocations: 1.754 MB / 0.9677 GB, free: 12.36 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 159 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004101/1.46, allocations: 192.1 kB / 0.9679 GB, free: 12.17 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03085/1.491, allocations: 11.91 MB / 0.9796 GB, free: 140 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.491, allocations: 0 / 0.9796 GB, free: 140 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01294/1.504, allocations: 4.786 MB / 0.9842 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.506, allocations: 240.8 kB / 0.9845 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009539/1.516, allocations: 6.395 MB / 0.9907 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/1.517, allocations: 1.893 MB / 0.9926 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001345/1.519, allocations: 269.6 kB / 0.9928 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/1.519, allocations: 139.3 kB / 0.993 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/1.519, allocations: 0 / 0.993 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of Templates: time 0.3575/1.877, allocations: 72.22 MB / 1.063 GB, free: 133.9 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)