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.00103/0.00103, allocations: 169 kB / 7.646 MB, free: 1.426 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.257/1.257, allocations: 221.5 MB / 229.6 MB, free: 7.551 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.0009437/0.0009436, allocations: 94.09 kB / 280.5 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4564/0.4564, allocations: 78.07 MB / 409.3 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.661e-05, allocations: 0 / 485 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 69.34 MB / 0.5414 GB, free: 6.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.5001, allocations: 100.3 MB / 0.6393 GB, free: 15.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.5004, allocations: 72.62 kB / 0.6394 GB, free: 15.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07927/0.5796, allocations: 29.51 MB / 0.6682 GB, free: 1.762 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5797, allocations: 0 / 0.6682 GB, free: 1.762 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.163e-05/0.5798, allocations: 25.78 kB / 0.6682 GB, free: 1.738 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.003375/0.5831, allocations: 1.463 MB / 0.6696 GB, free: 236 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5832, allocations: 16.02 kB / 0.6696 GB, free: 220 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.5855, allocations: 422.1 kB / 0.67 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.5868, allocations: 0.8643 MB / 0.6709 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.5871, allocations: 219.8 kB / 0.6711 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.5872, allocations: 43.94 kB / 0.6711 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001254/0.5884, allocations: 0.7524 MB / 0.6719 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.5897, allocations: 0.7587 MB / 0.6726 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5898, allocations: 0 / 0.6726 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.5898, allocations: 0 / 0.6726 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5899, allocations: 16 kB / 0.6726 GB, free: 13.04 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.006032/0.5959, allocations: 3.507 MB / 0.6761 GB, free: 9.422 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.6097, allocations: 3.971 MB / 0.6799 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007946/0.6105, allocations: 463.9 kB / 0.6804 GB, free: 4.953 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.6107, allocations: 16.77 kB / 0.6804 GB, free: 4.934 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.6107, allocations: 43.34 kB / 0.6804 GB, free: 4.883 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.226e-06/0.6107, allocations: 0 / 0.6804 GB, free: 4.883 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.006153/0.6169, allocations: 2.097 MB / 0.6825 GB, free: 2.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.617, allocations: 120.4 kB / 0.6826 GB, free: 2.625 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.6184, allocations: 0.8621 MB / 0.6834 GB, free: 1.746 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.6185, allocations: 25.7 kB / 0.6835 GB, free: 1.715 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.6189, allocations: 480.7 kB / 0.6839 GB, free: 1.242 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.6191, allocations: 267.9 kB / 0.6842 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.6192, allocations: 4 kB / 0.6842 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.6193, allocations: 337.9 kB / 0.6845 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.62, allocations: 414.6 kB / 0.6849 GB, free: 236 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007199/0.6207, allocations: 0.5233 MB / 0.6854 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/0.6214, allocations: 452.5 kB / 0.6858 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6214, allocations: 4 kB / 0.6858 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006333/0.6278, allocations: 2.312 MB / 0.6881 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.628, allocations: 0.6152 MB / 0.6887 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6281, allocations: 4 kB / 0.6887 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/0.6318, allocations: 0.9535 MB / 0.6896 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009688/0.6328, allocations: 155.8 kB / 0.6898 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007753/0.6405, allocations: 4.086 MB / 0.6938 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.6422, allocations: 166.4 kB / 0.6939 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.6424, allocations: 24.75 kB / 0.694 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.6425, allocations: 0 / 0.694 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006432/0.6489, allocations: 2.167 MB / 0.6961 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.6489, allocations: 4 kB / 0.6961 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003701/0.6527, allocations: 0.9456 MB / 0.697 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009596/0.6536, allocations: 143.8 kB / 0.6971 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007741/0.6614, allocations: 4.078 MB / 0.7011 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.6632, allocations: 139.3 kB / 0.7013 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.6634, allocations: 30.11 kB / 0.7013 GB, free: 15.11 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.000299/0.6637, allocations: 121.8 kB / 0.7014 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006824/0.6705, allocations: 2.09 MB / 0.7034 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005523/0.6711, allocations: 114.6 kB / 0.7036 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005958/0.6771, allocations: 2.173 MB / 0.7057 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.6771, allocations: 11.94 kB / 0.7057 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.6772, allocations: 4 kB / 0.7057 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.6772, allocations: 3.984 kB / 0.7057 GB, free: 10.55 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.00833/0.6855, allocations: 3.689 MB / 0.7093 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.6856, allocations: 2.75 kB / 0.7093 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008641/0.6864, allocations: 107.9 kB / 0.7094 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/0.6894, allocations: 0.8392 MB / 0.7102 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/0.6897, allocations: 11.98 kB / 0.7102 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005698/0.6954, allocations: 3.274 MB / 0.7134 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.6955, allocations: 8 kB / 0.7134 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006975/0.7024, allocations: 2.824 MB / 0.7162 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.7029, allocations: 227.4 kB / 0.7164 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.7031, allocations: 15.94 kB / 0.7164 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.7043, allocations: 111.9 kB / 0.7165 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/0.7047, allocations: 136.5 kB / 0.7167 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.7048, allocations: 24 kB / 0.7167 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000926/0.7057, allocations: 0.6599 MB / 0.7173 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7057, allocations: 3.938 kB / 0.7173 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001566/0.7073, allocations: 0.4991 MB / 0.7178 GB, free: 13.86 MB / 0.5261 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.007243/0.7146, allocations: 3.497 MB / 0.7212 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006879/0.7215, allocations: 2.979 MB / 0.7241 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7215, allocations: 0 / 0.7241 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002722/0.7242, allocations: 1.188 MB / 0.7253 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000801/0.7251, allocations: 88.28 kB / 0.7254 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.7293, allocations: 2.068 MB / 0.7274 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.73, allocations: 1.107 MB / 0.7285 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008902/0.7309, allocations: 211.7 kB / 0.7287 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/0.7315, allocations: 403.3 kB / 0.7291 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.7315, allocations: 0 / 0.7291 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0751/0.8066, allocations: 28.87 MB / 0.7573 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.8069, allocations: 133.5 kB / 0.7574 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.052/3.859, allocations: 0 / 0.7574 GB, free: 5.293 MB / 0.5573 GB (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)