Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008657/0.0008658, allocations: 180.2 kB / 7.65 MB, free: 1.414 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.353/1.353, allocations: 221.5 MB / 229.6 MB, free: 3.137 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.0008545/0.0008545, allocations: 89 kB / 280.5 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4234/0.4234, allocations: 78.13 MB / 409.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.616e-05, allocations: 4 kB / 485 MB, free: 4.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 69.35 MB / 0.5413 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4449, allocations: 98.34 MB / 0.6374 GB, free: 6.426 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4451, allocations: 79.95 kB / 0.6374 GB, free: 6.348 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0845/0.5296, allocations: 30.9 MB / 0.6676 GB, free: 7.246 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5297, allocations: 0 / 0.6676 GB, free: 7.246 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.613e-05/0.5298, allocations: 27.94 kB / 0.6676 GB, free: 7.219 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004313/0.5341, allocations: 1.744 MB / 0.6693 GB, free: 5.414 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.5342, allocations: 8.031 kB / 0.6693 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.5376, allocations: 0.5603 MB / 0.6699 GB, free: 4.844 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.539, allocations: 0.8039 MB / 0.6707 GB, free: 3.988 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/0.5392, allocations: 202.5 kB / 0.6709 GB, free: 3.758 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.5394, allocations: 55.89 kB / 0.6709 GB, free: 3.703 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00144/0.5408, allocations: 0.8201 MB / 0.6717 GB, free: 2.883 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.5424, allocations: 0.8455 MB / 0.6725 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.5424, allocations: 3.984 kB / 0.6726 GB, free: 2.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.5425, allocations: 3.984 kB / 0.6726 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.5425, allocations: 16 kB / 0.6726 GB, free: 2 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.2716/0.8141, allocations: 3.823 MB / 0.6763 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00784/0.822, allocations: 2.597 MB / 0.6788 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000842/0.8229, allocations: 0.5268 MB / 0.6794 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.823, allocations: 21.34 kB / 0.6794 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.823, allocations: 46.36 kB / 0.6794 GB, free: 103.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.585e-06/0.823, allocations: 0 / 0.6794 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01225/0.8353, allocations: 3.842 MB / 0.6832 GB, free: 103.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.8354, allocations: 138.6 kB / 0.6833 GB, free: 103.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.8365, allocations: 0.8472 MB / 0.6841 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.8367, allocations: 27.39 kB / 0.6842 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.8369, allocations: 0.5134 MB / 0.6847 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.8372, allocations: 333.1 kB / 0.685 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.8373, allocations: 2.25 kB / 0.685 GB, free: 102.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.593e-05/0.8373, allocations: 347 kB / 0.6853 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/0.838, allocations: 436.3 kB / 0.6857 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/0.8387, allocations: 0.5665 MB / 0.6863 GB, free: 102.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.8394, allocations: 498.2 kB / 0.6868 GB, free: 102.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.8394, allocations: 1.094 kB / 0.6868 GB, free: 102.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01109/0.8505, allocations: 4.037 MB / 0.6907 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.8508, allocations: 1.203 MB / 0.6919 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8508, allocations: 3.719 kB / 0.6919 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004988/0.8558, allocations: 1.533 MB / 0.6934 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.8566, allocations: 168.5 kB / 0.6935 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.8684, allocations: 7.72 MB / 0.7011 GB, free: 96.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.87, allocations: 170.1 kB / 0.7012 GB, free: 96.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.8701, allocations: 38.95 kB / 0.7013 GB, free: 96.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.385e-06/0.8701, allocations: 3.875 kB / 0.7013 GB, free: 96.13 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01083/0.881, allocations: 3.887 MB / 0.7051 GB, free: 95.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.881, allocations: 3.562 kB / 0.7051 GB, free: 95.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/0.8859, allocations: 1.526 MB / 0.7066 GB, free: 95.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007877/0.8867, allocations: 153.5 kB / 0.7067 GB, free: 95.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/0.8988, allocations: 7.715 MB / 0.7142 GB, free: 89.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.9004, allocations: 160.4 kB / 0.7144 GB, free: 89.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.9005, allocations: 35.66 kB / 0.7144 GB, free: 89.74 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" 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 (90): * Single equations (assignments): 86 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003466/0.9009, allocations: 150.6 kB / 0.7146 GB, free: 89.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.9011, allocations: 126.5 kB / 0.7147 GB, free: 89.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/0.9117, allocations: 3.947 MB / 0.7185 GB, free: 86.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.9118, allocations: 8 kB / 0.7186 GB, free: 86.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.9118, allocations: 8 kB / 0.7186 GB, free: 86.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/0.9118, allocations: 7.234 kB / 0.7186 GB, free: 86.4 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 postOpt removeSimpleEquations (simulation): time 0.01216/0.924, allocations: 5.528 MB / 0.724 GB, free: 82.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.924, allocations: 0 / 0.724 GB, free: 82.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/0.9247, allocations: 123.7 kB / 0.7241 GB, free: 82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004051/0.9287, allocations: 1.4 MB / 0.7255 GB, free: 80.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/0.9288, allocations: 8 kB / 0.7255 GB, free: 80.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009673/0.9385, allocations: 5.623 MB / 0.731 GB, free: 75.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9385, allocations: 0 / 0.731 GB, free: 75.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/0.9505, allocations: 4.696 MB / 0.7355 GB, free: 70.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.951, allocations: 230 kB / 0.7358 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.9512, allocations: 0 / 0.7358 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.9524, allocations: 123.9 kB / 0.7359 GB, free: 70.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/0.9529, allocations: 185 kB / 0.7361 GB, free: 70.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/0.953, allocations: 23.95 kB / 0.7361 GB, free: 70.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000748/0.9537, allocations: 0.6534 MB / 0.7367 GB, free: 69.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9537, allocations: 4 kB / 0.7367 GB, free: 69.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001736/0.9555, allocations: 0.636 MB / 0.7373 GB, free: 68.97 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,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 (69): * Single equations (assignments): 67 * 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.0002665/0.9558, allocations: 149.9 kB / 0.7375 GB, free: 68.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008427/0.9642, allocations: 3.773 MB / 0.7412 GB, free: 64.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.9642, allocations: 4 kB / 0.7412 GB, free: 64.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/0.9678, allocations: 1.427 MB / 0.7426 GB, free: 63.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.9687, allocations: 96.52 kB / 0.7427 GB, free: 63.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.9717, allocations: 1.896 MB / 0.7445 GB, free: 61.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.9722, allocations: 1.17 MB / 0.7457 GB, free: 60.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007709/0.973, allocations: 204.2 kB / 0.7458 GB, free: 60.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.9732, allocations: 51.44 kB / 0.7459 GB, free: 60.09 MB / 490.7 MB Notification: Performance of SimCode: time 5.42e-07/0.9732, allocations: 0 / 0.7459 GB, free: 60.09 MB / 490.7 MB Notification: Performance of Templates: time 0.03055/1.004, allocations: 26.68 MB / 0.772 GB, free: 33.55 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)