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.008954/0.008954, allocations: 170.1 kB / 15.11 MB, free: 5.969 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.458/1.458, allocations: 223.2 MB / 239 MB, free: 1.781 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.001081/0.001081, allocations: 101.1 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4541/0.4541, allocations: 78.51 MB / 419.8 MB, free: 44 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004163, allocations: 16 kB / 499.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3539, allocations: 69.34 MB / 0.5558 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.484, allocations: 101 MB / 0.6544 GB, free: 5.336 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.4843, allocations: 75.95 kB / 0.6545 GB, free: 5.262 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08137/0.5657, allocations: 29.89 MB / 0.6837 GB, free: 7.246 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5657, allocations: 4 kB / 0.6837 GB, free: 7.242 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.557e-05/0.5658, allocations: 20 kB / 0.6837 GB, free: 7.223 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.004737/0.5705, allocations: 1.815 MB / 0.6855 GB, free: 5.352 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.5706, allocations: 8.031 kB / 0.6855 GB, free: 5.344 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.5708, allocations: 114.5 kB / 0.6856 GB, free: 5.223 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.573, allocations: 422 kB / 0.686 GB, free: 4.809 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.575, allocations: 0.9427 MB / 0.6869 GB, free: 3.812 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.5753, allocations: 255.4 kB / 0.6872 GB, free: 3.527 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.5754, allocations: 64 kB / 0.6872 GB, free: 3.465 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.5774, allocations: 1.007 MB / 0.6882 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5774, allocations: 0 / 0.6882 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/0.5775, allocations: 24 kB / 0.6883 GB, free: 2.418 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.5775, allocations: 16 kB / 0.6883 GB, free: 2.402 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.5795, allocations: 0.9656 MB / 0.6892 GB, free: 1.434 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.006363/0.5858, allocations: 3.633 MB / 0.6928 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/0.6002, allocations: 4.272 MB / 0.6969 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.6005, allocations: 12.66 kB / 0.6969 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.6005, allocations: 43.22 kB / 0.697 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 3.567e-06/0.6005, allocations: 0 / 0.697 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01525/0.6158, allocations: 4.641 MB / 0.7015 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/0.6159, allocations: 115.5 kB / 0.7016 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.6183, allocations: 1.031 MB / 0.7026 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.6185, allocations: 37.7 kB / 0.7027 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.619, allocations: 480.9 kB / 0.7031 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.6193, allocations: 268 kB / 0.7034 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.6194, allocations: 20 kB / 0.7034 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6196, allocations: 341.9 kB / 0.7037 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.6208, allocations: 0.5719 MB / 0.7043 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.6221, allocations: 0.6742 MB / 0.7049 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.6233, allocations: 0.6122 MB / 0.7055 GB, free: 368 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6234, allocations: 4 kB / 0.7055 GB, free: 364 kB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008265/0.6316, allocations: 2.801 MB / 0.7083 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002844/0.632, allocations: 0.6198 MB / 0.7089 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.632, allocations: 0 / 0.7089 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004431/0.6364, allocations: 1.191 MB / 0.7101 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.6376, allocations: 159.8 kB / 0.7102 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.6485, allocations: 5.297 MB / 0.7154 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.6503, allocations: 175.1 kB / 0.7155 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.6504, allocations: 27.98 kB / 0.7156 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.6505, allocations: 8.938 kB / 0.7156 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00745/0.6579, allocations: 2.606 MB / 0.7181 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/0.658, allocations: 0 / 0.7181 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004221/0.6622, allocations: 1.191 MB / 0.7193 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009517/0.6632, allocations: 151.8 kB / 0.7194 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.6742, allocations: 5.274 MB / 0.7246 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.676, allocations: 163.2 kB / 0.7247 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.6762, allocations: 24 kB / 0.7248 GB, free: 12.32 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.0007295/0.677, allocations: 352.9 kB / 0.7251 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.6773, allocations: 110.6 kB / 0.7252 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007229/0.6845, allocations: 2.642 MB / 0.7278 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.6846, allocations: 8 kB / 0.7278 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.6846, allocations: 4 kB / 0.7278 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.6846, allocations: 11.94 kB / 0.7278 GB, free: 9.164 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.009481/0.6941, allocations: 4.232 MB / 0.7319 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.6941, allocations: 3.953 kB / 0.7319 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008126/0.695, allocations: 111.8 kB / 0.7321 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003405/0.6984, allocations: 1.085 MB / 0.7331 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.6985, allocations: 20 kB / 0.7331 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008026/0.7066, allocations: 4.291 MB / 0.7373 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7066, allocations: 4 kB / 0.7373 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008608/0.7152, allocations: 3.445 MB / 0.7407 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/0.7158, allocations: 223.5 kB / 0.7409 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.716, allocations: 27.98 kB / 0.7409 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.7173, allocations: 119.9 kB / 0.741 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/0.7177, allocations: 144.4 kB / 0.7412 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/0.7178, allocations: 16 kB / 0.7412 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001574/0.7193, allocations: 0.8153 MB / 0.742 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7193, allocations: 0 / 0.742 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00163/0.721, allocations: 0.546 MB / 0.7425 GB, free: 9.793 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.009346/0.7303, allocations: 4.113 MB / 0.7465 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00884/0.7392, allocations: 3.483 MB / 0.7499 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.7393, allocations: 112 / 0.7499 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003281/0.7426, allocations: 1.381 MB / 0.7513 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008636/0.7434, allocations: 102.1 kB / 0.7514 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005775/0.7492, allocations: 4.305 MB / 0.7556 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.7499, allocations: 1.101 MB / 0.7567 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006114/0.7505, allocations: 125.9 kB / 0.7568 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/0.7511, allocations: 419.5 kB / 0.7572 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of SimCode: time 1.843e-06/0.7511, allocations: 0 / 0.7572 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2882/1.039, allocations: 29.43 MB / 0.7859 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/1.04, allocations: 185.4 kB / 0.7861 GB, free: 146 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/3.863, allocations: 0 / 0.7861 GB, free: 146 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)