Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006017/0.006017, 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.337/1.337, 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.0009644/0.0009642, allocations: 96.52 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4452/0.4452, allocations: 78.59 MB / 419.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 8 kB / 499.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3439, allocations: 69.35 MB / 0.5558 GB, free: 38.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.4544, allocations: 97.93 MB / 0.6514 GB, free: 8.586 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.4547, allocations: 87.94 kB / 0.6515 GB, free: 8.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1913/0.646, allocations: 60.9 MB / 0.711 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.646, allocations: 0 / 0.711 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001251/0.6462, allocations: 52 kB / 0.711 GB, free: 11.19 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01249/0.6587, allocations: 4.22 MB / 0.7151 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.6587, allocations: 11.97 kB / 0.7151 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00992/0.6687, allocations: 1.588 MB / 0.7167 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/0.672, allocations: 1.464 MB / 0.7181 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000622/0.6727, allocations: 0.6825 MB / 0.7188 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/0.6731, allocations: 188 kB / 0.719 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00621/0.6793, allocations: 3.07 MB / 0.722 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.6793, allocations: 0 / 0.722 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.6796, allocations: 79.95 kB / 0.722 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.6796, allocations: 44 kB / 0.7221 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006991/0.6866, allocations: 2.873 MB / 0.7249 GB, free: 12.72 MB / 0.5261 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.0185/0.7052, allocations: 9.6 MB / 0.7343 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.7168, allocations: 4.76 MB / 0.7389 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/0.7172, allocations: 41.84 kB / 0.739 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.7173, allocations: 56.56 kB / 0.739 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=227): time 4.728e-06/0.7173, allocations: 4 kB / 0.739 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=227): time 0.3616/1.079, allocations: 32.21 MB / 0.7705 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/1.079, allocations: 131.2 kB / 0.7706 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/1.082, allocations: 1.654 MB / 0.7722 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005058/1.082, allocations: 63.02 kB / 0.7723 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007388/1.083, allocations: 1.119 MB / 0.7734 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007884/1.084, allocations: 0.779 MB / 0.7741 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/1.084, allocations: 45.69 kB / 0.7742 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/1.084, allocations: 391.5 kB / 0.7745 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003682/1.088, allocations: 1.795 MB / 0.7763 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003761/1.091, allocations: 2.1 MB / 0.7783 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/1.095, allocations: 1.912 MB / 0.7802 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.095, allocations: 3 kB / 0.7802 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03945/1.134, allocations: 14.1 MB / 0.794 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004996/1.135, allocations: 2.733 MB / 0.7967 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/1.135, allocations: 4.906 kB / 0.7967 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0197/1.155, allocations: 6.374 MB / 0.8029 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.156, allocations: 315.7 kB / 0.8032 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06239/1.219, allocations: 26.5 MB / 0.8291 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/1.222, allocations: 491 kB / 0.8295 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/1.223, allocations: 80.2 kB / 0.8296 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/1.223, allocations: 3.969 kB / 0.8296 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03787/1.261, allocations: 13.79 MB / 0.8431 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.261, allocations: 7.5 kB / 0.8431 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0181/1.279, allocations: 6.37 MB / 0.8493 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.28, allocations: 304.7 kB / 0.8496 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05525/1.335, allocations: 26.51 MB / 0.8755 GB, free: 85.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/1.339, allocations: 463.6 kB / 0.8759 GB, free: 85.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.339, allocations: 79.73 kB / 0.876 GB, free: 85.36 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001099/1.34, allocations: 496.2 kB / 0.8765 GB, free: 84.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/1.341, allocations: 272.6 kB / 0.8767 GB, free: 84.62 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03804/1.379, allocations: 14.27 MB / 0.8907 GB, free: 73.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/1.379, allocations: 20 kB / 0.8907 GB, free: 73.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/1.379, allocations: 20 kB / 0.8907 GB, free: 73.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/1.379, allocations: 12.78 kB / 0.8907 GB, free: 73.6 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 postOpt removeSimpleEquations (simulation): time 0.04247/1.421, allocations: 17.76 MB / 0.9081 GB, free: 59.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.421, allocations: 0 / 0.9081 GB, free: 59.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/1.423, allocations: 250.7 kB / 0.9083 GB, free: 59.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01646/1.439, allocations: 6.081 MB / 0.9142 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004837/1.44, allocations: 43.98 kB / 0.9143 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05189/1.492, allocations: 22.67 MB / 0.9364 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.492, allocations: 3.938 kB / 0.9364 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04254/1.534, allocations: 16.8 MB / 0.9528 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008103/1.535, allocations: 373.2 kB / 0.9532 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/1.536, allocations: 43.98 kB / 0.9532 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/1.538, allocations: 363.7 kB / 0.9536 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001756/1.54, allocations: 0.5448 MB / 0.9541 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.54, allocations: 52 kB / 0.9542 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001485/1.542, allocations: 1.275 MB / 0.9554 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.542, allocations: 0 / 0.9554 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004196/1.546, allocations: 1.697 MB / 0.9571 GB, free: 9.836 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004079/1.546, allocations: 191.8 kB / 0.9572 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02785/1.574, allocations: 11.27 MB / 0.9682 GB, free: 14.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.574, allocations: 0 / 0.9682 GB, free: 14.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01319/1.588, allocations: 4.601 MB / 0.9727 GB, free: 9.773 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/1.589, allocations: 189 kB / 0.9729 GB, free: 9.586 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009328/1.598, allocations: 6.073 MB / 0.9789 GB, free: 3.453 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.6, allocations: 1.785 MB / 0.9806 GB, free: 1.641 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001148/1.601, allocations: 212.4 kB / 0.9808 GB, free: 1.438 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/1.601, allocations: 119.4 kB / 0.9809 GB, free: 1.324 MB / 0.573 GB Notification: Performance of SimCode: time 7.52e-07/1.601, allocations: 0 / 0.9809 GB, free: 1.324 MB / 0.573 GB Notification: Performance of Templates: time 0.3064/1.908, allocations: 70.97 MB / 1.05 GB, free: 122.7 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)