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.001374/0.001374, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.238/1.238, allocations: 221.5 MB / 229.6 MB, free: 3.176 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.0007904/0.0007904, allocations: 93.69 kB / 280.5 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4618/0.4618, allocations: 78.94 MB / 410.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.287e-05/1.29e-05, allocations: 0 / 485.9 MB, free: 3.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3549, allocations: 69.52 MB / 0.5424 GB, free: 21.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.477, allocations: 98.62 MB / 0.6387 GB, free: 5.156 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.4773, allocations: 83.95 kB / 0.6388 GB, free: 5.074 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4532/0.9306, allocations: 61.24 MB / 0.6986 GB, free: 98.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.9306, allocations: 0 / 0.6986 GB, free: 98.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001143/0.9307, allocations: 56.25 kB / 0.6987 GB, free: 98.48 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.0104/0.9411, allocations: 3.733 MB / 0.7023 GB, free: 97.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9412, allocations: 9.031 kB / 0.7023 GB, free: 97.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009488/0.9507, allocations: 1.567 MB / 0.7039 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.9536, allocations: 1.458 MB / 0.7053 GB, free: 96.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004738/0.9541, allocations: 0.6191 MB / 0.7059 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003242/0.9544, allocations: 119.2 kB / 0.706 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003414/0.9578, allocations: 2.076 MB / 0.708 GB, free: 95.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003437/0.9613, allocations: 2.138 MB / 0.7101 GB, free: 94.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.9613, allocations: 3.938 kB / 0.7101 GB, free: 94.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.9615, allocations: 3.953 kB / 0.7101 GB, free: 94.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.9616, allocations: 44.91 kB / 0.7102 GB, free: 94.34 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.01611/0.9777, allocations: 9.322 MB / 0.7193 GB, free: 87.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00807/0.9858, allocations: 3.948 MB / 0.7231 GB, free: 84.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/0.9877, allocations: 1.374 MB / 0.7245 GB, free: 82.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.9879, allocations: 45.41 kB / 0.7245 GB, free: 82.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.988, allocations: 54.94 kB / 0.7246 GB, free: 82.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 5.62e-06/0.988, allocations: 0 / 0.7246 GB, free: 82.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03314/1.021, allocations: 11.91 MB / 0.7362 GB, free: 70.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/1.021, allocations: 124.8 kB / 0.7363 GB, free: 70.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/1.024, allocations: 1.483 MB / 0.7378 GB, free: 69.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007366/1.025, allocations: 25.7 kB / 0.7378 GB, free: 68.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/1.026, allocations: 1.12 MB / 0.7389 GB, free: 67.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.027, allocations: 0.7581 MB / 0.7396 GB, free: 67.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005104/1.027, allocations: 0 / 0.7396 GB, free: 67.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/1.028, allocations: 382.2 kB / 0.74 GB, free: 66.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/1.03, allocations: 1.11 MB / 0.7411 GB, free: 65.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/1.032, allocations: 1.401 MB / 0.7424 GB, free: 64.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/1.034, allocations: 1.222 MB / 0.7436 GB, free: 62.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.034, allocations: 4 kB / 0.7436 GB, free: 62.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03318/1.067, allocations: 12.01 MB / 0.7554 GB, free: 50.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004781/1.067, allocations: 2.725 MB / 0.758 GB, free: 47.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.067, allocations: 4 kB / 0.758 GB, free: 47.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01472/1.082, allocations: 4.975 MB / 0.7629 GB, free: 42.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/1.084, allocations: 323.5 kB / 0.7632 GB, free: 42.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03424/1.118, allocations: 17.55 MB / 0.7803 GB, free: 24.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/1.122, allocations: 445.8 kB / 0.7808 GB, free: 24.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/1.122, allocations: 76.55 kB / 0.7808 GB, free: 24.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/1.122, allocations: 4 kB / 0.7808 GB, free: 24.44 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03287/1.155, allocations: 11.7 MB / 0.7923 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.042e-05/1.155, allocations: 8 kB / 0.7923 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01525/1.17, allocations: 4.972 MB / 0.7971 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.172, allocations: 311.6 kB / 0.7974 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03709/1.209, allocations: 17.55 MB / 0.8146 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003917/1.213, allocations: 418 kB / 0.815 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/1.213, allocations: 71.98 kB / 0.815 GB, free: 5.293 MB / 0.4948 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.0006944/1.214, allocations: 165.9 kB / 0.8152 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006432/1.214, allocations: 268.6 kB / 0.8154 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03666/1.251, allocations: 12.16 MB / 0.8273 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/1.251, allocations: 24 kB / 0.8273 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.858e-05/1.251, allocations: 16 kB / 0.8274 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/1.251, allocations: 11.95 kB / 0.8274 GB, free: 8.617 MB / 0.5105 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.04315/1.295, allocations: 15.47 MB / 0.8425 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/1.295, allocations: 4 kB / 0.8425 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.297, allocations: 243.7 kB / 0.8427 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01509/1.312, allocations: 4.795 MB / 0.8474 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007327/1.312, allocations: 8 kB / 0.8474 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03306/1.346, allocations: 15.18 MB / 0.8622 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/1.346, allocations: 3.953 kB / 0.8622 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04031/1.386, allocations: 14.07 MB / 0.876 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/1.387, allocations: 373.2 kB / 0.8763 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000632/1.388, allocations: 4 kB / 0.8763 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/1.39, allocations: 331.7 kB / 0.8767 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001812/1.392, allocations: 0.5408 MB / 0.8772 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.393, allocations: 59.98 kB / 0.8772 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00162/1.394, allocations: 1.106 MB / 0.8783 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.394, allocations: 0 / 0.8783 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005141/1.399, allocations: 1.536 MB / 0.8798 GB, free: 2.574 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.0004689/1.4, allocations: 151.2 kB / 0.88 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02555/1.425, allocations: 9.093 MB / 0.8888 GB, free: 9.301 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/1.425, allocations: 4 kB / 0.8888 GB, free: 9.297 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0116/1.437, allocations: 3.787 MB / 0.8925 GB, free: 5.496 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/1.439, allocations: 156.1 kB / 0.8927 GB, free: 5.34 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008254/1.448, allocations: 3.874 MB / 0.8965 GB, free: 1.41 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3134/1.761, allocations: 1.787 MB / 0.8982 GB, free: 176.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002259/1.763, allocations: 350.4 kB / 0.8986 GB, free: 176.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/1.764, allocations: 105.1 kB / 0.8987 GB, free: 176.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/1.764, allocations: 0 / 0.8987 GB, free: 176.3 MB / 0.573 GB Notification: Performance of Templates: time 0.09964/1.864, allocations: 69.22 MB / 0.9663 GB, free: 142 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)