Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004611/0.004611, allocations: 172 kB / 15.11 MB, free: 5.969 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.404/1.404, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0008817/0.0008818, allocations: 90.86 kB / 269.6 MB, free: 13.34 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.06198/0.06198, allocations: 12.61 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4197/0.4197, allocations: 78.51 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005049, allocations: 17.94 kB / 0.5285 GB, free: 35.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.141, allocations: 69.33 MB / 0.5962 GB, free: 3.809 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5691, allocations: 101.1 MB / 0.6949 GB, free: 35.53 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.5694, allocations: 79.44 kB / 0.695 GB, free: 35.53 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08183/0.6512, allocations: 31.83 MB / 0.7261 GB, free: 32.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6512, allocations: 0 / 0.7261 GB, free: 32.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.472e-05/0.6513, allocations: 27.41 kB / 0.7261 GB, free: 32.89 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004881/0.6562, allocations: 2.086 MB / 0.7282 GB, free: 31.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.6563, allocations: 11.77 kB / 0.7282 GB, free: 31.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.6594, allocations: 0.5766 MB / 0.7287 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.6607, allocations: 0.8278 MB / 0.7295 GB, free: 31.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.6609, allocations: 261.4 kB / 0.7298 GB, free: 31.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.661, allocations: 87.69 kB / 0.7299 GB, free: 31.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.6629, allocations: 1.158 MB / 0.731 GB, free: 31.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.6629, allocations: 7.938 kB / 0.731 GB, free: 31.15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/0.663, allocations: 25.91 kB / 0.731 GB, free: 31.15 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.6631, allocations: 19.62 kB / 0.731 GB, free: 31.15 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.6648, allocations: 1.067 MB / 0.7321 GB, free: 31.12 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.005554/0.6704, allocations: 3.886 MB / 0.7359 GB, free: 29.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007192/0.6776, allocations: 2.919 MB / 0.7387 GB, free: 29.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.6777, allocations: 22.23 kB / 0.7388 GB, free: 29.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/0.6792, allocations: 0.898 MB / 0.7396 GB, free: 29.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=98): time 3.106e-06/0.6792, allocations: 4 kB / 0.7396 GB, free: 29.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=98): time 0.02561/0.7048, allocations: 8.146 MB / 0.7476 GB, free: 26.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.7049, allocations: 119.6 kB / 0.7477 GB, free: 26.85 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.7065, allocations: 0.9623 MB / 0.7486 GB, free: 26.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.7067, allocations: 45 kB / 0.7487 GB, free: 26.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.707, allocations: 0.5154 MB / 0.7492 GB, free: 26.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.7073, allocations: 358.5 kB / 0.7495 GB, free: 26.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.7074, allocations: 19.09 kB / 0.7496 GB, free: 26.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.7074, allocations: 350.1 kB / 0.7499 GB, free: 25.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.7086, allocations: 0.6628 MB / 0.7505 GB, free: 25.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.7098, allocations: 0.7976 MB / 0.7513 GB, free: 25.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.7112, allocations: 0.7616 MB / 0.7521 GB, free: 25.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.7112, allocations: 3.938 kB / 0.7521 GB, free: 25.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01238/0.7236, allocations: 4.78 MB / 0.7567 GB, free: 23.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.7237, allocations: 63.2 kB / 0.7568 GB, free: 23.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.7237, allocations: 7.906 kB / 0.7568 GB, free: 23.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006273/0.73, allocations: 1.999 MB / 0.7587 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.731, allocations: 181.9 kB / 0.7589 GB, free: 23.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/0.7504, allocations: 10.8 MB / 0.7695 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.7524, allocations: 209.4 kB / 0.7697 GB, free: 18.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.7525, allocations: 42.09 kB / 0.7697 GB, free: 18.68 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-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 (99): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006559/0.7532, allocations: 288 kB / 0.77 GB, free: 18.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.7534, allocations: 128.9 kB / 0.7701 GB, free: 18.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.7657, allocations: 4.772 MB / 0.7748 GB, free: 17.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.7657, allocations: 19.08 kB / 0.7748 GB, free: 17.03 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.7658, allocations: 3.625 kB / 0.7748 GB, free: 17.03 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/0.7658, allocations: 11.55 kB / 0.7748 GB, free: 17.02 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.01427/0.7801, allocations: 6.364 MB / 0.781 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.7801, allocations: 0 / 0.781 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/0.7808, allocations: 111.7 kB / 0.7811 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005373/0.7862, allocations: 1.886 MB / 0.783 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/0.7865, allocations: 18.75 kB / 0.783 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01916/0.8057, allocations: 10.12 MB / 0.7929 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.8057, allocations: 4 kB / 0.7929 GB, free: 2.504 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.8206, allocations: 5.724 MB / 0.7985 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/0.8213, allocations: 239.2 kB / 0.7987 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.8215, allocations: 23.94 kB / 0.7987 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.8228, allocations: 143.9 kB / 0.7988 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000641/0.8234, allocations: 208.6 kB / 0.799 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/0.8235, allocations: 20 kB / 0.7991 GB, free: 12.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.8247, allocations: 0.7634 MB / 0.7998 GB, free: 11.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8248, allocations: 4 kB / 0.7998 GB, free: 11.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001417/0.8262, allocations: 451.5 kB / 0.8002 GB, free: 10.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003263/0.8265, allocations: 148.2 kB / 0.8004 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006318/0.8328, allocations: 2.653 MB / 0.803 GB, free: 8.023 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8329, allocations: 4.109 kB / 0.803 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004486/0.8374, allocations: 1.842 MB / 0.8048 GB, free: 6.145 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009845/0.8384, allocations: 112.4 kB / 0.8049 GB, free: 6.035 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.8427, allocations: 2.865 MB / 0.8077 GB, free: 3.148 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/0.8434, allocations: 1.159 MB / 0.8088 GB, free: 1.961 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004389/0.8438, allocations: 102.8 kB / 0.8089 GB, free: 1.855 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.8441, allocations: 63.44 kB / 0.809 GB, free: 1.793 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.8441, allocations: 0 / 0.809 GB, free: 1.793 MB / 490.7 MB Notification: Performance of Templates: time 0.03462/0.8787, allocations: 21.41 MB / 0.8299 GB, free: 12.41 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)