Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004577/0.004577, allocations: 172.4 kB / 15.12 MB, free: 5.969 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.142/1.142, 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.0008468/0.0008468, allocations: 96.69 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3898/0.3898, allocations: 78.51 MB / 419.8 MB, free: 44.15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.000318, allocations: 12 kB / 499.7 MB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2764, allocations: 69.35 MB / 0.5557 GB, free: 38.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09978/0.3762, allocations: 97.72 MB / 0.6511 GB, free: 8.684 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.3765, allocations: 87.89 kB / 0.6512 GB, free: 8.598 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.079/0.4555, allocations: 32.84 MB / 0.6833 GB, free: 7.555 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4555, allocations: 4 kB / 0.6833 GB, free: 7.551 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.636e-05/0.4556, allocations: 27.94 kB / 0.6833 GB, free: 7.523 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004022/0.4596, allocations: 1.818 MB / 0.6851 GB, free: 5.652 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.4596, allocations: 8.031 kB / 0.6851 GB, free: 5.645 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/0.4627, allocations: 0.5565 MB / 0.6857 GB, free: 5.086 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.4637, allocations: 0.7084 MB / 0.6863 GB, free: 4.324 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.464, allocations: 268.2 kB / 0.6866 GB, free: 4.023 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.4641, allocations: 71.89 kB / 0.6867 GB, free: 3.953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.4662, allocations: 1.24 MB / 0.6879 GB, free: 2.691 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4662, allocations: 0 / 0.6879 GB, free: 2.691 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.078e-05/0.4663, allocations: 31.94 kB / 0.6879 GB, free: 2.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.4663, allocations: 24 kB / 0.6879 GB, free: 2.637 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.4681, allocations: 1.012 MB / 0.6889 GB, free: 1.621 MB / 490.7 MB 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.004983/0.4731, allocations: 3.52 MB / 0.6924 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007232/0.4803, allocations: 2.849 MB / 0.6951 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-05/0.4805, allocations: 16.64 kB / 0.6952 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.4805, allocations: 47.2 kB / 0.6952 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 2.645e-06/0.4805, allocations: 0 / 0.6952 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.02615/0.5066, allocations: 8.158 MB / 0.7032 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.5067, allocations: 97.7 kB / 0.7033 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.5078, allocations: 0.8043 MB / 0.7041 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.499e-05/0.5079, allocations: 37.7 kB / 0.7041 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.5082, allocations: 480.9 kB / 0.7045 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.5085, allocations: 303.6 kB / 0.7048 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.5085, allocations: 20 kB / 0.7049 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.5086, allocations: 341.9 kB / 0.7052 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.5097, allocations: 0.5759 MB / 0.7057 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.5109, allocations: 0.7564 MB / 0.7065 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.512, allocations: 0.6374 MB / 0.7071 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.5121, allocations: 4 kB / 0.7071 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01193/0.524, allocations: 4.497 MB / 0.7115 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.524, allocations: 15.92 kB / 0.7115 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.5241, allocations: 8 kB / 0.7115 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005588/0.5296, allocations: 1.84 MB / 0.7133 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.5303, allocations: 139.8 kB / 0.7135 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/0.5486, allocations: 9.224 MB / 0.7225 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.5498, allocations: 171.3 kB / 0.7226 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.5499, allocations: 32 kB / 0.7227 GB, free: 14.45 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.000458/0.5504, allocations: 255.4 kB / 0.7229 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009133/0.5513, allocations: 370.6 kB / 0.7232 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.563, allocations: 4.424 MB / 0.7276 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.5631, allocations: 12 kB / 0.7276 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5631, allocations: 7.984 kB / 0.7276 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.5631, allocations: 7.984 kB / 0.7276 GB, free: 9.352 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 postOpt removeSimpleEquations (simulation): time 0.0129/0.576, allocations: 5.8 MB / 0.7333 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.576, allocations: 0 / 0.7333 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.5766, allocations: 107.8 kB / 0.7334 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0052/0.5818, allocations: 1.864 MB / 0.7352 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/0.5819, allocations: 20 kB / 0.7352 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01775/0.5996, allocations: 11.21 MB / 0.7461 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5996, allocations: 3.953 kB / 0.7462 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/0.6134, allocations: 5.529 MB / 0.7515 GB, free: 340 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.6137, allocations: 211.5 kB / 0.7518 GB, free: 108 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.6139, allocations: 24.05 kB / 0.7518 GB, free: 84 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009673/0.6149, allocations: 119.9 kB / 0.7519 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/0.6153, allocations: 180.7 kB / 0.7521 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/0.6153, allocations: 20 kB / 0.7521 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007626/0.6161, allocations: 0.6356 MB / 0.7527 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6161, allocations: 0 / 0.7527 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00111/0.6172, allocations: 403.5 kB / 0.7531 GB, free: 14.73 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002516/0.6175, allocations: 152.3 kB / 0.7532 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005092/0.6226, allocations: 2.263 MB / 0.7554 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6226, allocations: 0 / 0.7554 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003592/0.6262, allocations: 1.508 MB / 0.7569 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.6273, allocations: 366.9 kB / 0.7573 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.6306, allocations: 2.423 MB / 0.7596 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.6312, allocations: 1.1 MB / 0.7607 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000276/0.6314, allocations: 78.02 kB / 0.7608 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.6316, allocations: 59.44 kB / 0.7608 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/0.6316, allocations: 0 / 0.7608 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of Templates: time 0.2024/0.8341, allocations: 18.36 MB / 0.7788 GB, free: 147.9 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)