Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008729/0.008729, allocations: 172.1 kB / 15.12 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.29/1.29, allocations: 223.2 MB / 239 MB, free: 1.77 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.0008815/0.0008812, allocations: 96.08 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.435/0.435, allocations: 78.6 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003916, allocations: 12 kB / 499.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3609, allocations: 69.34 MB / 0.5558 GB, free: 38.61 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.4719, allocations: 98.85 MB / 0.6523 GB, free: 7.656 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.4721, allocations: 79.95 kB / 0.6524 GB, free: 7.578 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08296/0.5551, allocations: 30.93 MB / 0.6826 GB, free: 8.492 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5551, allocations: 0 / 0.6826 GB, free: 8.492 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.915e-05/0.5552, allocations: 20 kB / 0.6826 GB, free: 8.473 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00532/0.5605, allocations: 2.041 MB / 0.6846 GB, free: 6.367 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5606, allocations: 12.03 kB / 0.6846 GB, free: 6.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.5639, allocations: 0.5719 MB / 0.6852 GB, free: 5.781 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.5655, allocations: 0.8192 MB / 0.686 GB, free: 4.906 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.5658, allocations: 238.4 kB / 0.6862 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.5659, allocations: 80 kB / 0.6863 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.5683, allocations: 1.158 MB / 0.6874 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.5683, allocations: 4 kB / 0.6874 GB, free: 3.387 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.5684, allocations: 32 kB / 0.6874 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.5685, allocations: 23.98 kB / 0.6875 GB, free: 3.332 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.5707, allocations: 1.074 MB / 0.6885 GB, free: 2.258 MB / 490.7 MB 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.007132/0.5778, allocations: 3.904 MB / 0.6923 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00835/0.5862, allocations: 2.899 MB / 0.6952 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.5864, allocations: 20.98 kB / 0.6952 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.5864, allocations: 43.56 kB / 0.6952 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 3.126e-06/0.5864, allocations: 0 / 0.6952 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94): time 0.03017/0.6166, allocations: 8.331 MB / 0.7033 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.6167, allocations: 141.5 kB / 0.7035 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.6184, allocations: 0.9373 MB / 0.7044 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002286/0.6187, allocations: 45.7 kB / 0.7044 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.6191, allocations: 0.513 MB / 0.7049 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.6194, allocations: 343.1 kB / 0.7053 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.6195, allocations: 20 kB / 0.7053 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6197, allocations: 341.9 kB / 0.7056 GB, free: 344 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.6211, allocations: 0.6462 MB / 0.7062 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.6226, allocations: 0.7885 MB / 0.707 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.6241, allocations: 0.7512 MB / 0.7078 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6241, allocations: 3.938 kB / 0.7078 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01357/0.6377, allocations: 4.629 MB / 0.7123 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005681/0.6383, allocations: 1.2 MB / 0.7134 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.6383, allocations: 4 kB / 0.7135 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006141/0.6445, allocations: 1.82 MB / 0.7152 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.6457, allocations: 187.7 kB / 0.7154 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/0.6667, allocations: 9.115 MB / 0.7243 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.6685, allocations: 191.2 kB / 0.7245 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.6686, allocations: 35.98 kB / 0.7245 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.6686, allocations: 4 kB / 0.7245 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01363/0.6823, allocations: 4.465 MB / 0.7289 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.6823, allocations: 4 kB / 0.7289 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006186/0.6885, allocations: 1.828 MB / 0.7307 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.6897, allocations: 175.8 kB / 0.7308 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.7105, allocations: 9.101 MB / 0.7397 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.7125, allocations: 187.2 kB / 0.7399 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.7127, allocations: 32 kB / 0.7399 GB, free: 12.71 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0009466/0.7137, allocations: 369.6 kB / 0.7403 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/0.7142, allocations: 126.4 kB / 0.7404 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.7277, allocations: 4.638 MB / 0.7449 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.7278, allocations: 12 kB / 0.745 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.7278, allocations: 4 kB / 0.745 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-05/0.7278, allocations: 11.98 kB / 0.745 GB, free: 7.52 MB / 0.5417 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.0163/0.7441, allocations: 6.272 MB / 0.7511 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/0.7442, allocations: 11.98 kB / 0.7511 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008883/0.7451, allocations: 115.8 kB / 0.7512 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005747/0.7508, allocations: 1.793 MB / 0.753 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/0.7511, allocations: 23.98 kB / 0.753 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/0.7691, allocations: 8.004 MB / 0.7608 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7691, allocations: 0 / 0.7608 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/0.7847, allocations: 5.567 MB / 0.7662 GB, free: 1.449 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/0.7854, allocations: 235.1 kB / 0.7665 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.7857, allocations: 24 kB / 0.7665 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.787, allocations: 139.9 kB / 0.7666 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005282/0.7875, allocations: 180.7 kB / 0.7668 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/0.7876, allocations: 20 kB / 0.7668 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001163/0.7888, allocations: 0.7512 MB / 0.7675 GB, free: 88 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7888, allocations: 0 / 0.7675 GB, free: 88 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.2306/1.019, allocations: 0.6664 MB / 0.7682 GB, free: 145.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.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 (68): * Single equations (assignments): 66 * 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.0004288/1.02, allocations: 148.6 kB / 0.7683 GB, free: 145.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.031, allocations: 4.205 MB / 0.7724 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.031, allocations: 0.75 kB / 0.7724 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004698/1.036, allocations: 1.69 MB / 0.7741 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/1.037, allocations: 112.9 kB / 0.7742 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/1.042, allocations: 2.782 MB / 0.7769 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006655/1.042, allocations: 1.161 MB / 0.7781 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006321/1.043, allocations: 127.2 kB / 0.7782 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/1.043, allocations: 66.33 kB / 0.7782 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of SimCode: time 7.42e-07/1.043, allocations: 3.828 kB / 0.7782 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.04057/1.084, allocations: 26.13 MB / 0.8038 GB, free: 141.3 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)