Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001493/0.001493, allocations: 172 kB / 12.73 MB, free: 2.586 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.181/1.181, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008415/0.0008418, allocations: 102.2 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4852/0.4852, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.374e-05, allocations: 8 kB / 491.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.273, allocations: 69.34 MB / 0.548 GB, free: 20.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.3845, allocations: 100.9 MB / 0.6466 GB, free: 15.61 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.3848, allocations: 67.97 kB / 0.6466 GB, free: 15.55 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08101/0.4658, allocations: 29.83 MB / 0.6758 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.4658, allocations: 0 / 0.6758 GB, free: 1.531 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001179/0.466, allocations: 27.92 kB / 0.6758 GB, free: 1.504 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.2724/0.7384, allocations: 1.465 MB / 0.6772 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.7384, allocations: 13.19 kB / 0.6772 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.7412, allocations: 413.3 kB / 0.6776 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.7428, allocations: 0.8619 MB / 0.6785 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.7431, allocations: 248.3 kB / 0.6787 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.7432, allocations: 73.03 kB / 0.6788 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.7448, allocations: 0.847 MB / 0.6796 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.7448, allocations: 6.797 kB / 0.6796 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.7449, allocations: 29.22 kB / 0.6796 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.7449, allocations: 16.36 kB / 0.6797 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.7463, allocations: 0.7781 MB / 0.6804 GB, free: 103.9 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.006834/0.7532, allocations: 3.624 MB / 0.684 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/0.7678, allocations: 4.005 MB / 0.6879 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009516/0.7688, allocations: 485 kB / 0.6883 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.7689, allocations: 10.28 kB / 0.6883 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.7689, allocations: 39 kB / 0.6884 GB, free: 102.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.885e-06/0.7689, allocations: 3.719 kB / 0.6884 GB, free: 102.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005761/0.7747, allocations: 2.15 MB / 0.6905 GB, free: 102.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.7748, allocations: 110.8 kB / 0.6906 GB, free: 102.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.7763, allocations: 0.9378 MB / 0.6915 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.7765, allocations: 40.64 kB / 0.6915 GB, free: 102.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.7767, allocations: 483.1 kB / 0.692 GB, free: 101.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.777, allocations: 273.3 kB / 0.6923 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.7771, allocations: 12 kB / 0.6923 GB, free: 101.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.7771, allocations: 339.8 kB / 0.6926 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/0.7778, allocations: 433.5 kB / 0.693 GB, free: 101.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006913/0.7785, allocations: 0.5277 MB / 0.6935 GB, free: 100.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.7792, allocations: 479.5 kB / 0.694 GB, free: 100.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.7792, allocations: 0 / 0.694 GB, free: 100.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005984/0.7852, allocations: 2.382 MB / 0.6963 GB, free: 99.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.7853, allocations: 0.628 MB / 0.6969 GB, free: 99.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7854, allocations: 1.125 kB / 0.6969 GB, free: 99.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003552/0.7889, allocations: 0.9617 MB / 0.6979 GB, free: 99.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.7898, allocations: 155 kB / 0.698 GB, free: 99.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006817/0.7967, allocations: 4.184 MB / 0.7021 GB, free: 96.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.7984, allocations: 183.2 kB / 0.7023 GB, free: 96.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.7986, allocations: 26.97 kB / 0.7023 GB, free: 96.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/0.7986, allocations: 3.688 kB / 0.7023 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005954/0.8046, allocations: 2.247 MB / 0.7045 GB, free: 95.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8046, allocations: 3.656 kB / 0.7045 GB, free: 95.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003396/0.808, allocations: 0.9569 MB / 0.7054 GB, free: 95.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008457/0.8089, allocations: 147.3 kB / 0.7056 GB, free: 95.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00695/0.8158, allocations: 4.164 MB / 0.7096 GB, free: 92.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.8174, allocations: 167.6 kB / 0.7098 GB, free: 92.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.8175, allocations: 35.02 kB / 0.7098 GB, free: 92.55 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.0002613/0.8178, allocations: 138.3 kB / 0.71 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.8182, allocations: 114.6 kB / 0.7101 GB, free: 92.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00568/0.8238, allocations: 2.252 MB / 0.7123 GB, free: 90.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.8239, allocations: 7.938 kB / 0.7123 GB, free: 90.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.8239, allocations: 7.281 kB / 0.7123 GB, free: 90.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.8239, allocations: 7.328 kB / 0.7123 GB, free: 90.45 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.007645/0.8316, allocations: 3.835 MB / 0.716 GB, free: 87.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.8316, allocations: 0 / 0.716 GB, free: 87.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007187/0.8323, allocations: 110.4 kB / 0.7161 GB, free: 87.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002611/0.8349, allocations: 0.8531 MB / 0.717 GB, free: 86.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/0.835, allocations: 19.56 kB / 0.717 GB, free: 86.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00515/0.8402, allocations: 3.362 MB / 0.7203 GB, free: 83.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8402, allocations: 0 / 0.7203 GB, free: 83.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006233/0.8464, allocations: 2.892 MB / 0.7231 GB, free: 80.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.8469, allocations: 230.9 kB / 0.7233 GB, free: 80.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.8471, allocations: 31.75 kB / 0.7234 GB, free: 80.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.8484, allocations: 128 kB / 0.7235 GB, free: 80.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/0.8487, allocations: 133.4 kB / 0.7236 GB, free: 80.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/0.8488, allocations: 16 kB / 0.7236 GB, free: 80.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009507/0.8497, allocations: 0.7295 MB / 0.7243 GB, free: 79.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8497, allocations: 4 kB / 0.7243 GB, free: 79.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001421/0.8512, allocations: 0.5444 MB / 0.7249 GB, free: 79.13 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.0002748/0.8514, allocations: 160.5 kB / 0.725 GB, free: 78.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006364/0.8578, allocations: 3.076 MB / 0.728 GB, free: 76.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8578, allocations: 0 / 0.728 GB, free: 76.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002498/0.8603, allocations: 1.219 MB / 0.7292 GB, free: 74.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006714/0.861, allocations: 99.92 kB / 0.7293 GB, free: 74.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.8644, allocations: 1.927 MB / 0.7312 GB, free: 73.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.8649, allocations: 1.111 MB / 0.7323 GB, free: 72.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009054/0.8658, allocations: 211.2 kB / 0.7325 GB, free: 71.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.8661, allocations: 51.38 kB / 0.7325 GB, free: 71.94 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.8661, allocations: 4 kB / 0.7325 GB, free: 71.93 MB / 490.7 MB Notification: Performance of Templates: time 0.02898/0.8951, allocations: 21.84 MB / 0.7539 GB, free: 51.07 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)