Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007073/0.007073, allocations: 169.5 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.189/1.189, allocations: 223.2 MB / 239.1 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.0009023/0.0009023, allocations: 99.05 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4088/0.4088, allocations: 79.43 MB / 420.8 MB, free: 43.67 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 12 kB / 0.489 GB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3344, allocations: 69.51 MB / 0.5569 GB, free: 38.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4587, allocations: 102.9 MB / 0.6574 GB, free: 2.719 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.459, allocations: 80.67 kB / 0.6575 GB, free: 2.641 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2452/0.7042, allocations: 101.8 MB / 0.7569 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7043, allocations: 4 kB / 0.7569 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002996/0.7046, allocations: 87.94 kB / 0.757 GB, free: 12.11 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.02031/0.7249, allocations: 6.644 MB / 0.7635 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.725, allocations: 8.031 kB / 0.7635 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.7416, allocations: 2.803 MB / 0.7662 GB, free: 2.555 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005476/0.7471, allocations: 2.329 MB / 0.7685 GB, free: 152 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2411/0.9882, allocations: 0.9531 MB / 0.7694 GB, free: 90.05 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/0.99, allocations: 345.9 kB / 0.7697 GB, free: 90.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/1.004, allocations: 4.956 MB / 0.7746 GB, free: 89.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.348e-05/1.004, allocations: 3.688 kB / 0.7746 GB, free: 89.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004372/1.004, allocations: 139.9 kB / 0.7747 GB, free: 89.86 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.156e-05/1.004, allocations: 84.06 kB / 0.7748 GB, free: 89.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008273/1.013, allocations: 4.515 MB / 0.7792 GB, free: 89.83 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 preOpt removeSimpleEquations (simulation): time 0.03022/1.043, allocations: 18.7 MB / 0.7975 GB, free: 83.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/1.055, allocations: 5.667 MB / 0.803 GB, free: 82.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/1.056, allocations: 70.5 kB / 0.8031 GB, free: 82.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/1.056, allocations: 72.36 kB / 0.8031 GB, free: 82.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=381): time 6.342e-06/1.056, allocations: 1.344 kB / 0.8031 GB, free: 82.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=381): time 0.2873/1.343, allocations: 78.5 MB / 0.8798 GB, free: 77.17 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/1.343, allocations: 179.5 kB / 0.88 GB, free: 76.97 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00382/1.347, allocations: 2.738 MB / 0.8826 GB, free: 75.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008546/1.348, allocations: 86.45 kB / 0.8827 GB, free: 75.29 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/1.349, allocations: 1.998 MB / 0.8847 GB, free: 74.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001623/1.351, allocations: 1.293 MB / 0.8859 GB, free: 73.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/1.351, allocations: 72 kB / 0.886 GB, free: 73.11 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.351, allocations: 447.6 kB / 0.8864 GB, free: 72.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.356, allocations: 2.663 MB / 0.889 GB, free: 70.38 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005339/1.361, allocations: 3.247 MB / 0.8922 GB, free: 67.31 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005274/1.366, allocations: 2.911 MB / 0.895 GB, free: 64.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/1.366, allocations: 4 kB / 0.895 GB, free: 64.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05318/1.42, allocations: 20.13 MB / 0.9147 GB, free: 44.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00095/1.421, allocations: 6.688 MB / 0.9212 GB, free: 37.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/1.421, allocations: 16 kB / 0.9212 GB, free: 37.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02416/1.445, allocations: 8.465 MB / 0.9295 GB, free: 28.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/1.448, allocations: 0.5661 MB / 0.9301 GB, free: 28.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0773/1.525, allocations: 36.73 MB / 0.9659 GB, free: 7.453 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006068/1.531, allocations: 0.7106 MB / 0.9666 GB, free: 6.742 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005106/1.532, allocations: 128 kB / 0.9667 GB, free: 6.617 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/1.532, allocations: 8 kB / 0.9668 GB, free: 6.609 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05645/1.588, allocations: 19.68 MB / 0.986 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.138e-05/1.588, allocations: 12 kB / 0.986 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2524/1.841, allocations: 8.471 MB / 0.9943 GB, free: 97.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/1.844, allocations: 0.5501 MB / 0.9948 GB, free: 97.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08198/1.926, allocations: 36.7 MB / 1.031 GB, free: 95.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005743/1.931, allocations: 0.6777 MB / 1.031 GB, free: 95.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005663/1.932, allocations: 135.1 kB / 1.031 GB, free: 95.32 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.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: 65 * 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 (326): * Single equations (assignments): 323 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.001962/1.934, allocations: 0.7305 MB / 1.032 GB, free: 95.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.935, allocations: 462.1 kB / 1.033 GB, free: 94.86 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05436/1.989, allocations: 20.46 MB / 1.053 GB, free: 94.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-05/1.989, allocations: 36.94 kB / 1.053 GB, free: 94.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.059e-05/1.99, allocations: 30.09 kB / 1.053 GB, free: 94.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.018e-05/1.99, allocations: 24.2 kB / 1.053 GB, free: 94.52 MB / 0.5886 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.0611/2.051, allocations: 25.73 MB / 1.078 GB, free: 88.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/2.051, allocations: 0 / 1.078 GB, free: 88.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/2.053, allocations: 412.7 kB / 1.078 GB, free: 88.92 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02377/2.077, allocations: 8.544 MB / 1.087 GB, free: 87.51 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008845/2.078, allocations: 71 kB / 1.087 GB, free: 87.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06749/2.145, allocations: 32.23 MB / 1.118 GB, free: 71.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.145, allocations: 0 / 1.118 GB, free: 71.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05913/2.205, allocations: 24.12 MB / 1.142 GB, free: 51.79 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/2.206, allocations: 0.5605 MB / 1.142 GB, free: 51.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001043/2.207, allocations: 60 kB / 1.142 GB, free: 51.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004298/2.211, allocations: 0.4977 MB / 1.143 GB, free: 50.85 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002765/2.214, allocations: 0.7683 MB / 1.143 GB, free: 50.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003696/2.215, allocations: 95.38 kB / 1.144 GB, free: 50.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002879/2.217, allocations: 2.099 MB / 1.146 GB, free: 48.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.21e-07/2.217, allocations: 2.438 kB / 1.146 GB, free: 48.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008308/2.226, allocations: 2.88 MB / 1.148 GB, free: 45.84 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (251): * Single equations (assignments): 249 * 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 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000629/2.226, allocations: 224.9 kB / 1.149 GB, free: 45.65 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04213/2.269, allocations: 16.93 MB / 1.165 GB, free: 31.15 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/2.269, allocations: 6 kB / 1.165 GB, free: 31.15 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01801/2.287, allocations: 6.91 MB / 1.172 GB, free: 25.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/2.29, allocations: 313.7 kB / 1.172 GB, free: 24.96 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/2.307, allocations: 9.819 MB / 1.182 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/2.309, allocations: 2.59 MB / 1.184 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002237/2.311, allocations: 359.7 kB / 1.185 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/2.312, allocations: 201 kB / 1.185 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of SimCode: time 8.11e-07/2.312, allocations: 0 / 1.185 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of Templates: time 0.3822/2.694, allocations: 106.1 MB / 1.288 GB, free: 112.8 MB / 0.6042 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)