Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003812/0.003812, allocations: 172 kB / 15.11 MB, free: 5.98 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.18/1.18, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008799/0.00088, allocations: 94.55 kB / 290.2 MB, free: 4.543 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4243/0.4243, allocations: 79.43 MB / 420.8 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003665, allocations: 12 kB / 0.489 GB, free: 6.402 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 69.52 MB / 0.5569 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3268/0.4462, allocations: 99.83 MB / 0.6544 GB, free: 1.438 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4464, allocations: 79.95 kB / 0.6545 GB, free: 1.359 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08281/0.5293, allocations: 32.46 MB / 0.6862 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5293, allocations: 1.594 kB / 0.6862 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.02e-05/0.5294, allocations: 20 kB / 0.6862 GB, free: 0.9062 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005232/0.5346, allocations: 2.06 MB / 0.6882 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5347, allocations: 8.031 kB / 0.6882 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/0.538, allocations: 0.575 MB / 0.6888 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.5394, allocations: 0.8096 MB / 0.6896 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.5398, allocations: 276.1 kB / 0.6899 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.5399, allocations: 83.91 kB / 0.6899 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.542, allocations: 1.149 MB / 0.6911 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.5421, allocations: 0 / 0.6911 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.897e-05/0.5422, allocations: 32 kB / 0.6911 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.5422, allocations: 20 kB / 0.6911 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.5442, allocations: 1.054 MB / 0.6921 GB, free: 10.68 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.006247/0.5504, allocations: 3.866 MB / 0.6959 GB, free: 6.641 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/0.5582, allocations: 2.904 MB / 0.6987 GB, free: 3.648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.5583, allocations: 24.97 kB / 0.6988 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/0.5599, allocations: 0.8803 MB / 0.6996 GB, free: 2.723 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.615e-06/0.5599, allocations: 2.25 kB / 0.6996 GB, free: 2.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.02809/0.588, allocations: 8.439 MB / 0.7079 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.5881, allocations: 111.8 kB / 0.708 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.5896, allocations: 0.9571 MB / 0.7089 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.5897, allocations: 41.7 kB / 0.709 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.5901, allocations: 0.517 MB / 0.7095 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.5904, allocations: 346.9 kB / 0.7098 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.5905, allocations: 20 kB / 0.7098 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5906, allocations: 350 kB / 0.7101 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.5919, allocations: 0.6504 MB / 0.7108 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.5933, allocations: 0.7887 MB / 0.7116 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.5946, allocations: 0.7589 MB / 0.7123 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.912e-06/0.5947, allocations: 4 kB / 0.7123 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01319/0.6079, allocations: 4.7 MB / 0.7169 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.6079, allocations: 55.41 kB / 0.7169 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.6079, allocations: 4 kB / 0.7169 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006286/0.6142, allocations: 1.924 MB / 0.7188 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.6155, allocations: 199.7 kB / 0.719 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/0.6353, allocations: 9.404 MB / 0.7282 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.6371, allocations: 199 kB / 0.7284 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/0.6372, allocations: 43.98 kB / 0.7284 GB, free: 4.883 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 2 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005817/0.6378, allocations: 292.5 kB / 0.7287 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.638, allocations: 130.4 kB / 0.7288 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/0.651, allocations: 4.756 MB / 0.7335 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.651, allocations: 12 kB / 0.7335 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.651, allocations: 8 kB / 0.7335 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6511, allocations: 7.938 kB / 0.7335 GB, free: 15.64 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.01478/0.6658, allocations: 6.328 MB / 0.7397 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.6659, allocations: 0 / 0.7397 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.6665, allocations: 104.5 kB / 0.7398 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005441/0.6719, allocations: 1.876 MB / 0.7416 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.672, allocations: 23.98 kB / 0.7416 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01937/0.6914, allocations: 10.13 MB / 0.7515 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6914, allocations: 5.062 kB / 0.7515 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.7063, allocations: 5.697 MB / 0.7571 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/0.7068, allocations: 231.3 kB / 0.7573 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/0.7071, allocations: 16 kB / 0.7573 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.7085, allocations: 143.9 kB / 0.7575 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005773/0.7091, allocations: 196.6 kB / 0.7577 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-05/0.7092, allocations: 35.56 kB / 0.7577 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001275/0.7105, allocations: 0.7475 MB / 0.7584 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.7105, allocations: 0 / 0.7584 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001469/0.712, allocations: 451.4 kB / 0.7589 GB, free: 5.234 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003186/0.7123, allocations: 157.6 kB / 0.759 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005914/0.7182, allocations: 2.514 MB / 0.7615 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7182, allocations: 0.75 kB / 0.7615 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004286/0.7225, allocations: 1.816 MB / 0.7632 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/0.7234, allocations: 109.3 kB / 0.7633 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.7278, allocations: 2.772 MB / 0.766 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.7284, allocations: 1.159 MB / 0.7672 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004481/0.7289, allocations: 94.89 kB / 0.7673 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.7292, allocations: 63.42 kB / 0.7673 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.7292, allocations: 1.688 kB / 0.7673 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of Templates: time 0.03295/0.7621, allocations: 20.95 MB / 0.7878 GB, free: 7.516 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)