Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.231/1.231, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 89.81 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4762/0.4762, allocations: 78.9 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.782e-05, allocations: 8 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3304, allocations: 69.51 MB / 0.5491 GB, free: 19.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.5011, allocations: 99.28 MB / 0.6461 GB, free: 320 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5014, allocations: 79.95 kB / 0.6461 GB, free: 240 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4436/0.945, allocations: 62.05 MB / 0.7067 GB, free: 99.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.945, allocations: 0 / 0.7067 GB, free: 99.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002527/0.9453, allocations: 50.31 kB / 0.7068 GB, free: 99.32 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01283/0.9581, allocations: 3.732 MB / 0.7104 GB, free: 97.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.9582, allocations: 16.8 kB / 0.7105 GB, free: 97.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.9685, allocations: 1.572 MB / 0.712 GB, free: 96.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004605/0.9731, allocations: 1.459 MB / 0.7134 GB, free: 94.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007577/0.974, allocations: 0.6825 MB / 0.7141 GB, free: 94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.9751, allocations: 199.8 kB / 0.7143 GB, free: 93.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006621/0.9818, allocations: 2.407 MB / 0.7166 GB, free: 91.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-05/0.9819, allocations: 3.953 kB / 0.7166 GB, free: 91.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006039/0.9825, allocations: 76 kB / 0.7167 GB, free: 91.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-05/0.9825, allocations: 48 kB / 0.7167 GB, free: 91.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004448/0.987, allocations: 2.171 MB / 0.7189 GB, free: 89.09 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.01906/1.006, allocations: 9.645 MB / 0.7283 GB, free: 79.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009486/1.016, allocations: 4.025 MB / 0.7322 GB, free: 74.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/1.019, allocations: 1.436 MB / 0.7336 GB, free: 73.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/1.019, allocations: 45.95 kB / 0.7337 GB, free: 73.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/1.019, allocations: 56.56 kB / 0.7337 GB, free: 73.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 4.549e-06/1.019, allocations: 3.938 kB / 0.7337 GB, free: 73.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03829/1.057, allocations: 12.06 MB / 0.7455 GB, free: 61.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.058, allocations: 128.8 kB / 0.7456 GB, free: 61.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003515/1.061, allocations: 1.62 MB / 0.7472 GB, free: 59.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000822/1.062, allocations: 65.7 kB / 0.7473 GB, free: 59.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008932/1.063, allocations: 1.125 MB / 0.7484 GB, free: 58.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001366/1.064, allocations: 0.7931 MB / 0.7491 GB, free: 57.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005735/1.065, allocations: 40 kB / 0.7492 GB, free: 57.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/1.065, allocations: 386.2 kB / 0.7495 GB, free: 57.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/1.067, allocations: 1.153 MB / 0.7507 GB, free: 55.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/1.07, allocations: 1.456 MB / 0.7521 GB, free: 54.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/1.073, allocations: 1.265 MB / 0.7533 GB, free: 53.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/1.073, allocations: 4 kB / 0.7533 GB, free: 53.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03767/1.11, allocations: 12.21 MB / 0.7653 GB, free: 40.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005222/1.111, allocations: 2.732 MB / 0.7679 GB, free: 37.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/1.111, allocations: 8 kB / 0.7679 GB, free: 37.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01646/1.127, allocations: 5.219 MB / 0.773 GB, free: 32.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/1.129, allocations: 331.5 kB / 0.7733 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04058/1.17, allocations: 17.9 MB / 0.7908 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003916/1.174, allocations: 489.8 kB / 0.7913 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006173/1.174, allocations: 75.98 kB / 0.7914 GB, free: 13.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.174, allocations: 4 kB / 0.7914 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03558/1.21, allocations: 11.95 MB / 0.803 GB, free: 1.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/1.21, allocations: 7.953 kB / 0.803 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01723/1.227, allocations: 5.227 MB / 0.8082 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.229, allocations: 311.5 kB / 0.8085 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04805/1.277, allocations: 17.88 MB / 0.8259 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004079/1.281, allocations: 470 kB / 0.8264 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006553/1.282, allocations: 75.98 kB / 0.8264 GB, free: 9.625 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.001228/1.283, allocations: 226.1 kB / 0.8267 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.285, allocations: 272.6 kB / 0.8269 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0387/1.323, allocations: 12.38 MB / 0.839 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/1.323, allocations: 23.95 kB / 0.839 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-05/1.323, allocations: 20 kB / 0.839 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.019e-05/1.323, allocations: 11.95 kB / 0.8391 GB, free: 12.66 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.04455/1.368, allocations: 15.88 MB / 0.8546 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/1.368, allocations: 128 / 0.8546 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.37, allocations: 251.6 kB / 0.8548 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01615/1.386, allocations: 4.826 MB / 0.8595 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008166/1.387, allocations: 47.98 kB / 0.8596 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03785/1.425, allocations: 15.37 MB / 0.8746 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.425, allocations: 0 / 0.8746 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04165/1.467, allocations: 14.27 MB / 0.8885 GB, free: 9.629 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.468, allocations: 377.3 kB / 0.8889 GB, free: 9.238 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006142/1.469, allocations: 44 kB / 0.8889 GB, free: 9.195 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/1.471, allocations: 371.6 kB / 0.8893 GB, free: 8.832 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001993/1.473, allocations: 0.5447 MB / 0.8898 GB, free: 8.281 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/1.474, allocations: 52 kB / 0.8899 GB, free: 8.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001787/1.475, allocations: 1.242 MB / 0.8911 GB, free: 6.973 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.11e-07/1.475, allocations: 0 / 0.8911 GB, free: 6.973 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005308/1.481, allocations: 1.685 MB / 0.8927 GB, free: 5.285 MB / 0.573 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.0004601/1.481, allocations: 197 kB / 0.8929 GB, free: 5.082 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3292/1.811, allocations: 9.364 MB / 0.902 GB, free: 178.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.811, allocations: 1.75 kB / 0.902 GB, free: 178.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01342/1.824, allocations: 3.89 MB / 0.9058 GB, free: 177.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/1.826, allocations: 192.7 kB / 0.906 GB, free: 177.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/1.834, allocations: 3.968 MB / 0.9099 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/1.835, allocations: 1.784 MB / 0.9116 GB, free: 176 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001799/1.837, allocations: 361.6 kB / 0.912 GB, free: 175.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/1.837, allocations: 107.9 kB / 0.9121 GB, free: 175.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/1.837, allocations: 0 / 0.9121 GB, free: 175.9 MB / 0.573 GB Notification: Performance of Templates: time 0.1098/1.947, allocations: 74.83 MB / 0.9852 GB, free: 123.4 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)