Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.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.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004331/0.004331, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.155/1.155, allocations: 223.2 MB / 239 MB, free: 1.77 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.0008391/0.0008391, allocations: 103.1 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3922/0.3922, allocations: 78.51 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 8 kB / 499.7 MB, free: 2.734 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2929, allocations: 69.36 MB / 0.5557 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.3973, allocations: 101 MB / 0.6544 GB, free: 5.355 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.3976, allocations: 79.95 kB / 0.6544 GB, free: 5.277 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07478/0.4724, allocations: 29.89 MB / 0.6836 GB, free: 7.254 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4724, allocations: 0 / 0.6836 GB, free: 7.254 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.392e-05/0.4725, allocations: 20 kB / 0.6836 GB, free: 7.234 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004716/0.4772, allocations: 1.811 MB / 0.6854 GB, free: 5.367 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.4773, allocations: 8.031 kB / 0.6854 GB, free: 5.359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.4795, allocations: 426 kB / 0.6858 GB, free: 4.941 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.4815, allocations: 0.9424 MB / 0.6867 GB, free: 3.945 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.4818, allocations: 251.8 kB / 0.687 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.482, allocations: 64 kB / 0.687 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.4839, allocations: 1.003 MB / 0.688 GB, free: 2.582 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.4839, allocations: 0 / 0.688 GB, free: 2.582 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-05/0.484, allocations: 32 kB / 0.6881 GB, free: 2.551 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.484, allocations: 19.98 kB / 0.6881 GB, free: 2.531 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.4859, allocations: 0.9617 MB / 0.689 GB, free: 1.566 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.00583/0.4917, allocations: 3.629 MB / 0.6926 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.5053, allocations: 4.268 MB / 0.6967 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.5054, allocations: 16.62 kB / 0.6967 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.5055, allocations: 43.22 kB / 0.6968 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 3.056e-06/0.5055, allocations: 0 / 0.6968 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01443/0.5199, allocations: 4.641 MB / 0.7013 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.52, allocations: 111.5 kB / 0.7014 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.5221, allocations: 1.031 MB / 0.7024 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.5223, allocations: 41.7 kB / 0.7025 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.5227, allocations: 472.9 kB / 0.7029 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.523, allocations: 280 kB / 0.7032 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.5231, allocations: 20 kB / 0.7032 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5232, allocations: 334 kB / 0.7035 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.5244, allocations: 0.5759 MB / 0.7041 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.5256, allocations: 0.6781 MB / 0.7048 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.5268, allocations: 0.6122 MB / 0.7054 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5268, allocations: 0 / 0.7054 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007543/0.5343, allocations: 2.798 MB / 0.7081 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002111/0.5346, allocations: 0.6214 MB / 0.7087 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5346, allocations: 0 / 0.7087 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004137/0.5387, allocations: 1.195 MB / 0.7099 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009365/0.5397, allocations: 163.7 kB / 0.71 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.55, allocations: 5.29 MB / 0.7152 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.5517, allocations: 179.1 kB / 0.7153 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.5519, allocations: 27.95 kB / 0.7154 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.5519, allocations: 4 kB / 0.7154 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007403/0.5593, allocations: 2.61 MB / 0.7179 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5594, allocations: 4 kB / 0.7179 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004052/0.5634, allocations: 1.187 MB / 0.7191 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/0.5643, allocations: 147.8 kB / 0.7192 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.5746, allocations: 5.285 MB / 0.7244 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.5762, allocations: 159.3 kB / 0.7245 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.5764, allocations: 23.98 kB / 0.7246 GB, free: 12.45 MB / 0.5261 GB 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 (80): * Single equations (assignments): 77 * 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 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007293/0.5771, allocations: 348.9 kB / 0.7249 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.5775, allocations: 110.6 kB / 0.725 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00693/0.5845, allocations: 2.646 MB / 0.7276 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.5845, allocations: 11.98 kB / 0.7276 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.5845, allocations: 8 kB / 0.7276 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.5845, allocations: 3.984 kB / 0.7276 GB, free: 9.297 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.009047/0.5936, allocations: 4.232 MB / 0.7317 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5936, allocations: 3.938 kB / 0.7318 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00071/0.5943, allocations: 111.8 kB / 0.7319 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003221/0.5975, allocations: 1.081 MB / 0.7329 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.429e-05/0.5976, allocations: 23.98 kB / 0.7329 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007882/0.6055, allocations: 4.287 MB / 0.7371 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6056, allocations: 0 / 0.7371 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007991/0.6136, allocations: 3.441 MB / 0.7405 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.614, allocations: 235.4 kB / 0.7407 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.6143, allocations: 20 kB / 0.7407 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.6155, allocations: 127.9 kB / 0.7408 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003694/0.6159, allocations: 132.4 kB / 0.741 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/0.616, allocations: 23.98 kB / 0.741 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001615/0.6176, allocations: 0.8075 MB / 0.7418 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6176, allocations: 0 / 0.7418 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001703/0.6194, allocations: 0.5538 MB / 0.7423 GB, free: 9.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1,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.000301/0.6197, allocations: 167 kB / 0.7425 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007984/0.6277, allocations: 3.479 MB / 0.7459 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6277, allocations: 0 / 0.7459 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003075/0.6308, allocations: 1.373 MB / 0.7472 GB, free: 4.742 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.6316, allocations: 99.69 kB / 0.7473 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.6364, allocations: 2.712 MB / 0.75 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/0.6372, allocations: 1.116 MB / 0.7511 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006403/0.6378, allocations: 125.9 kB / 0.7512 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.6381, allocations: 59.42 kB / 0.7512 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of SimCode: time 8.61e-07/0.6381, allocations: 0 / 0.7512 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of Templates: time 0.2228/0.8609, allocations: 20 MB / 0.7708 GB, free: 146.3 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)