Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001613/0.001613, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008348/0.0008347, allocations: 87.42 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4497/0.4497, allocations: 78.94 MB / 410.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.4e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 69.53 MB / 0.5424 GB, free: 5.895 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.4762, allocations: 100.9 MB / 0.641 GB, free: 13.14 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/0.4764, allocations: 76.8 kB / 0.6411 GB, free: 13.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07837/0.5548, allocations: 29.68 MB / 0.6701 GB, free: 15.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5548, allocations: 0 / 0.6701 GB, free: 15.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.82e-05/0.5549, allocations: 20 kB / 0.6701 GB, free: 15.44 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.003294/0.5582, allocations: 1.462 MB / 0.6715 GB, free: 13.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5582, allocations: 8.031 kB / 0.6715 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.5604, allocations: 419.3 kB / 0.6719 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.5617, allocations: 0.8761 MB / 0.6728 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.562, allocations: 215.8 kB / 0.673 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.5621, allocations: 47.95 kB / 0.673 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001256/0.5634, allocations: 0.7485 MB / 0.6738 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.5647, allocations: 0.7586 MB / 0.6745 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5647, allocations: 4 kB / 0.6745 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.5648, allocations: 0 / 0.6745 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.5648, allocations: 16 kB / 0.6745 GB, free: 10.74 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005862/0.5707, allocations: 3.495 MB / 0.6779 GB, free: 7.133 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/0.5845, allocations: 3.98 MB / 0.6818 GB, free: 3.109 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006927/0.5853, allocations: 467.2 kB / 0.6823 GB, free: 2.652 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.86e-05/0.5854, allocations: 12.78 kB / 0.6823 GB, free: 2.637 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.5854, allocations: 39.28 kB / 0.6823 GB, free: 2.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.525e-06/0.5854, allocations: 5.219 kB / 0.6823 GB, free: 2.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005871/0.5913, allocations: 2.098 MB / 0.6844 GB, free: 484 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.5914, allocations: 115.5 kB / 0.6845 GB, free: 340 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.5926, allocations: 0.8622 MB / 0.6853 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.5927, allocations: 25.7 kB / 0.6854 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.593, allocations: 488.7 kB / 0.6858 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.5933, allocations: 271.9 kB / 0.6861 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.5933, allocations: 0 / 0.6861 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5935, allocations: 338 kB / 0.6864 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/0.5941, allocations: 418.6 kB / 0.6868 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/0.5948, allocations: 0.5145 MB / 0.6873 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.5955, allocations: 460.4 kB / 0.6877 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5956, allocations: 0.8438 kB / 0.6877 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006142/0.6017, allocations: 2.308 MB / 0.69 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.6019, allocations: 0.6179 MB / 0.6906 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.602, allocations: 4 kB / 0.6906 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003481/0.6054, allocations: 0.953 MB / 0.6915 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/0.6063, allocations: 163.8 kB / 0.6917 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007445/0.6137, allocations: 4.071 MB / 0.6957 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.6152, allocations: 167.1 kB / 0.6958 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.6153, allocations: 24 kB / 0.6959 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.6153, allocations: 6.156 kB / 0.6959 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006945/0.6222, allocations: 2.156 MB / 0.698 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6222, allocations: 4 kB / 0.698 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003478/0.6257, allocations: 0.9525 MB / 0.6989 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/0.6265, allocations: 147.8 kB / 0.699 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007246/0.6338, allocations: 4.081 MB / 0.703 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.6351, allocations: 139.3 kB / 0.7032 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.162e-05/0.6352, allocations: 27.95 kB / 0.7032 GB, free: 12.8 MB / 0.5105 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 () * 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.0002077/0.6354, allocations: 122.9 kB / 0.7033 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.6356, allocations: 110.6 kB / 0.7034 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00708/0.6427, allocations: 2.181 MB / 0.7055 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.6427, allocations: 8 kB / 0.7055 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.6428, allocations: 11.95 kB / 0.7056 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.6428, allocations: 3.984 kB / 0.7056 GB, free: 10.35 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01358/0.6564, allocations: 3.681 MB / 0.7092 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.6564, allocations: 0 / 0.7092 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.6578, allocations: 111.9 kB / 0.7093 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005151/0.663, allocations: 0.8435 MB / 0.7101 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.6631, allocations: 8 kB / 0.7101 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009973/0.6731, allocations: 3.281 MB / 0.7133 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.6731, allocations: 4.031 kB / 0.7133 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/0.6854, allocations: 2.823 MB / 0.7161 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005795/0.686, allocations: 231.4 kB / 0.7163 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.6863, allocations: 8 kB / 0.7163 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/0.6886, allocations: 115.9 kB / 0.7164 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005496/0.6891, allocations: 132.5 kB / 0.7165 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.6893, allocations: 23.98 kB / 0.7165 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001722/0.691, allocations: 0.6626 MB / 0.7172 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/0.691, allocations: 0 / 0.7172 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00245/0.6935, allocations: 0.4991 MB / 0.7177 GB, free: 13.66 MB / 0.5261 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 () * 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.0003802/0.6939, allocations: 144.1 kB / 0.7178 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01233/0.7062, allocations: 2.983 MB / 0.7207 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7063, allocations: 0 / 0.7207 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002902/0.7092, allocations: 1.198 MB / 0.7219 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.7098, allocations: 86.16 kB / 0.722 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.7133, allocations: 1.876 MB / 0.7238 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.714, allocations: 1.114 MB / 0.7249 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000896/0.7149, allocations: 208.7 kB / 0.7251 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.7151, allocations: 47.44 kB / 0.7251 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/0.7151, allocations: 0.75 kB / 0.7251 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of Templates: time 0.02979/0.7449, allocations: 19.73 MB / 0.7444 GB, free: 2.277 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)