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.0008912/0.0008912, allocations: 168.8 kB / 7.645 MB, free: 1.434 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.222/1.222, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.0008956/0.0008955, allocations: 95.98 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4205/0.4205, allocations: 78.06 MB / 409.3 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.247e-05/1.25e-05, allocations: 0 / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 69.36 MB / 0.5413 GB, free: 6.875 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3504/0.4736, allocations: 100.3 MB / 0.6392 GB, free: 15.31 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.4739, allocations: 71.95 kB / 0.6393 GB, free: 15.24 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09439/0.5683, allocations: 29.49 MB / 0.6681 GB, free: 1.824 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5683, allocations: 1.312 kB / 0.6681 GB, free: 1.824 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.5684, allocations: 27.94 kB / 0.6681 GB, free: 1.797 MB / 474.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.005553/0.574, allocations: 1.458 MB / 0.6695 GB, free: 300 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.574, allocations: 9.438 kB / 0.6695 GB, free: 292 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004291/0.5784, allocations: 426 kB / 0.6699 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.5806, allocations: 0.8644 MB / 0.6708 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000474/0.5811, allocations: 219.8 kB / 0.671 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.5813, allocations: 47.94 kB / 0.671 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002236/0.5835, allocations: 0.7549 MB / 0.6718 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.5857, allocations: 0.7548 MB / 0.6725 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.5857, allocations: 3.984 kB / 0.6725 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.5859, allocations: 0 / 0.6725 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.5859, allocations: 16 kB / 0.6725 GB, free: 13.11 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.00936/0.5953, allocations: 3.507 MB / 0.676 GB, free: 9.484 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02432/0.6196, allocations: 3.965 MB / 0.6798 GB, free: 5.473 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.6211, allocations: 463.2 kB / 0.6803 GB, free: 5.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.6212, allocations: 16.77 kB / 0.6803 GB, free: 5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.6213, allocations: 43.33 kB / 0.6803 GB, free: 4.949 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 4.328e-06/0.6213, allocations: 1.406 kB / 0.6803 GB, free: 4.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.009976/0.6313, allocations: 2.097 MB / 0.6824 GB, free: 2.836 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/0.6314, allocations: 115.6 kB / 0.6825 GB, free: 2.695 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/0.6337, allocations: 0.8621 MB / 0.6833 GB, free: 1.816 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.6339, allocations: 25.7 kB / 0.6834 GB, free: 1.785 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/0.6345, allocations: 484.7 kB / 0.6838 GB, free: 1.309 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/0.6349, allocations: 267.9 kB / 0.6841 GB, free: 1.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.031e-05/0.635, allocations: 0 / 0.6841 GB, free: 1.043 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.6352, allocations: 342 kB / 0.6844 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.6364, allocations: 418.6 kB / 0.6848 GB, free: 300 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.6377, allocations: 0.5108 MB / 0.6853 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.639, allocations: 460.4 kB / 0.6857 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.639, allocations: 0 / 0.6857 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01084/0.6499, allocations: 2.32 MB / 0.688 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003793/0.6503, allocations: 0.6168 MB / 0.6886 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.6503, allocations: 0 / 0.6886 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005396/0.6557, allocations: 0.9523 MB / 0.6895 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.6569, allocations: 159.8 kB / 0.6897 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008749/0.6656, allocations: 4.082 MB / 0.6937 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.6674, allocations: 167.1 kB / 0.6938 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.6676, allocations: 28 kB / 0.6939 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.6676, allocations: 4 kB / 0.6939 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006289/0.6739, allocations: 2.156 MB / 0.696 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6739, allocations: 3.984 kB / 0.696 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003426/0.6773, allocations: 0.9421 MB / 0.6969 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.6781, allocations: 155.8 kB / 0.697 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007063/0.6852, allocations: 4.077 MB / 0.701 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.6866, allocations: 140.2 kB / 0.7012 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.6867, allocations: 31.95 kB / 0.7012 GB, free: 15.16 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.000231/0.6869, allocations: 116.9 kB / 0.7013 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.6872, allocations: 110.6 kB / 0.7014 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005639/0.6929, allocations: 2.165 MB / 0.7035 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6929, allocations: 12 kB / 0.7035 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.6929, allocations: 7.953 kB / 0.7035 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.6929, allocations: 7.984 kB / 0.7035 GB, free: 12.72 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.007672/0.7006, allocations: 3.689 MB / 0.7071 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7006, allocations: 2.438 kB / 0.7071 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/0.7013, allocations: 107.9 kB / 0.7072 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002667/0.704, allocations: 0.8511 MB / 0.7081 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/0.7041, allocations: 8 kB / 0.7081 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005499/0.7096, allocations: 3.27 MB / 0.7113 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7096, allocations: 0 / 0.7113 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006355/0.716, allocations: 2.837 MB / 0.7141 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.7164, allocations: 227.5 kB / 0.7143 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.7166, allocations: 8 kB / 0.7143 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.7178, allocations: 119.9 kB / 0.7144 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.7181, allocations: 132.5 kB / 0.7145 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.7182, allocations: 16 kB / 0.7145 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009622/0.7191, allocations: 0.6626 MB / 0.7152 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7191, allocations: 0 / 0.7152 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00153/0.7207, allocations: 0.4992 MB / 0.7157 GB, free: 40 kB / 0.5105 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.0002933/0.721, allocations: 158.7 kB / 0.7158 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006536/0.7275, allocations: 2.975 MB / 0.7187 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7275, allocations: 0 / 0.7187 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002565/0.7301, allocations: 1.199 MB / 0.7199 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.7307, allocations: 88.27 kB / 0.72 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.7344, allocations: 1.879 MB / 0.7218 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/0.7351, allocations: 1.107 MB / 0.7229 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008812/0.736, allocations: 204.7 kB / 0.7231 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.7362, allocations: 55.42 kB / 0.7231 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/0.7362, allocations: 3.938 kB / 0.7231 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of Templates: time 0.03007/0.7663, allocations: 19.71 MB / 0.7424 GB, free: 4.656 MB / 0.5417 GB 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)