Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2") translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004684/0.004684, allocations: 170.6 kB / 15.11 MB, free: 6.039 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.115/1.115, allocations: 223.2 MB / 239 MB, free: 52 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.0008002/0.0008002, allocations: 99.22 kB / 290.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3952/0.3952, allocations: 79.43 MB / 420.8 MB, free: 36.31 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 12 kB / 0.489 GB, free: 6.328 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09857, allocations: 69.51 MB / 0.5569 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2725/0.3711, allocations: 101.8 MB / 0.6564 GB, free: 15.39 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.3714, allocations: 84.61 kB / 0.6564 GB, free: 15.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07257/0.444, allocations: 30.04 MB / 0.6858 GB, free: 1.344 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.444, allocations: 0 / 0.6858 GB, free: 1.344 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.13e-05/0.444, allocations: 16 kB / 0.6858 GB, free: 1.328 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004179/0.4482, allocations: 1.825 MB / 0.6876 GB, free: 15.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.4483, allocations: 8.031 kB / 0.6876 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.4504, allocations: 418 kB / 0.688 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.4521, allocations: 0.9462 MB / 0.6889 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.4523, allocations: 253.7 kB / 0.6892 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.4524, allocations: 68 kB / 0.6892 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.4542, allocations: 1.003 MB / 0.6902 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4542, allocations: 0 / 0.6902 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.4543, allocations: 27.19 kB / 0.6902 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.4543, allocations: 19.98 kB / 0.6902 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.4561, allocations: 0.9694 MB / 0.6912 GB, free: 11.65 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.005415/0.4615, allocations: 3.61 MB / 0.6947 GB, free: 7.914 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/0.4747, allocations: 4.283 MB / 0.6989 GB, free: 3.586 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-05/0.4748, allocations: 16.62 kB / 0.6989 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.4748, allocations: 41.34 kB / 0.699 GB, free: 3.523 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 1.683e-06/0.4748, allocations: 4 kB / 0.699 GB, free: 3.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.01179/0.4866, allocations: 4.301 MB / 0.7032 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.4867, allocations: 115.5 kB / 0.7033 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.4882, allocations: 1.023 MB / 0.7043 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/0.4883, allocations: 37.7 kB / 0.7043 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.4886, allocations: 473 kB / 0.7048 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.4888, allocations: 284 kB / 0.705 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.4889, allocations: 12 kB / 0.705 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.489, allocations: 337.9 kB / 0.7054 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.4901, allocations: 0.5681 MB / 0.7059 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.4912, allocations: 0.6742 MB / 0.7066 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.4923, allocations: 0.6131 MB / 0.7072 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4923, allocations: 0 / 0.7072 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007174/0.4995, allocations: 2.806 MB / 0.7099 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.4997, allocations: 0.6196 MB / 0.7105 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.4997, allocations: 3.953 kB / 0.7105 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004228/0.504, allocations: 1.239 MB / 0.7117 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.5047, allocations: 163.8 kB / 0.7119 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.5149, allocations: 5.576 MB / 0.7173 GB, free: 356 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.5162, allocations: 183.2 kB / 0.7175 GB, free: 172 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.5162, allocations: 20.88 kB / 0.7175 GB, free: 152 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.5163, allocations: 7.938 kB / 0.7175 GB, free: 144 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007046/0.5233, allocations: 2.625 MB / 0.7201 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.5233, allocations: 0 / 0.7201 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004202/0.5275, allocations: 1.239 MB / 0.7213 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.5282, allocations: 147.8 kB / 0.7214 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.5384, allocations: 5.573 MB / 0.7269 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.5395, allocations: 163.2 kB / 0.727 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.5396, allocations: 27.98 kB / 0.7271 GB, free: 6.238 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: G1.avr.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003957/0.54, allocations: 340.9 kB / 0.7274 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.5402, allocations: 114.6 kB / 0.7275 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006474/0.5467, allocations: 2.642 MB / 0.7301 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5467, allocations: 8 kB / 0.7301 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5467, allocations: 4 kB / 0.7301 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.5467, allocations: 7.984 kB / 0.7301 GB, free: 3.094 MB / 0.5105 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.008028/0.5547, allocations: 4.233 MB / 0.7342 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5547, allocations: 3.984 kB / 0.7342 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/0.5554, allocations: 115.9 kB / 0.7344 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003081/0.5585, allocations: 1.085 MB / 0.7354 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/0.5586, allocations: 23.95 kB / 0.7354 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007289/0.5659, allocations: 4.279 MB / 0.7396 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5659, allocations: 0 / 0.7396 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007378/0.5733, allocations: 3.445 MB / 0.743 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.5735, allocations: 228.5 kB / 0.7432 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.5737, allocations: 23.98 kB / 0.7432 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.5748, allocations: 131.9 kB / 0.7433 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.5751, allocations: 132.4 kB / 0.7435 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/0.5751, allocations: 20 kB / 0.7435 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001273/0.5764, allocations: 0.8114 MB / 0.7443 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.263e-06/0.5764, allocations: 0 / 0.7443 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001146/0.5776, allocations: 0.5499 MB / 0.7448 GB, free: 3.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002289/0.5778, allocations: 161.5 kB / 0.745 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007315/0.5851, allocations: 3.497 MB / 0.7484 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5851, allocations: 4 kB / 0.7484 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002818/0.588, allocations: 1.377 MB / 0.7497 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.5884, allocations: 107.5 kB / 0.7498 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.5923, allocations: 2.717 MB / 0.7525 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.5928, allocations: 1.108 MB / 0.7536 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004917/0.5933, allocations: 121.9 kB / 0.7537 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.5936, allocations: 63.42 kB / 0.7538 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.5936, allocations: 2.25 kB / 0.7538 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of Templates: time 0.02718/0.6208, allocations: 21.53 MB / 0.7748 GB, free: 4.906 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)