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: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_release_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.009719/0.009719, allocations: 173.4 kB / 15.12 MB, free: 5.973 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.378/1.378, allocations: 223.2 MB / 239 MB, free: 1.777 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.0009084/0.0009082, allocations: 95.44 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.4824/0.4824, allocations: 78.6 MB / 419.9 MB, free: 44.15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12 kB / 499.9 MB, free: 2.836 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3966, allocations: 69.34 MB / 0.5559 GB, free: 38.99 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.5721, allocations: 101 MB / 0.6545 GB, free: 5.469 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5724, allocations: 71.97 kB / 0.6546 GB, free: 5.398 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1153/0.6877, allocations: 29.88 MB / 0.6838 GB, free: 7.395 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6878, allocations: 0 / 0.6838 GB, free: 7.395 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000174/0.688, allocations: 24 kB / 0.6838 GB, free: 7.371 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.008724/0.6967, allocations: 1.815 MB / 0.6856 GB, free: 5.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.6968, allocations: 12.03 kB / 0.6856 GB, free: 5.488 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004625/0.6973, allocations: 118.4 kB / 0.6857 GB, free: 5.363 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004263/0.7016, allocations: 430 kB / 0.6861 GB, free: 4.941 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/0.7046, allocations: 0.9388 MB / 0.687 GB, free: 3.949 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.7049, allocations: 251.5 kB / 0.6872 GB, free: 3.668 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.7051, allocations: 64 kB / 0.6873 GB, free: 3.605 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.7075, allocations: 1.003 MB / 0.6883 GB, free: 2.586 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.7075, allocations: 3.984 kB / 0.6883 GB, free: 2.582 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.7076, allocations: 35.98 kB / 0.6883 GB, free: 2.547 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.7076, allocations: 16 kB / 0.6883 GB, free: 2.531 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.7101, allocations: 0.9617 MB / 0.6893 GB, free: 1.566 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.007288/0.7174, allocations: 3.621 MB / 0.6928 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/0.7319, allocations: 4.274 MB / 0.697 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.7322, allocations: 12.64 kB / 0.697 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.7322, allocations: 43.22 kB / 0.697 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/0.7322, allocations: 0 / 0.697 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01461/0.7468, allocations: 4.645 MB / 0.7016 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.747, allocations: 111.5 kB / 0.7017 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.7491, allocations: 1.031 MB / 0.7027 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.7493, allocations: 41.7 kB / 0.7027 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/0.7497, allocations: 472.9 kB / 0.7032 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.75, allocations: 280 kB / 0.7034 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.7501, allocations: 16 kB / 0.7035 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.7502, allocations: 337.9 kB / 0.7038 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.7514, allocations: 0.572 MB / 0.7043 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.7527, allocations: 0.6742 MB / 0.705 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.7541, allocations: 0.6121 MB / 0.7056 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.7541, allocations: 0 / 0.7056 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008018/0.7621, allocations: 2.809 MB / 0.7083 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002655/0.7624, allocations: 0.612 MB / 0.7089 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.7625, allocations: 4 kB / 0.7089 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004511/0.767, allocations: 1.195 MB / 0.7101 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.768, allocations: 159.8 kB / 0.7103 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.7785, allocations: 5.284 MB / 0.7154 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.7802, allocations: 191.1 kB / 0.7156 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-05/0.7803, allocations: 27.98 kB / 0.7156 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.7803, allocations: 4 kB / 0.7156 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007331/0.7877, allocations: 2.61 MB / 0.7182 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7877, allocations: 4 kB / 0.7182 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004145/0.7919, allocations: 1.183 MB / 0.7193 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009381/0.7928, allocations: 151.8 kB / 0.7195 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.8032, allocations: 5.271 MB / 0.7246 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.8049, allocations: 167.2 kB / 0.7248 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.805, allocations: 20 kB / 0.7248 GB, free: 12.46 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.0006789/0.8057, allocations: 348.9 kB / 0.7251 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.8059, allocations: 110.6 kB / 0.7253 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006882/0.8128, allocations: 2.646 MB / 0.7278 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.8128, allocations: 12 kB / 0.7278 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.8129, allocations: 4 kB / 0.7279 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.8129, allocations: 11.88 kB / 0.7279 GB, free: 9.301 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.009014/0.8219, allocations: 4.225 MB / 0.732 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.8219, allocations: 3.953 kB / 0.732 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/0.8227, allocations: 115.8 kB / 0.7321 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00329/0.826, allocations: 1.082 MB / 0.7332 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/0.8261, allocations: 23.98 kB / 0.7332 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008209/0.8343, allocations: 4.3 MB / 0.7374 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.8343, allocations: 0 / 0.7374 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008683/0.843, allocations: 3.445 MB / 0.7407 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000608/0.8437, allocations: 227.5 kB / 0.741 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.8439, allocations: 16 kB / 0.741 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.8455, allocations: 127.9 kB / 0.7411 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004544/0.846, allocations: 132.4 kB / 0.7412 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/0.846, allocations: 27.98 kB / 0.7413 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001572/0.8476, allocations: 0.8036 MB / 0.742 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8476, allocations: 4 kB / 0.742 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001626/0.8493, allocations: 0.5538 MB / 0.7426 GB, free: 9.922 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.008818/0.8581, allocations: 4.106 MB / 0.7466 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0086/0.8667, allocations: 3.479 MB / 0.75 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.8668, allocations: 4.109 kB / 0.75 GB, free: 2.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003311/0.8701, allocations: 1.381 MB / 0.7513 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.8711, allocations: 100.4 kB / 0.7514 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/0.877, allocations: 4.313 MB / 0.7556 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/0.8777, allocations: 1.101 MB / 0.7567 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005958/0.8783, allocations: 129.9 kB / 0.7568 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006004/0.8789, allocations: 415.3 kB / 0.7572 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of SimCode: time 2.375e-06/0.8789, allocations: 0 / 0.7572 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3051/1.184, allocations: 29.44 MB / 0.786 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/1.184, allocations: 195.5 kB / 0.7862 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/4.158, allocations: 0 / 0.7862 GB, free: 145.7 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)