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: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 174.6 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.216/1.216, 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.0008565/0.0008564, allocations: 85.88 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4152/0.4152, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.567e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2961, allocations: 69.34 MB / 0.5481 GB, free: 20.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.4068, allocations: 100.9 MB / 0.6466 GB, free: 15.47 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.407, allocations: 75.95 kB / 0.6467 GB, free: 15.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08045/0.4875, allocations: 29.83 MB / 0.6758 GB, free: 1.383 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4875, allocations: 0 / 0.6758 GB, free: 1.383 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001233/0.4877, allocations: 24 kB / 0.6759 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.2518/0.7395, allocations: 1.468 MB / 0.6773 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.7396, allocations: 12.88 kB / 0.6773 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004029/0.74, allocations: 107.5 kB / 0.6774 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/0.7428, allocations: 416.3 kB / 0.6778 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.7448, allocations: 0.8642 MB / 0.6786 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002973/0.7451, allocations: 247 kB / 0.6789 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.7453, allocations: 69.02 kB / 0.6789 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.7471, allocations: 0.8546 MB / 0.6798 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.7471, allocations: 0 / 0.6798 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.7472, allocations: 25.91 kB / 0.6798 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.7472, allocations: 15.34 kB / 0.6798 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.7487, allocations: 0.7834 MB / 0.6806 GB, free: 103.7 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.006717/0.7554, allocations: 3.622 MB / 0.6841 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/0.7687, allocations: 4.003 MB / 0.688 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007727/0.7695, allocations: 492 kB / 0.6885 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.7696, allocations: 10.25 kB / 0.6885 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.7696, allocations: 46.66 kB / 0.6886 GB, free: 102.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.384e-06/0.7696, allocations: 0 / 0.6886 GB, free: 102.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005467/0.7751, allocations: 2.148 MB / 0.6906 GB, free: 102.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.7752, allocations: 111.4 kB / 0.6908 GB, free: 102.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.7765, allocations: 0.939 MB / 0.6917 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-05/0.7766, allocations: 37.7 kB / 0.6917 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.7769, allocations: 483.8 kB / 0.6922 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.7771, allocations: 273.2 kB / 0.6924 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.7772, allocations: 15.78 kB / 0.6924 GB, free: 101.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.7772, allocations: 339.1 kB / 0.6928 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.7778, allocations: 430.6 kB / 0.6932 GB, free: 101 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.7785, allocations: 0.5304 MB / 0.6937 GB, free: 100.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/0.7791, allocations: 475 kB / 0.6942 GB, free: 100.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7792, allocations: 0 / 0.6942 GB, free: 100.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005803/0.785, allocations: 2.39 MB / 0.6965 GB, free: 99.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.7851, allocations: 0.616 MB / 0.6971 GB, free: 99.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7851, allocations: 7.062 kB / 0.6971 GB, free: 99.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003228/0.7884, allocations: 0.9589 MB / 0.698 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008287/0.7892, allocations: 157.5 kB / 0.6982 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/0.7957, allocations: 4.179 MB / 0.7023 GB, free: 96.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.7971, allocations: 187.2 kB / 0.7024 GB, free: 96.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.7973, allocations: 26.59 kB / 0.7025 GB, free: 96.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.7973, allocations: 6.156 kB / 0.7025 GB, free: 96.21 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005522/0.8028, allocations: 2.245 MB / 0.7047 GB, free: 95.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8028, allocations: 3.562 kB / 0.7047 GB, free: 95.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003163/0.806, allocations: 0.9631 MB / 0.7056 GB, free: 95.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/0.8068, allocations: 149.1 kB / 0.7057 GB, free: 95.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006695/0.8135, allocations: 4.167 MB / 0.7098 GB, free: 92.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.815, allocations: 161.4 kB / 0.71 GB, free: 92.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.8151, allocations: 24 kB / 0.71 GB, free: 92.16 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.0002494/0.8154, allocations: 145.7 kB / 0.7101 GB, free: 92.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.8157, allocations: 118.5 kB / 0.7102 GB, free: 91.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00531/0.821, allocations: 2.244 MB / 0.7124 GB, free: 90.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8211, allocations: 8 kB / 0.7124 GB, free: 90.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8211, allocations: 4 kB / 0.7124 GB, free: 90.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.8211, allocations: 6.75 kB / 0.7125 GB, free: 90.06 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.006948/0.828, allocations: 3.836 MB / 0.7162 GB, free: 86.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8281, allocations: 0 / 0.7162 GB, free: 86.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/0.8287, allocations: 118.3 kB / 0.7163 GB, free: 86.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/0.8312, allocations: 0.8455 MB / 0.7171 GB, free: 86.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.243e-05/0.8313, allocations: 26.77 kB / 0.7172 GB, free: 86.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004842/0.8362, allocations: 3.364 MB / 0.7205 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8362, allocations: 0 / 0.7205 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005844/0.842, allocations: 2.895 MB / 0.7233 GB, free: 80.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.8425, allocations: 236.9 kB / 0.7235 GB, free: 80.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.8427, allocations: 23.95 kB / 0.7235 GB, free: 80.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.8439, allocations: 126 kB / 0.7236 GB, free: 80.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.8442, allocations: 139.3 kB / 0.7238 GB, free: 79.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.8443, allocations: 16 kB / 0.7238 GB, free: 79.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000952/0.8453, allocations: 0.7279 MB / 0.7245 GB, free: 79.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8453, allocations: 0 / 0.7245 GB, free: 79.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001335/0.8466, allocations: 0.5455 MB / 0.725 GB, free: 78.73 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.006035/0.8527, allocations: 3.562 MB / 0.7285 GB, free: 75.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006132/0.8588, allocations: 3.072 MB / 0.7315 GB, free: 72.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.8588, allocations: 0 / 0.7315 GB, free: 72.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002379/0.8612, allocations: 1.218 MB / 0.7327 GB, free: 71.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.8619, allocations: 113 kB / 0.7328 GB, free: 71.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.8658, allocations: 2.136 MB / 0.7349 GB, free: 69.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.8663, allocations: 1.108 MB / 0.736 GB, free: 68.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008746/0.8672, allocations: 213.7 kB / 0.7362 GB, free: 68.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/0.8676, allocations: 404.9 kB / 0.7366 GB, free: 67.97 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.8676, allocations: 0 / 0.7366 GB, free: 67.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04683/0.9144, allocations: 31.47 MB / 0.7673 GB, free: 37.21 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/0.9146, allocations: 171.7 kB / 0.7675 GB, free: 36.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.684, allocations: 0 / 0.7675 GB, free: 36.97 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)