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.00138/0.00138, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.266/1.266, allocations: 221.4 MB / 234.6 MB, free: 14.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007842/0.0007843, allocations: 102.6 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.422/0.422, allocations: 78.91 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.729e-05, allocations: 7.984 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3022, allocations: 69.51 MB / 0.5491 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1162/0.4184, allocations: 101.6 MB / 0.6484 GB, free: 13.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.4186, allocations: 67.97 kB / 0.6484 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3319/0.7505, allocations: 30.02 MB / 0.6777 GB, free: 104.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.7506, allocations: 0 / 0.6777 GB, free: 104.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001552/0.7507, allocations: 19.22 kB / 0.6777 GB, free: 104.8 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.003839/0.7546, allocations: 1.462 MB / 0.6792 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.7546, allocations: 14.09 kB / 0.6792 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/0.757, allocations: 414.9 kB / 0.6796 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.7585, allocations: 0.8701 MB / 0.6804 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.7587, allocations: 247.8 kB / 0.6807 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.7589, allocations: 70.73 kB / 0.6807 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.7604, allocations: 0.8498 MB / 0.6816 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.7605, allocations: 4.469 kB / 0.6816 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/0.7605, allocations: 26.44 kB / 0.6816 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.7606, allocations: 17.88 kB / 0.6816 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.7619, allocations: 0.7781 MB / 0.6824 GB, free: 103.8 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.006095/0.768, allocations: 3.623 MB / 0.6859 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.7815, allocations: 4.006 MB / 0.6898 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/0.7823, allocations: 479.5 kB / 0.6903 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.991e-05/0.7824, allocations: 15.27 kB / 0.6903 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.7824, allocations: 42.09 kB / 0.6903 GB, free: 102.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 4.158e-06/0.7824, allocations: 0 / 0.6903 GB, free: 102.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005407/0.7878, allocations: 2.148 MB / 0.6924 GB, free: 102.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.7879, allocations: 112.4 kB / 0.6925 GB, free: 102.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.789, allocations: 0.9353 MB / 0.6935 GB, free: 102 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.852e-05/0.7891, allocations: 40.42 kB / 0.6935 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.7894, allocations: 478.3 kB / 0.694 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.7896, allocations: 279.6 kB / 0.6942 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.7896, allocations: 14.09 kB / 0.6942 GB, free: 101.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.7897, allocations: 340.3 kB / 0.6946 GB, free: 101 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005864/0.7903, allocations: 434.1 kB / 0.695 GB, free: 100.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.7909, allocations: 0.524 MB / 0.6955 GB, free: 100.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/0.7915, allocations: 478.5 kB / 0.6959 GB, free: 100.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7915, allocations: 0 / 0.6959 GB, free: 100.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005547/0.7971, allocations: 2.384 MB / 0.6983 GB, free: 99.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.7972, allocations: 0.6226 MB / 0.6989 GB, free: 98.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7972, allocations: 2.312 kB / 0.6989 GB, free: 98.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003185/0.8004, allocations: 0.9682 MB / 0.6998 GB, free: 98.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.8012, allocations: 157.7 kB / 0.7 GB, free: 98.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006379/0.8075, allocations: 4.171 MB / 0.704 GB, free: 96.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.809, allocations: 183.2 kB / 0.7042 GB, free: 96.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/0.8091, allocations: 26.83 kB / 0.7042 GB, free: 96.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.8091, allocations: 3.781 kB / 0.7042 GB, free: 96.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005518/0.8146, allocations: 2.254 MB / 0.7065 GB, free: 95.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8146, allocations: 0 / 0.7065 GB, free: 95.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.8178, allocations: 0.9612 MB / 0.7074 GB, free: 95.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.8186, allocations: 145.4 kB / 0.7075 GB, free: 95.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00644/0.825, allocations: 4.184 MB / 0.7116 GB, free: 91.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.8265, allocations: 162.2 kB / 0.7118 GB, free: 91.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.8266, allocations: 24 kB / 0.7118 GB, free: 91.13 MB / 490.7 MB 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.0002175/0.8268, allocations: 142.8 kB / 0.7119 GB, free: 90.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.827, allocations: 114.6 kB / 0.712 GB, free: 90.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005288/0.8323, allocations: 2.251 MB / 0.7142 GB, free: 89.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.964e-06/0.8324, allocations: 8 kB / 0.7142 GB, free: 89.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.8324, allocations: 4 kB / 0.7142 GB, free: 89.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.8324, allocations: 3.281 kB / 0.7142 GB, free: 89.03 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 postOpt removeSimpleEquations (simulation): time 0.00679/0.8392, allocations: 3.839 MB / 0.718 GB, free: 85.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8392, allocations: 0 / 0.718 GB, free: 85.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006776/0.8399, allocations: 109.7 kB / 0.7181 GB, free: 85.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/0.8425, allocations: 0.8537 MB / 0.7189 GB, free: 85.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/0.8426, allocations: 27.45 kB / 0.719 GB, free: 85.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/0.8474, allocations: 3.359 MB / 0.7222 GB, free: 81.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8475, allocations: 4 kB / 0.7222 GB, free: 81.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005969/0.8534, allocations: 2.895 MB / 0.7251 GB, free: 79.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.8539, allocations: 229.8 kB / 0.7253 GB, free: 79.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.854, allocations: 23.95 kB / 0.7253 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.8552, allocations: 128 kB / 0.7254 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002966/0.8555, allocations: 138.8 kB / 0.7256 GB, free: 78.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.8555, allocations: 20 kB / 0.7256 GB, free: 78.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000857/0.8564, allocations: 0.737 MB / 0.7263 GB, free: 78.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8564, allocations: 0 / 0.7263 GB, free: 78.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001256/0.8577, allocations: 0.5383 MB / 0.7268 GB, free: 77.69 MB / 490.7 MB 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.0002659/0.8579, allocations: 159.2 kB / 0.727 GB, free: 77.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005932/0.8639, allocations: 3.078 MB / 0.73 GB, free: 74.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8639, allocations: 4.375 kB / 0.73 GB, free: 74.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.8664, allocations: 1.218 MB / 0.7312 GB, free: 73.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.8671, allocations: 102.8 kB / 0.7313 GB, free: 73.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.8702, allocations: 1.926 MB / 0.7332 GB, free: 71.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.8706, allocations: 1.115 MB / 0.7343 GB, free: 70.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008171/0.8714, allocations: 211 kB / 0.7345 GB, free: 70.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.8716, allocations: 46.72 kB / 0.7345 GB, free: 70.48 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.8716, allocations: 0 / 0.7345 GB, free: 70.48 MB / 490.7 MB Notification: Performance of Templates: time 0.02557/0.8972, allocations: 21.85 MB / 0.7558 GB, free: 49.38 MB / 490.7 MB 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)