Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.006922/0.006922, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.356/1.356, allocations: 223.2 MB / 239 MB, free: 1.801 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.0009322/0.0009321, allocations: 105 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.4919/0.4919, allocations: 78.57 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003516, allocations: 8 kB / 499.8 MB, free: 2.969 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4108, allocations: 69.34 MB / 0.5558 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.5306, allocations: 99.17 MB / 0.6526 GB, free: 7.387 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.5309, allocations: 79.95 kB / 0.6527 GB, free: 7.309 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1664/0.6972, allocations: 66.7 MB / 0.7178 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6973, allocations: 3.938 kB / 0.7178 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001595/0.6974, allocations: 56 kB / 0.7179 GB, free: 4.164 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.0139/0.7113, allocations: 4.594 MB / 0.7224 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.7114, allocations: 8.031 kB / 0.7224 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.7216, allocations: 1.611 MB / 0.724 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005798/0.7274, allocations: 1.689 MB / 0.7256 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007892/0.7283, allocations: 0.6866 MB / 0.7263 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.7293, allocations: 208 kB / 0.7265 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007322/0.7366, allocations: 3.22 MB / 0.7296 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/0.7367, allocations: 11.91 kB / 0.7296 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/0.737, allocations: 80 kB / 0.7297 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.737, allocations: 48 kB / 0.7298 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006368/0.7434, allocations: 3.022 MB / 0.7327 GB, free: 4.625 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.02063/0.7641, allocations: 9.989 MB / 0.7425 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.7755, allocations: 4.743 MB / 0.7471 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003968/0.776, allocations: 46.03 kB / 0.7471 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.776, allocations: 56.56 kB / 0.7472 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=241): time 4.96e-06/0.776, allocations: 0 / 0.7472 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of matching and sorting (n=241): time 0.374/1.15, allocations: 30.12 MB / 0.7766 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/1.15, allocations: 234.9 kB / 0.7768 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/1.153, allocations: 1.911 MB / 0.7787 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007059/1.154, allocations: 71.39 kB / 0.7788 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000726/1.155, allocations: 1.208 MB / 0.7799 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009384/1.156, allocations: 0.8291 MB / 0.7807 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.156, allocations: 41.94 kB / 0.7808 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.156, allocations: 394.1 kB / 0.7812 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003792/1.16, allocations: 1.866 MB / 0.783 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004062/1.164, allocations: 2.177 MB / 0.7851 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004149/1.168, allocations: 2.092 MB / 0.7872 GB, free: 118 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/1.168, allocations: 2.625 kB / 0.7872 GB, free: 118 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.04325/1.211, allocations: 14.32 MB / 0.8011 GB, free: 117 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005632/1.212, allocations: 2.869 MB / 0.8039 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/1.212, allocations: 9.703 kB / 0.804 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02132/1.233, allocations: 6.319 MB / 0.8101 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/1.237, allocations: 373.5 kB / 0.8105 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08276/1.32, allocations: 26.06 MB / 0.8359 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/1.324, allocations: 0.511 MB / 0.8364 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004026/1.324, allocations: 82.62 kB / 0.8365 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.324, allocations: 2.531 kB / 0.8365 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03695/1.361, allocations: 14 MB / 0.8502 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/1.361, allocations: 3.438 kB / 0.8502 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01775/1.379, allocations: 6.322 MB / 0.8564 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/1.381, allocations: 361.3 kB / 0.8567 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05578/1.437, allocations: 26.05 MB / 0.8821 GB, free: 79.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/1.44, allocations: 0.4933 MB / 0.8826 GB, free: 79.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/1.441, allocations: 83.66 kB / 0.8827 GB, free: 79.35 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.00134/1.442, allocations: 0.5775 MB / 0.8833 GB, free: 78.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006028/1.443, allocations: 300.3 kB / 0.8835 GB, free: 78.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03696/1.48, allocations: 14.5 MB / 0.8977 GB, free: 67.28 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/1.48, allocations: 24 kB / 0.8977 GB, free: 67.26 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/1.48, allocations: 21.53 kB / 0.8978 GB, free: 67.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.979e-05/1.48, allocations: 10.22 kB / 0.8978 GB, free: 67.24 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.04297/1.523, allocations: 18.23 MB / 0.9156 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.523, allocations: 6.625 kB / 0.9156 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/1.524, allocations: 271.7 kB / 0.9158 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01643/1.541, allocations: 6.079 MB / 0.9218 GB, free: 44.92 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006561/1.542, allocations: 55.94 kB / 0.9218 GB, free: 44.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04773/1.589, allocations: 22.66 MB / 0.9439 GB, free: 22.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.589, allocations: 0 / 0.9439 GB, free: 22.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04166/1.631, allocations: 17.08 MB / 0.9606 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000908/1.632, allocations: 412.9 kB / 0.961 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005383/1.633, allocations: 48 kB / 0.9611 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/1.635, allocations: 391.7 kB / 0.9614 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001796/1.637, allocations: 0.5527 MB / 0.962 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/1.637, allocations: 56 kB / 0.962 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002086/1.639, allocations: 1.487 MB / 0.9635 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/1.639, allocations: 0 / 0.9635 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004226/1.644, allocations: 1.756 MB / 0.9652 GB, free: 232 kB / 0.5573 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.0003867/1.644, allocations: 201.8 kB / 0.9654 GB, free: 36 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03102/1.675, allocations: 11.91 MB / 0.977 GB, free: 4.012 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.675, allocations: 4 kB / 0.977 GB, free: 4.008 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01353/1.689, allocations: 4.782 MB / 0.9817 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/1.691, allocations: 235.3 kB / 0.9819 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009844/1.7, allocations: 6.404 MB / 0.9882 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/1.702, allocations: 1.889 MB / 0.99 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001389/1.703, allocations: 268.7 kB / 0.9903 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/1.704, allocations: 135.4 kB / 0.9904 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/1.704, allocations: 0 / 0.9904 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of Templates: time 0.3328/2.037, allocations: 72.22 MB / 1.061 GB, free: 137.4 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)