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.005067/0.005067, allocations: 170.8 kB / 15.11 MB, free: 6.039 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.305/1.305, allocations: 223.2 MB / 239 MB, free: 1.762 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.000969/0.0009688, allocations: 94.11 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4995/0.4995, allocations: 78.59 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 20 kB / 499.8 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4688, allocations: 69.35 MB / 0.5558 GB, free: 38.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.609, allocations: 101 MB / 0.6544 GB, free: 5.496 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.6092, allocations: 79.95 kB / 0.6545 GB, free: 5.418 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08418/0.6934, allocations: 29.88 MB / 0.6837 GB, free: 7.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6934, allocations: 0 / 0.6837 GB, free: 7.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001421/0.6936, allocations: 20 kB / 0.6837 GB, free: 7.391 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.006298/0.6999, allocations: 1.815 MB / 0.6855 GB, free: 5.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.7, allocations: 8.031 kB / 0.6855 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.7026, allocations: 430 kB / 0.6859 GB, free: 5.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.7051, allocations: 0.9463 MB / 0.6868 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/0.7055, allocations: 247.8 kB / 0.687 GB, free: 3.812 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/0.7057, allocations: 67.94 kB / 0.6871 GB, free: 3.746 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.7081, allocations: 1.003 MB / 0.6881 GB, free: 2.727 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.7081, allocations: 0 / 0.6881 GB, free: 2.727 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-05/0.7082, allocations: 28 kB / 0.6881 GB, free: 2.699 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.7082, allocations: 16 kB / 0.6881 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.7104, allocations: 0.9694 MB / 0.6891 GB, free: 1.711 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.007345/0.7177, allocations: 3.621 MB / 0.6926 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01525/0.733, allocations: 4.267 MB / 0.6968 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.7332, allocations: 16.62 kB / 0.6968 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.7332, allocations: 43.22 kB / 0.6968 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 3.467e-06/0.7333, allocations: 7.922 kB / 0.6968 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01563/0.7489, allocations: 4.638 MB / 0.7014 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.749, allocations: 119.4 kB / 0.7015 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/0.7514, allocations: 1.027 MB / 0.7025 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.7516, allocations: 37.7 kB / 0.7025 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.752, allocations: 480.9 kB / 0.703 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.7524, allocations: 280 kB / 0.7033 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.7525, allocations: 16 kB / 0.7033 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.7527, allocations: 334 kB / 0.7036 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.754, allocations: 0.5759 MB / 0.7041 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.7554, allocations: 0.6742 MB / 0.7048 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.7567, allocations: 0.616 MB / 0.7054 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.7568, allocations: 0 / 0.7054 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008184/0.7649, allocations: 2.801 MB / 0.7081 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002817/0.7653, allocations: 0.612 MB / 0.7087 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.7653, allocations: 4 kB / 0.7087 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004477/0.7698, allocations: 1.192 MB / 0.7099 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.7708, allocations: 159.8 kB / 0.7101 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.7819, allocations: 5.28 MB / 0.7152 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.7838, allocations: 187.1 kB / 0.7154 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.784, allocations: 27.95 kB / 0.7154 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.784, allocations: 4 kB / 0.7154 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007669/0.7917, allocations: 2.614 MB / 0.718 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.7917, allocations: 4 kB / 0.718 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004291/0.796, allocations: 1.187 MB / 0.7191 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/0.797, allocations: 151.8 kB / 0.7193 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.8082, allocations: 5.272 MB / 0.7244 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.8099, allocations: 159.3 kB / 0.7246 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.8102, allocations: 27.98 kB / 0.7246 GB, free: 12.6 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.0008407/0.811, allocations: 344.9 kB / 0.7249 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/0.8114, allocations: 110.6 kB / 0.725 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007531/0.819, allocations: 2.65 MB / 0.7276 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/0.8191, allocations: 8 kB / 0.7276 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/0.8191, allocations: 7.984 kB / 0.7277 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.8191, allocations: 3.984 kB / 0.7277 GB, free: 9.453 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.01073/0.8299, allocations: 4.232 MB / 0.7318 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.8299, allocations: 0 / 0.7318 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009056/0.8308, allocations: 119.8 kB / 0.7319 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003479/0.8343, allocations: 1.082 MB / 0.733 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/0.8345, allocations: 23.98 kB / 0.733 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008714/0.8433, allocations: 4.295 MB / 0.7372 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8433, allocations: 0 / 0.7372 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009239/0.8525, allocations: 3.437 MB / 0.7405 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.8532, allocations: 235.4 kB / 0.7408 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/0.8536, allocations: 16 kB / 0.7408 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.855, allocations: 127.9 kB / 0.7409 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000436/0.8555, allocations: 140.4 kB / 0.741 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.365e-05/0.8556, allocations: 20 kB / 0.741 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001942/0.8576, allocations: 0.8153 MB / 0.7418 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8576, allocations: 0 / 0.7418 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002059/0.8596, allocations: 0.5499 MB / 0.7424 GB, free: 10.07 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.0003509/0.86, allocations: 160.5 kB / 0.7425 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00879/0.8688, allocations: 3.475 MB / 0.7459 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.8688, allocations: 0 / 0.7459 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003429/0.8723, allocations: 1.381 MB / 0.7473 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.8735, allocations: 104 kB / 0.7474 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005574/0.879, allocations: 2.713 MB / 0.75 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/0.8799, allocations: 1.105 MB / 0.7511 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007344/0.8806, allocations: 130 kB / 0.7512 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.881, allocations: 59.42 kB / 0.7513 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of SimCode: time 9.61e-07/0.881, allocations: 3.938 kB / 0.7513 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of Templates: time 0.2617/1.143, allocations: 20.01 MB / 0.7708 GB, free: 146.3 MB / 0.5573 GB 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)