Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 174.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000929/0.000929, allocations: 90.58 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07227/0.07227, allocations: 12.19 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2831/0.2831, allocations: 78.06 MB / 450.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.757e-05, allocations: 7.984 kB / 0.5142 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 69.23 MB / 0.5818 GB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5888, allocations: 101.8 MB / 0.6812 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.5891, allocations: 76.7 kB / 0.6813 GB, free: 6.816 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07339/0.6625, allocations: 28.82 MB / 0.7095 GB, free: 15.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6625, allocations: 0 / 0.7095 GB, free: 15.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.907e-05/0.6626, allocations: 24 kB / 0.7095 GB, free: 15.12 MB / 458.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.003454/0.6661, allocations: 1.467 MB / 0.7109 GB, free: 13.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.6661, allocations: 12.03 kB / 0.7109 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.6682, allocations: 415.8 kB / 0.7113 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.6695, allocations: 0.882 MB / 0.7122 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/0.6698, allocations: 219.5 kB / 0.7124 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.67, allocations: 51.84 kB / 0.7124 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001191/0.6712, allocations: 0.7503 MB / 0.7132 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.6724, allocations: 0.7566 MB / 0.7139 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.6724, allocations: 0 / 0.7139 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.6725, allocations: 0 / 0.7139 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.6725, allocations: 19.94 kB / 0.7139 GB, free: 11.36 MB / 458.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.00568/0.6782, allocations: 3.498 MB / 0.7173 GB, free: 8.859 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.6917, allocations: 3.977 MB / 0.7212 GB, free: 5.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.6923, allocations: 474 kB / 0.7217 GB, free: 4.984 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.016e-05/0.6924, allocations: 12.77 kB / 0.7217 GB, free: 4.973 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.6925, allocations: 43.03 kB / 0.7217 GB, free: 4.922 MB / 458.7 MB Notification: Performance of pre-optimization done (n=76): time 1.863e-06/0.6925, allocations: 0 / 0.7217 GB, free: 4.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=76): time 0.00552/0.698, allocations: 2.094 MB / 0.7238 GB, free: 3.242 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.6981, allocations: 111.6 kB / 0.7239 GB, free: 3.109 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.6992, allocations: 0.8647 MB / 0.7247 GB, free: 2.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.6992, allocations: 25.7 kB / 0.7248 GB, free: 2.469 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.6996, allocations: 485.5 kB / 0.7252 GB, free: 2.203 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.6998, allocations: 269.5 kB / 0.7255 GB, free: 1.969 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.6999, allocations: 3.938 kB / 0.7255 GB, free: 1.965 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7, allocations: 341.3 kB / 0.7258 GB, free: 1.641 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005887/0.7006, allocations: 421.9 kB / 0.7262 GB, free: 1.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.7013, allocations: 0.5025 MB / 0.7267 GB, free: 1.109 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.7019, allocations: 460.5 kB / 0.7271 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.7019, allocations: 3.953 kB / 0.7271 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005896/0.7078, allocations: 2.317 MB / 0.7294 GB, free: 15.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000279/0.7081, allocations: 0.6202 MB / 0.73 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7082, allocations: 4 kB / 0.73 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/0.7116, allocations: 0.9485 MB / 0.7309 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007747/0.7124, allocations: 159.7 kB / 0.7311 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00694/0.7193, allocations: 4.077 MB / 0.7351 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.7205, allocations: 163.1 kB / 0.7352 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.7206, allocations: 29.73 kB / 0.7353 GB, free: 10.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.7206, allocations: 4 kB / 0.7353 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005887/0.7265, allocations: 2.165 MB / 0.7374 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.7265, allocations: 0 / 0.7374 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003329/0.7299, allocations: 0.9499 MB / 0.7383 GB, free: 7.074 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.7306, allocations: 143.8 kB / 0.7384 GB, free: 6.934 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/0.7377, allocations: 4.074 MB / 0.7424 GB, free: 2.734 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.7388, allocations: 147.2 kB / 0.7426 GB, free: 2.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.7389, allocations: 24 kB / 0.7426 GB, free: 2.566 MB / 474.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.0002455/0.7391, allocations: 121 kB / 0.7427 GB, free: 2.441 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005475/0.7446, allocations: 2.094 MB / 0.7447 GB, free: 340 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.7448, allocations: 114.7 kB / 0.7449 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005602/0.7504, allocations: 2.169 MB / 0.747 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.7504, allocations: 8 kB / 0.747 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7504, allocations: 4 kB / 0.747 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.7505, allocations: 11.92 kB / 0.747 GB, free: 14 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.007375/0.7578, allocations: 3.693 MB / 0.7506 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7579, allocations: 0 / 0.7506 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/0.7585, allocations: 115.8 kB / 0.7507 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002598/0.7611, allocations: 0.8394 MB / 0.7515 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.549e-05/0.7612, allocations: 15.95 kB / 0.7515 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005418/0.7667, allocations: 3.277 MB / 0.7547 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.7667, allocations: 0 / 0.7547 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006293/0.773, allocations: 2.831 MB / 0.7575 GB, free: 3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.7733, allocations: 227.5 kB / 0.7577 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.7734, allocations: 8 kB / 0.7577 GB, free: 2.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.7745, allocations: 115.9 kB / 0.7578 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.7749, allocations: 136.5 kB / 0.758 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/0.7749, allocations: 16 kB / 0.758 GB, free: 2.488 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008996/0.7758, allocations: 0.6705 MB / 0.7586 GB, free: 1.809 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7758, allocations: 0 / 0.7586 GB, free: 1.809 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001467/0.7773, allocations: 0.503 MB / 0.7591 GB, free: 1.305 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.006908/0.7842, allocations: 3.478 MB / 0.7625 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006605/0.7908, allocations: 3.004 MB / 0.7655 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/0.7909, allocations: 4.172 kB / 0.7655 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00266/0.7935, allocations: 1.191 MB / 0.7666 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.7942, allocations: 92.23 kB / 0.7667 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.7985, allocations: 2.053 MB / 0.7687 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.7992, allocations: 1.114 MB / 0.7698 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008533/0.8, allocations: 208.9 kB / 0.77 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.8006, allocations: 407.3 kB / 0.7704 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.8006, allocations: 0 / 0.7704 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/0.8574, allocations: 28.97 MB / 0.7987 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.8576, allocations: 122.5 kB / 0.7988 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/3.954, allocations: 4 kB / 0.7988 GB, free: 8.355 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)