Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005256/0.005256, allocations: 170.7 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 98.8 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06411/0.06411, allocations: 12.6 MB / 330.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4264/0.4264, allocations: 78.52 MB / 460 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005792/0.0005793, allocations: 21.19 kB / 0.5285 GB, free: 35.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1528, allocations: 69.33 MB / 0.5962 GB, free: 3.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.6061, allocations: 100.5 MB / 0.6943 GB, free: 98.48 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.6064, allocations: 84.02 kB / 0.6944 GB, free: 98.48 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08912/0.6956, allocations: 35.6 MB / 0.7292 GB, free: 81.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.6956, allocations: 0 / 0.7292 GB, free: 81.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.518e-05/0.6957, allocations: 24 kB / 0.7292 GB, free: 81.44 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004605/0.7003, allocations: 1.987 MB / 0.7311 GB, free: 79.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.7004, allocations: 19.98 kB / 0.7312 GB, free: 79.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003383/0.7037, allocations: 0.5679 MB / 0.7317 GB, free: 78.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.7053, allocations: 0.815 MB / 0.7325 GB, free: 77.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.7056, allocations: 268.2 kB / 0.7328 GB, free: 77.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.7057, allocations: 76 kB / 0.7328 GB, free: 77.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.7076, allocations: 1.141 MB / 0.734 GB, free: 76.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.7077, allocations: 0 / 0.734 GB, free: 76.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.7078, allocations: 32 kB / 0.734 GB, free: 76.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.7078, allocations: 19.95 kB / 0.734 GB, free: 76.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.7095, allocations: 1.046 MB / 0.735 GB, free: 75.3 MB / 474.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.005743/0.7152, allocations: 3.797 MB / 0.7387 GB, free: 71.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006889/0.7221, allocations: 2.89 MB / 0.7416 GB, free: 68.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.7223, allocations: 20.98 kB / 0.7416 GB, free: 68.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.7238, allocations: 0.8712 MB / 0.7424 GB, free: 67.44 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 4.227e-06/0.7239, allocations: 4 kB / 0.7424 GB, free: 67.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.0274/0.7513, allocations: 8.704 MB / 0.7509 GB, free: 58.67 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.7514, allocations: 115.8 kB / 0.751 GB, free: 58.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.753, allocations: 0.9172 MB / 0.7519 GB, free: 57.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002718/0.7533, allocations: 41.7 kB / 0.752 GB, free: 57.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.7535, allocations: 0.4974 MB / 0.7525 GB, free: 57.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.7539, allocations: 347 kB / 0.7528 GB, free: 56.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.7539, allocations: 20 kB / 0.7528 GB, free: 56.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.754, allocations: 341.9 kB / 0.7531 GB, free: 56.35 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.7552, allocations: 0.6465 MB / 0.7538 GB, free: 55.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.7564, allocations: 0.7848 MB / 0.7545 GB, free: 54.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.7576, allocations: 0.7472 MB / 0.7553 GB, free: 54.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.7576, allocations: 0 / 0.7553 GB, free: 54.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0118/0.7694, allocations: 4.68 MB / 0.7598 GB, free: 49.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/0.7695, allocations: 59.34 kB / 0.7599 GB, free: 49.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7696, allocations: 7.953 kB / 0.7599 GB, free: 49.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005785/0.7754, allocations: 1.904 MB / 0.7618 GB, free: 47.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.7765, allocations: 183.7 kB / 0.7619 GB, free: 47.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.7954, allocations: 9.44 MB / 0.7712 GB, free: 37.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.7972, allocations: 203 kB / 0.7713 GB, free: 37.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.7975, allocations: 39.98 kB / 0.7714 GB, free: 37.42 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008348/0.7983, allocations: 288.5 kB / 0.7717 GB, free: 37.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/0.7988, allocations: 134.4 kB / 0.7718 GB, free: 36.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.8113, allocations: 4.717 MB / 0.7764 GB, free: 32.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.8114, allocations: 19.94 kB / 0.7764 GB, free: 32.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/0.8115, allocations: 4 kB / 0.7764 GB, free: 32.22 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-05/0.8115, allocations: 3.984 kB / 0.7764 GB, free: 32.22 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.0161/0.8276, allocations: 6.285 MB / 0.7826 GB, free: 25.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.8277, allocations: 0 / 0.7826 GB, free: 25.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/0.8284, allocations: 103.9 kB / 0.7827 GB, free: 25.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0052/0.8336, allocations: 1.857 MB / 0.7845 GB, free: 23.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/0.8338, allocations: 19.98 kB / 0.7845 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/0.8518, allocations: 10.14 MB / 0.7944 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8519, allocations: 0 / 0.7944 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/0.8656, allocations: 5.65 MB / 0.7999 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006147/0.8663, allocations: 231.2 kB / 0.8001 GB, free: 7.484 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/0.8668, allocations: 23.95 kB / 0.8002 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/0.8683, allocations: 147.9 kB / 0.8003 GB, free: 7.316 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006489/0.869, allocations: 188.7 kB / 0.8005 GB, free: 7.133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.8691, allocations: 28.25 kB / 0.8005 GB, free: 7.105 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001295/0.8704, allocations: 0.7196 MB / 0.8012 GB, free: 6.379 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8704, allocations: 0 / 0.8012 GB, free: 6.379 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001838/0.8723, allocations: 439.5 kB / 0.8016 GB, free: 5.949 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003533/0.8726, allocations: 156.4 kB / 0.8018 GB, free: 5.789 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00581/0.8784, allocations: 2.484 MB / 0.8042 GB, free: 3.262 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.8785, allocations: 4.25 kB / 0.8042 GB, free: 3.258 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004178/0.8827, allocations: 1.782 MB / 0.8059 GB, free: 1.434 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.8838, allocations: 104.6 kB / 0.806 GB, free: 1.328 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/0.8887, allocations: 2.648 MB / 0.8086 GB, free: 14.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008556/0.8896, allocations: 1.139 MB / 0.8097 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005255/0.8901, allocations: 102.8 kB / 0.8098 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.8904, allocations: 67.42 kB / 0.8099 GB, free: 13.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8904, allocations: 0 / 0.8099 GB, free: 13.31 MB / 490.7 MB Notification: Performance of Templates: time 0.03675/0.9272, allocations: 20.51 MB / 0.8299 GB, free: 8.828 MB / 0.4949 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)