Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005053/0.005053, allocations: 168.7 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.188/1.188, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008203/0.0008204, allocations: 105.5 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4165/0.4165, allocations: 79.43 MB / 420.8 MB, free: 43.62 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 16 kB / 0.489 GB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3038, allocations: 69.5 MB / 0.5569 GB, free: 39.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.4092, allocations: 101.7 MB / 0.6563 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.4094, allocations: 83.95 kB / 0.6564 GB, free: 3.762 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2347/0.6441, allocations: 100.8 MB / 0.7548 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6442, allocations: 3.938 kB / 0.7548 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002613/0.6444, allocations: 91.94 kB / 0.7549 GB, free: 14.24 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.02666/0.6711, allocations: 6.562 MB / 0.7613 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.6712, allocations: 8.031 kB / 0.7613 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01908/0.6903, allocations: 2.807 MB / 0.764 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005597/0.6959, allocations: 2.306 MB / 0.7663 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008511/0.6968, allocations: 0.9556 MB / 0.7672 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.6979, allocations: 347.9 kB / 0.7675 GB, free: 0.9531 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2795/0.9774, allocations: 4.937 MB / 0.7724 GB, free: 90.61 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.438e-05/0.9776, allocations: 1.375 kB / 0.7724 GB, free: 90.61 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004197/0.978, allocations: 136.5 kB / 0.7725 GB, free: 90.61 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/0.9781, allocations: 84.59 kB / 0.7726 GB, free: 90.61 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00977/0.9878, allocations: 4.511 MB / 0.777 GB, free: 90.57 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.03199/1.02, allocations: 18.63 MB / 0.7952 GB, free: 84.14 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/1.031, allocations: 5.647 MB / 0.8007 GB, free: 83.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/1.032, allocations: 63.78 kB / 0.8007 GB, free: 83.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/1.032, allocations: 80.11 kB / 0.8008 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 5.24e-06/1.032, allocations: 0 / 0.8008 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.2787/1.311, allocations: 76.59 MB / 0.8756 GB, free: 79.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/1.311, allocations: 177 kB / 0.8758 GB, free: 79.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/1.315, allocations: 2.706 MB / 0.8784 GB, free: 78.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000791/1.315, allocations: 89.64 kB / 0.8785 GB, free: 78.06 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/1.317, allocations: 1.981 MB / 0.8805 GB, free: 77.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.318, allocations: 1.293 MB / 0.8817 GB, free: 76.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/1.318, allocations: 67.75 kB / 0.8818 GB, free: 76.56 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.318, allocations: 445.5 kB / 0.8822 GB, free: 76.21 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004551/1.323, allocations: 2.648 MB / 0.8848 GB, free: 73.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004578/1.327, allocations: 3.231 MB / 0.8879 GB, free: 70.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004485/1.332, allocations: 2.897 MB / 0.8908 GB, free: 68.14 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/1.332, allocations: 8 kB / 0.8908 GB, free: 68.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.04967/1.382, allocations: 20.1 MB / 0.9104 GB, free: 48.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001132/1.383, allocations: 6.679 MB / 0.9169 GB, free: 41.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.383, allocations: 19.98 kB / 0.9169 GB, free: 41.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02388/1.407, allocations: 8.499 MB / 0.9252 GB, free: 33.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/1.409, allocations: 0.5366 MB / 0.9258 GB, free: 32.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07493/1.484, allocations: 36.88 MB / 0.9618 GB, free: 11.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00759/1.492, allocations: 0.7035 MB / 0.9625 GB, free: 10.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009033/1.493, allocations: 139.6 kB / 0.9626 GB, free: 10.84 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.493, allocations: 4.625 kB / 0.9626 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05311/1.546, allocations: 19.67 MB / 0.9818 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.435e-05/1.546, allocations: 16 kB / 0.9818 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2864/1.833, allocations: 8.501 MB / 0.9901 GB, free: 97.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/1.835, allocations: 0.5287 MB / 0.9906 GB, free: 97.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07649/1.912, allocations: 36.85 MB / 1.027 GB, free: 95.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00565/1.918, allocations: 0.6744 MB / 1.027 GB, free: 95.92 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/1.918, allocations: 134.9 kB / 1.027 GB, free: 95.92 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (320): * Single equations (assignments): 317 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.001965/1.92, allocations: 0.7286 MB / 1.028 GB, free: 95.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008006/1.921, allocations: 456.2 kB / 1.029 GB, free: 95.46 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05261/1.973, allocations: 20.42 MB / 1.049 GB, free: 95.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-05/1.973, allocations: 37.06 kB / 1.049 GB, free: 95.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-05/1.974, allocations: 29.44 kB / 1.049 GB, free: 95.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/1.974, allocations: 19.83 kB / 1.049 GB, free: 95.12 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.05701/2.031, allocations: 25.68 MB / 1.074 GB, free: 89.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-05/2.031, allocations: 0 / 1.074 GB, free: 89.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00228/2.033, allocations: 404.9 kB / 1.074 GB, free: 89.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0232/2.056, allocations: 8.551 MB / 1.082 GB, free: 88.52 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009031/2.057, allocations: 69.69 kB / 1.082 GB, free: 88.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0708/2.128, allocations: 32.25 MB / 1.114 GB, free: 74.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/2.128, allocations: 0 / 1.114 GB, free: 74.29 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05827/2.186, allocations: 24.06 MB / 1.137 GB, free: 54.92 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/2.188, allocations: 0.56 MB / 1.138 GB, free: 54.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007932/2.189, allocations: 68 kB / 1.138 GB, free: 54.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003761/2.193, allocations: 0.4968 MB / 1.139 GB, free: 53.97 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002542/2.195, allocations: 0.766 MB / 1.139 GB, free: 53.56 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/2.195, allocations: 94.66 kB / 1.139 GB, free: 53.47 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002405/2.198, allocations: 2.073 MB / 1.141 GB, free: 51.74 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.4e-07/2.198, allocations: 0 / 1.141 GB, free: 51.74 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006154/2.204, allocations: 2.864 MB / 1.144 GB, free: 49 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (249): * Single equations (assignments): 247 * 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.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004641/2.204, allocations: 214.4 kB / 1.144 GB, free: 48.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03715/2.242, allocations: 16.91 MB / 1.161 GB, free: 34.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/2.242, allocations: 0 / 1.161 GB, free: 34.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01703/2.259, allocations: 6.904 MB / 1.168 GB, free: 28.45 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/2.262, allocations: 312.4 kB / 1.168 GB, free: 28.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/2.275, allocations: 9.64 MB / 1.177 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/2.276, allocations: 2.582 MB / 1.18 GB, free: 17.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00172/2.278, allocations: 358.1 kB / 1.18 GB, free: 16.96 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007051/2.279, allocations: 196.8 kB / 1.18 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/2.279, allocations: 0 / 1.18 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of Templates: time 0.3919/2.671, allocations: 105.8 MB / 1.284 GB, free: 116.1 MB / 0.6042 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)