Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009351/0.0009353, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.3 MB / 213.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007669/0.0007668, allocations: 82.23 kB / 261.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06016/0.06016, allocations: 12.59 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4187/0.4187, allocations: 78.04 MB / 450.8 MB, free: 8.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.574e-05/1.552e-05, allocations: 6.812 kB / 0.5147 GB, free: 41.69 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09443, allocations: 69.32 MB / 0.5824 GB, free: 336 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.2114, allocations: 99.51 MB / 0.6796 GB, free: 12.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.2116, allocations: 79.95 kB / 0.6797 GB, free: 12.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3628/0.5745, allocations: 58.26 MB / 0.7365 GB, free: 75.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5745, allocations: 4 kB / 0.7365 GB, free: 75.22 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001582/0.5747, allocations: 53.03 kB / 0.7366 GB, free: 75.17 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01055/0.5852, allocations: 3.737 MB / 0.7402 GB, free: 71.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.5853, allocations: 12.03 kB / 0.7403 GB, free: 71.37 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009298/0.5946, allocations: 1.576 MB / 0.7418 GB, free: 69.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.5976, allocations: 1.464 MB / 0.7432 GB, free: 68.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005017/0.5981, allocations: 0.6045 MB / 0.7438 GB, free: 67.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005796/0.5987, allocations: 116 kB / 0.7439 GB, free: 67.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003613/0.6023, allocations: 2.077 MB / 0.746 GB, free: 65.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00373/0.6061, allocations: 2.146 MB / 0.7481 GB, free: 63.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.6061, allocations: 0 / 0.7481 GB, free: 63.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.6064, allocations: 0 / 0.7481 GB, free: 63.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.6064, allocations: 55.95 kB / 0.7481 GB, free: 63.14 MB / 474.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.01511/0.6215, allocations: 9.282 MB / 0.7572 GB, free: 53.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008298/0.6299, allocations: 3.962 MB / 0.761 GB, free: 49.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.6316, allocations: 1.37 MB / 0.7624 GB, free: 48.01 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.6319, allocations: 41.95 kB / 0.7624 GB, free: 47.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.632, allocations: 64.52 kB / 0.7625 GB, free: 47.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=228): time 3.606e-06/0.632, allocations: 0 / 0.7625 GB, free: 47.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=228): time 0.0336/0.6656, allocations: 11.9 MB / 0.7741 GB, free: 35.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.6657, allocations: 132.8 kB / 0.7742 GB, free: 35.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.6681, allocations: 1.483 MB / 0.7757 GB, free: 34.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005326/0.6686, allocations: 25.7 kB / 0.7757 GB, free: 34.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006998/0.6693, allocations: 1.132 MB / 0.7768 GB, free: 33.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009621/0.6703, allocations: 0.7542 MB / 0.7775 GB, free: 32.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.6707, allocations: 0 / 0.7775 GB, free: 32.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6708, allocations: 395.2 kB / 0.7779 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.6726, allocations: 1.11 MB / 0.779 GB, free: 30.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.6745, allocations: 1.404 MB / 0.7804 GB, free: 29.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.6763, allocations: 1.222 MB / 0.7816 GB, free: 28.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.6763, allocations: 0 / 0.7816 GB, free: 28.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03443/0.7107, allocations: 12.02 MB / 0.7933 GB, free: 16.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00053/0.7113, allocations: 2.723 MB / 0.796 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.7114, allocations: 4 kB / 0.796 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01577/0.7271, allocations: 4.981 MB / 0.8008 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.7289, allocations: 323.5 kB / 0.8011 GB, free: 7.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03834/0.7672, allocations: 17.56 MB / 0.8183 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/0.7709, allocations: 437.9 kB / 0.8187 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004599/0.7714, allocations: 75.98 kB / 0.8188 GB, free: 5.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.7714, allocations: 4 kB / 0.8188 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03684/0.8082, allocations: 11.71 MB / 0.8302 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/0.8083, allocations: 4 kB / 0.8302 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/0.8244, allocations: 4.973 MB / 0.8351 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.826, allocations: 303.6 kB / 0.8354 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03738/0.8634, allocations: 17.56 MB / 0.8525 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003408/0.8669, allocations: 418.1 kB / 0.8529 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002304/0.8671, allocations: 79.97 kB / 0.853 GB, free: 2.43 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 185 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006032/0.8677, allocations: 146.1 kB / 0.8531 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/0.8682, allocations: 268.7 kB / 0.8534 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0362/0.9044, allocations: 12.17 MB / 0.8653 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.9045, allocations: 20 kB / 0.8653 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/0.9045, allocations: 23.98 kB / 0.8653 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.435e-05/0.9046, allocations: 7.969 kB / 0.8653 GB, free: 5.762 MB / 0.5261 GB 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.04101/0.9456, allocations: 15.47 MB / 0.8804 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.9457, allocations: 0 / 0.8804 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.9472, allocations: 255.6 kB / 0.8807 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01469/0.9619, allocations: 4.787 MB / 0.8853 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004584/0.9624, allocations: 15.98 kB / 0.8854 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03498/0.9974, allocations: 15.16 MB / 0.9002 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.9975, allocations: 0 / 0.9002 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2986/1.296, allocations: 14.07 MB / 0.9139 GB, free: 153.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007644/1.297, allocations: 370.5 kB / 0.9143 GB, free: 153.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004613/1.297, allocations: 10.7 kB / 0.9143 GB, free: 153.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/1.3, allocations: 324.9 kB / 0.9146 GB, free: 153.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001564/1.302, allocations: 0.5453 MB / 0.9151 GB, free: 153.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.302, allocations: 59.09 kB / 0.9152 GB, free: 153.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001329/1.303, allocations: 1.108 MB / 0.9163 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/1.303, allocations: 0 / 0.9163 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00369/1.307, allocations: 1.536 MB / 0.9178 GB, free: 153.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003614/1.307, allocations: 149.6 kB / 0.9179 GB, free: 153.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02313/1.33, allocations: 9.092 MB / 0.9268 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.33, allocations: 0 / 0.9268 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01055/1.341, allocations: 3.799 MB / 0.9305 GB, free: 152.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.342, allocations: 155.4 kB / 0.9306 GB, free: 152.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/1.349, allocations: 3.881 MB / 0.9344 GB, free: 151.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/1.35, allocations: 1.796 MB / 0.9362 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001587/1.352, allocations: 348 kB / 0.9365 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/1.352, allocations: 101.7 kB / 0.9366 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of SimCode: time 7.71e-07/1.352, allocations: 0 / 0.9366 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.08006/1.432, allocations: 69.27 MB / 1.004 GB, free: 95.98 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)