Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.004238/0.004238, 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.171/1.171, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008668/0.0008668, allocations: 103.4 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4015/0.4015, allocations: 79.44 MB / 420.8 MB, free: 43.73 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 16 kB / 0.489 GB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2974, allocations: 69.49 MB / 0.5569 GB, free: 38.69 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.4002, allocations: 98.4 MB / 0.653 GB, free: 7.176 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.4005, allocations: 87.89 kB / 0.6531 GB, free: 7.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08469/0.4852, allocations: 33.47 MB / 0.6858 GB, free: 5.422 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4852, allocations: 0 / 0.6858 GB, free: 5.422 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.176e-05/0.4853, allocations: 24 kB / 0.6858 GB, free: 5.398 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.004277/0.4896, allocations: 1.81 MB / 0.6876 GB, free: 3.535 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.4896, allocations: 8.031 kB / 0.6876 GB, free: 3.527 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.4928, allocations: 0.5604 MB / 0.6881 GB, free: 2.965 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.4938, allocations: 0.7044 MB / 0.6888 GB, free: 2.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.4941, allocations: 264.2 kB / 0.6891 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.4942, allocations: 75.91 kB / 0.6891 GB, free: 1.836 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.4965, allocations: 1.234 MB / 0.6903 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4965, allocations: 0 / 0.6903 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/0.4966, allocations: 28 kB / 0.6904 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.4966, allocations: 20 kB / 0.6904 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.4985, allocations: 1.022 MB / 0.6914 GB, free: 15.51 MB / 0.4948 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.005566/0.5041, allocations: 3.551 MB / 0.6948 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0075/0.5116, allocations: 2.849 MB / 0.6976 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.5117, allocations: 16.64 kB / 0.6976 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.5117, allocations: 39.44 kB / 0.6977 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 4.358e-06/0.5118, allocations: 0 / 0.6977 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.0298/0.5416, allocations: 8.533 MB / 0.706 GB, free: 180 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.676e-05/0.5417, allocations: 89.77 kB / 0.7061 GB, free: 72 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.5429, allocations: 0.8083 MB / 0.7069 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.543, allocations: 37.7 kB / 0.7069 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.5434, allocations: 481 kB / 0.7074 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.5437, allocations: 303.5 kB / 0.7077 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.5438, allocations: 20 kB / 0.7077 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5439, allocations: 337.9 kB / 0.708 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.5451, allocations: 0.5759 MB / 0.7086 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.5464, allocations: 0.7565 MB / 0.7093 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.5476, allocations: 0.6374 MB / 0.7099 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5476, allocations: 11.89 kB / 0.71 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01278/0.5604, allocations: 4.497 MB / 0.7143 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.5604, allocations: 8 kB / 0.7144 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.5604, allocations: 4 kB / 0.7144 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005827/0.5663, allocations: 1.844 MB / 0.7162 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/0.5669, allocations: 147.8 kB / 0.7163 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/0.5864, allocations: 9.218 MB / 0.7253 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.5878, allocations: 163.3 kB / 0.7255 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/0.5879, allocations: 39.98 kB / 0.7255 GB, free: 11.95 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.0004816/0.5884, allocations: 247.9 kB / 0.7257 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/0.5893, allocations: 358.1 kB / 0.7261 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.6016, allocations: 4.428 MB / 0.7304 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.6016, allocations: 8 kB / 0.7304 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.6017, allocations: 8 kB / 0.7304 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.6017, allocations: 7.969 kB / 0.7304 GB, free: 6.871 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.01388/0.6156, allocations: 5.811 MB / 0.7361 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.6156, allocations: 3.984 kB / 0.7361 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/0.6162, allocations: 107.9 kB / 0.7362 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005534/0.6218, allocations: 1.864 MB / 0.738 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.6219, allocations: 27.98 kB / 0.738 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/0.6404, allocations: 11.2 MB / 0.749 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6404, allocations: 0 / 0.749 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/0.655, allocations: 5.529 MB / 0.7544 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/0.6554, allocations: 219.4 kB / 0.7546 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.6556, allocations: 16.25 kB / 0.7546 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009771/0.6565, allocations: 131.9 kB / 0.7547 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004636/0.657, allocations: 168.7 kB / 0.7549 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.398e-05/0.6571, allocations: 27.98 kB / 0.7549 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008105/0.6579, allocations: 0.6278 MB / 0.7555 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.773e-06/0.6579, allocations: 0 / 0.7555 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001121/0.6591, allocations: 407.6 kB / 0.7559 GB, free: 12.23 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002626/0.6593, allocations: 148.4 kB / 0.7561 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005268/0.6646, allocations: 2.266 MB / 0.7583 GB, free: 9.809 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6646, allocations: 0 / 0.7583 GB, free: 9.809 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00379/0.6684, allocations: 1.532 MB / 0.7598 GB, free: 8.262 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6695, allocations: 361.8 kB / 0.7601 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.6731, allocations: 2.42 MB / 0.7625 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.6736, allocations: 1.103 MB / 0.7636 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002946/0.6739, allocations: 82.02 kB / 0.7636 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.6741, allocations: 63.42 kB / 0.7637 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.6741, allocations: 0 / 0.7637 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of Templates: time 0.2086/0.8827, allocations: 18.36 MB / 0.7816 GB, free: 148 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)