Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0008798/0.0008798, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.001016/0.001016, allocations: 90.53 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4914/0.4914, allocations: 78.06 MB / 409.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.171e-05/1.174e-05, allocations: 0 / 484.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 69.37 MB / 0.5413 GB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.523, allocations: 98.12 MB / 0.6371 GB, free: 1.449 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.5233, allocations: 80.5 kB / 0.6372 GB, free: 1.371 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08534/0.6086, allocations: 30.48 MB / 0.6669 GB, free: 2.922 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6087, allocations: 0 / 0.6669 GB, free: 2.922 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001395/0.6088, allocations: 31.88 kB / 0.667 GB, free: 2.891 MB / 474.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.005034/0.6139, allocations: 1.722 MB / 0.6687 GB, free: 1.109 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6139, allocations: 8.031 kB / 0.6687 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.6177, allocations: 0.5641 MB / 0.6692 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.6195, allocations: 0.7881 MB / 0.67 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.6198, allocations: 214.4 kB / 0.6702 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.6201, allocations: 44 kB / 0.6702 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001688/0.6218, allocations: 0.8123 MB / 0.671 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.6236, allocations: 0.8338 MB / 0.6718 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.6236, allocations: 4 kB / 0.6718 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.999e-05/0.6237, allocations: 4 kB / 0.6718 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.6237, allocations: 16 kB / 0.6719 GB, free: 13.73 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.007431/0.6312, allocations: 3.798 MB / 0.6756 GB, free: 9.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007026/0.6382, allocations: 2.584 MB / 0.6781 GB, free: 7.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/0.6391, allocations: 0.5245 MB / 0.6786 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.6392, allocations: 12.77 kB / 0.6786 GB, free: 6.531 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.6393, allocations: 47.28 kB / 0.6787 GB, free: 6.477 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 3.136e-06/0.6393, allocations: 0 / 0.6787 GB, free: 6.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01178/0.6511, allocations: 3.828 MB / 0.6824 GB, free: 2.633 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.6512, allocations: 142.3 kB / 0.6825 GB, free: 2.465 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.6529, allocations: 0.835 MB / 0.6833 GB, free: 1.617 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.6532, allocations: 25.7 kB / 0.6834 GB, free: 1.586 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/0.6537, allocations: 0.5128 MB / 0.6839 GB, free: 1.066 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004946/0.6542, allocations: 331 kB / 0.6842 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/0.6543, allocations: 0 / 0.6842 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6544, allocations: 345.9 kB / 0.6845 GB, free: 404 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007874/0.6552, allocations: 430.7 kB / 0.6849 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/0.6561, allocations: 0.5545 MB / 0.6855 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009195/0.6571, allocations: 494.2 kB / 0.6859 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.6571, allocations: 0 / 0.6859 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01205/0.6691, allocations: 3.892 MB / 0.6897 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005612/0.6697, allocations: 1.203 MB / 0.6909 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6698, allocations: 4 kB / 0.6909 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004891/0.6747, allocations: 1.429 MB / 0.6923 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.6758, allocations: 183.8 kB / 0.6925 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.6886, allocations: 6.276 MB / 0.6986 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.6902, allocations: 171.3 kB / 0.6988 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.6904, allocations: 35.98 kB / 0.6988 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.6904, allocations: 4 kB / 0.6988 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01154/0.7019, allocations: 3.735 MB / 0.7025 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.702, allocations: 4 kB / 0.7025 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00504/0.7071, allocations: 1.418 MB / 0.7039 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.7083, allocations: 180.5 kB / 0.704 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.7215, allocations: 6.267 MB / 0.7102 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.7232, allocations: 163.3 kB / 0.7103 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.7234, allocations: 31.98 kB / 0.7103 GB, free: 5.547 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "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 () * 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.0004887/0.7239, allocations: 164.2 kB / 0.7105 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/0.7243, allocations: 126.5 kB / 0.7106 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.736, allocations: 3.913 MB / 0.7144 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/0.736, allocations: 15.95 kB / 0.7145 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.7361, allocations: 6.312 kB / 0.7145 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-05/0.7361, allocations: 7.984 kB / 0.7145 GB, free: 1.289 MB / 0.5105 GB 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.01462/0.7507, allocations: 5.471 MB / 0.7198 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.7508, allocations: 0 / 0.7198 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/0.7516, allocations: 115.9 kB / 0.7199 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004578/0.7562, allocations: 1.398 MB / 0.7213 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.7564, allocations: 8 kB / 0.7213 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.7683, allocations: 5.623 MB / 0.7268 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.7683, allocations: 3.984 kB / 0.7268 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/0.7818, allocations: 4.661 MB / 0.7313 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/0.7824, allocations: 228.5 kB / 0.7316 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004394/0.7828, allocations: 8 kB / 0.7316 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.7844, allocations: 123.9 kB / 0.7317 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006276/0.785, allocations: 172.5 kB / 0.7318 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.7851, allocations: 39.86 kB / 0.7319 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00124/0.7864, allocations: 0.6415 MB / 0.7325 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7864, allocations: 4 kB / 0.7325 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002478/0.7889, allocations: 0.6161 MB / 0.7331 GB, free: 13.92 MB / 0.5417 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 () * 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.0003819/0.7893, allocations: 138.9 kB / 0.7332 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008581/0.7979, allocations: 3.479 MB / 0.7366 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.7979, allocations: 4.125 kB / 0.7367 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003728/0.8016, allocations: 1.411 MB / 0.738 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.8027, allocations: 92.59 kB / 0.7381 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.8068, allocations: 1.834 MB / 0.7399 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000958/0.8078, allocations: 1.162 MB / 0.741 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001143/0.809, allocations: 196.4 kB / 0.7412 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.8092, allocations: 59.42 kB / 0.7413 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/0.8093, allocations: 0 / 0.7413 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of Templates: time 0.3178/1.127, allocations: 25.82 MB / 0.7665 GB, free: 147.5 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)