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.0009703/0.0009704, allocations: 175.2 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.219/1.219, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0008633/0.0008633, allocations: 97.62 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4264/0.4264, allocations: 78.03 MB / 414.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.613e-05, allocations: 4 kB / 491.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2847, allocations: 69.35 MB / 0.5479 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.3935, allocations: 100.9 MB / 0.6465 GB, free: 15.46 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.3937, allocations: 79.95 kB / 0.6466 GB, free: 15.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07937/0.4731, allocations: 29.82 MB / 0.6757 GB, free: 1.379 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4732, allocations: 4 kB / 0.6757 GB, free: 1.375 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.719e-05/0.4732, allocations: 16 kB / 0.6757 GB, free: 1.359 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.2525/0.7258, allocations: 1.46 MB / 0.6772 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.7258, allocations: 13.56 kB / 0.6772 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.7288, allocations: 418.9 kB / 0.6776 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.7306, allocations: 0.8611 MB / 0.6784 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.7308, allocations: 245.6 kB / 0.6787 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.731, allocations: 74.61 kB / 0.6787 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.7326, allocations: 0.8495 MB / 0.6796 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.7326, allocations: 5.922 kB / 0.6796 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.748e-05/0.7327, allocations: 24.19 kB / 0.6796 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.7327, allocations: 15.31 kB / 0.6796 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.7341, allocations: 0.7786 MB / 0.6804 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.006633/0.7407, allocations: 3.63 MB / 0.6839 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/0.7547, allocations: 4.006 MB / 0.6878 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008186/0.7556, allocations: 486.8 kB / 0.6883 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-05/0.7557, allocations: 9.359 kB / 0.6883 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.7557, allocations: 45.92 kB / 0.6883 GB, free: 102.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/0.7557, allocations: 0 / 0.6883 GB, free: 102.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005872/0.7616, allocations: 2.146 MB / 0.6904 GB, free: 102.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.7617, allocations: 116 kB / 0.6905 GB, free: 102.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.7632, allocations: 0.9311 MB / 0.6915 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.7633, allocations: 41.64 kB / 0.6915 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.7636, allocations: 485.1 kB / 0.692 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.7639, allocations: 276.4 kB / 0.6922 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.7639, allocations: 15.84 kB / 0.6922 GB, free: 101.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.764, allocations: 336.2 kB / 0.6926 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000614/0.7646, allocations: 432.1 kB / 0.693 GB, free: 101 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.7653, allocations: 0.5222 MB / 0.6935 GB, free: 100.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000648/0.766, allocations: 482.5 kB / 0.6939 GB, free: 100.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.766, allocations: 0 / 0.6939 GB, free: 100.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006052/0.772, allocations: 2.385 MB / 0.6963 GB, free: 99.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.7722, allocations: 0.6291 MB / 0.6969 GB, free: 99.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.7722, allocations: 0 / 0.6969 GB, free: 99.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/0.7756, allocations: 0.9646 MB / 0.6978 GB, free: 98.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.7766, allocations: 161.5 kB / 0.698 GB, free: 98.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006675/0.7832, allocations: 4.173 MB / 0.7021 GB, free: 96.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.7848, allocations: 180.8 kB / 0.7022 GB, free: 96.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-05/0.7848, allocations: 29.91 kB / 0.7023 GB, free: 96.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.7849, allocations: 3.938 kB / 0.7023 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00573/0.7906, allocations: 2.245 MB / 0.7044 GB, free: 95.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.7906, allocations: 0 / 0.7044 GB, free: 95.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/0.7939, allocations: 0.9661 MB / 0.7054 GB, free: 95.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/0.7947, allocations: 143.9 kB / 0.7055 GB, free: 95.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00644/0.8011, allocations: 4.17 MB / 0.7096 GB, free: 92.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.8025, allocations: 154.8 kB / 0.7097 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.8026, allocations: 31.23 kB / 0.7098 GB, free: 92.17 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.0002208/0.8029, allocations: 148.3 kB / 0.7099 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.8031, allocations: 118.6 kB / 0.71 GB, free: 91.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005366/0.8085, allocations: 2.242 MB / 0.7122 GB, free: 90.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.8085, allocations: 8 kB / 0.7122 GB, free: 90.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8085, allocations: 7.875 kB / 0.7122 GB, free: 90.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.8085, allocations: 10.66 kB / 0.7122 GB, free: 90.07 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.007089/0.8156, allocations: 3.835 MB / 0.716 GB, free: 86.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8157, allocations: 0 / 0.716 GB, free: 86.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.8164, allocations: 110 kB / 0.7161 GB, free: 86.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/0.8189, allocations: 0.8552 MB / 0.7169 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/0.819, allocations: 23.28 kB / 0.717 GB, free: 86.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004948/0.824, allocations: 3.361 MB / 0.7202 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.824, allocations: 0 / 0.7202 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006164/0.8302, allocations: 2.899 MB / 0.7231 GB, free: 80.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.8306, allocations: 226.4 kB / 0.7233 GB, free: 80.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.8307, allocations: 23.33 kB / 0.7233 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.8319, allocations: 124.3 kB / 0.7234 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/0.8323, allocations: 142.8 kB / 0.7236 GB, free: 79.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.8324, allocations: 20 kB / 0.7236 GB, free: 79.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008587/0.8332, allocations: 0.7281 MB / 0.7243 GB, free: 79.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8332, allocations: 0 / 0.7243 GB, free: 79.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001383/0.8346, allocations: 0.5435 MB / 0.7248 GB, free: 78.74 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.0002675/0.8349, allocations: 155.8 kB / 0.725 GB, free: 78.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006109/0.841, allocations: 3.074 MB / 0.728 GB, free: 75.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.841, allocations: 4 kB / 0.728 GB, free: 75.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.8436, allocations: 1.217 MB / 0.7292 GB, free: 74.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.8443, allocations: 113.5 kB / 0.7293 GB, free: 74.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.8474, allocations: 1.926 MB / 0.7312 GB, free: 72.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.8479, allocations: 1.11 MB / 0.7322 GB, free: 71.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008115/0.8487, allocations: 212.4 kB / 0.7324 GB, free: 71.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.8489, allocations: 51.44 kB / 0.7325 GB, free: 71.55 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.8489, allocations: 0 / 0.7325 GB, free: 71.55 MB / 490.7 MB Notification: Performance of Templates: time 0.02539/0.8743, allocations: 21.84 MB / 0.7538 GB, free: 50.73 MB / 490.7 MB 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)