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.00116/0.00116, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0007749/0.000775, allocations: 84.5 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06209/0.06209, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2726/0.2726, allocations: 78.02 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.218e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 69.24 MB / 0.5889 GB, free: 2.965 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3863/0.5047, allocations: 102.4 MB / 0.689 GB, free: 13.89 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.505, allocations: 73.03 kB / 0.689 GB, free: 13.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07686/0.5819, allocations: 29.15 MB / 0.7175 GB, free: 5.332 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5819, allocations: 0 / 0.7175 GB, free: 5.332 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.974e-05/0.582, allocations: 24 kB / 0.7175 GB, free: 5.309 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.00335/0.5854, allocations: 1.477 MB / 0.719 GB, free: 3.875 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5854, allocations: 11.98 kB / 0.719 GB, free: 3.863 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.5856, allocations: 109.1 kB / 0.7191 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.5878, allocations: 416.5 kB / 0.7195 GB, free: 3.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.5891, allocations: 0.8857 MB / 0.7203 GB, free: 2.723 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.5894, allocations: 239.9 kB / 0.7206 GB, free: 2.477 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.5895, allocations: 73.72 kB / 0.7206 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.591, allocations: 0.8532 MB / 0.7215 GB, free: 1.875 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.591, allocations: 0 / 0.7215 GB, free: 1.875 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.5911, allocations: 23.75 kB / 0.7215 GB, free: 1.871 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.5911, allocations: 16 kB / 0.7215 GB, free: 1.855 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.5923, allocations: 0.7837 MB / 0.7223 GB, free: 1.391 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.006046/0.5984, allocations: 3.623 MB / 0.7258 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/0.6119, allocations: 4.003 MB / 0.7297 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000925/0.6128, allocations: 485 kB / 0.7302 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.972e-05/0.6129, allocations: 12.03 kB / 0.7302 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.613, allocations: 42.41 kB / 0.7302 GB, free: 10.83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 2.555e-06/0.613, allocations: 0 / 0.7302 GB, free: 10.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.005935/0.6189, allocations: 2.146 MB / 0.7323 GB, free: 9.117 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.619, allocations: 115.5 kB / 0.7324 GB, free: 8.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.6205, allocations: 0.9446 MB / 0.7334 GB, free: 8.297 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.6207, allocations: 40.08 kB / 0.7334 GB, free: 8.262 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.621, allocations: 480.5 kB / 0.7339 GB, free: 8.008 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.6213, allocations: 272 kB / 0.7341 GB, free: 7.773 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.6213, allocations: 17.56 kB / 0.7341 GB, free: 7.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6215, allocations: 339.5 kB / 0.7345 GB, free: 7.445 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006738/0.6221, allocations: 437.5 kB / 0.7349 GB, free: 7.219 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007452/0.6229, allocations: 0.5277 MB / 0.7354 GB, free: 6.883 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.6236, allocations: 475.9 kB / 0.7359 GB, free: 6.625 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6236, allocations: 0 / 0.7359 GB, free: 6.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006239/0.6299, allocations: 2.381 MB / 0.7382 GB, free: 4.738 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.6301, allocations: 0.6244 MB / 0.7388 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6301, allocations: 0 / 0.7388 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/0.6337, allocations: 0.9669 MB / 0.7397 GB, free: 3.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/0.6346, allocations: 162.5 kB / 0.7399 GB, free: 3.098 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/0.6421, allocations: 4.175 MB / 0.744 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.6438, allocations: 179.1 kB / 0.7441 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/0.6439, allocations: 31.98 kB / 0.7442 GB, free: 15.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.6439, allocations: 4 kB / 0.7442 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006233/0.6501, allocations: 2.245 MB / 0.7464 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6502, allocations: 4 kB / 0.7464 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/0.6536, allocations: 0.9662 MB / 0.7473 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009147/0.6546, allocations: 147.8 kB / 0.7475 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007403/0.662, allocations: 4.165 MB / 0.7515 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.6636, allocations: 163.2 kB / 0.7517 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.948e-05/0.6637, allocations: 31.98 kB / 0.7517 GB, free: 7.727 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.0002733/0.664, allocations: 145 kB / 0.7518 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.6642, allocations: 110.6 kB / 0.752 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006487/0.6707, allocations: 2.236 MB / 0.7541 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.6707, allocations: 8 kB / 0.7541 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.6708, allocations: 7.984 kB / 0.7541 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.6708, allocations: 3.953 kB / 0.7542 GB, free: 5.191 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.008575/0.6794, allocations: 3.842 MB / 0.7579 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.6794, allocations: 3.953 kB / 0.7579 GB, free: 1.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/0.6801, allocations: 111.9 kB / 0.758 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002729/0.6829, allocations: 0.8525 MB / 0.7588 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.683, allocations: 23.92 kB / 0.7589 GB, free: 268 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005598/0.6886, allocations: 3.358 MB / 0.7622 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6886, allocations: 0 / 0.7622 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006691/0.6953, allocations: 2.898 MB / 0.765 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.6958, allocations: 235.5 kB / 0.7652 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.696, allocations: 16 kB / 0.7652 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6972, allocations: 135.9 kB / 0.7653 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003616/0.6976, allocations: 128.5 kB / 0.7655 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/0.6976, allocations: 20 kB / 0.7655 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00108/0.6987, allocations: 0.7345 MB / 0.7662 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6987, allocations: 0 / 0.7662 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001448/0.7002, allocations: 0.55 MB / 0.7667 GB, free: 8 MB / 0.4948 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.006883/0.7071, allocations: 3.556 MB / 0.7702 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006831/0.7139, allocations: 3.092 MB / 0.7732 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.714, allocations: 0 / 0.7732 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.7166, allocations: 1.21 MB / 0.7744 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/0.7175, allocations: 104.5 kB / 0.7745 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.7219, allocations: 2.147 MB / 0.7766 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.7225, allocations: 1.11 MB / 0.7777 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008777/0.7234, allocations: 213 kB / 0.7779 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/0.724, allocations: 407.3 kB / 0.7783 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/0.724, allocations: 0 / 0.7783 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05259/0.7766, allocations: 31.54 MB / 0.8091 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.7768, allocations: 169.2 kB / 0.8093 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.003/3.78, allocations: 0 / 0.8093 GB, free: 12.2 MB / 0.5417 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)