Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.718/1.718, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 8 kB / 233.3 MB, free: 2.922 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.08544, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.4983, allocations: 115.9 MB / 388 MB, free: 6.262 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/0.4987, allocations: 89.23 kB / 388.1 MB, free: 6.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4618/0.9606, allocations: 55.57 MB / 443.7 MB, free: 78.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.9606, allocations: 1.062 kB / 443.7 MB, free: 78.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003133/0.9609, allocations: 69.5 kB / 443.8 MB, free: 78.52 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.01183/0.9728, allocations: 2.932 MB / 446.7 MB, free: 77.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.9729, allocations: 8.844 kB / 446.7 MB, free: 77.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001505/0.9744, allocations: 347.4 kB / 447 MB, free: 77.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.9772, allocations: 436.9 kB / 447.5 MB, free: 77.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005907/0.9832, allocations: 1.739 MB / 449.2 MB, free: 76.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.9834, allocations: 179.8 kB / 449.4 MB, free: 76.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000935/0.9843, allocations: 237.3 kB / 449.6 MB, free: 76.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008593/0.993, allocations: 3 MB / 452.6 MB, free: 76.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.9931, allocations: 7.625 kB / 452.6 MB, free: 76.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004318/0.9936, allocations: 108.7 kB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.9937, allocations: 95.92 kB / 452.8 MB, free: 76.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007459/1.001, allocations: 2.429 MB / 455.3 MB, free: 76.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02534/1.027, allocations: 10.09 MB / 465.3 MB, free: 72.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005046/1.032, allocations: 2.76 MB / 468.1 MB, free: 70.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/1.032, allocations: 139.4 kB / 468.2 MB, free: 70.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.032, allocations: 56.3 kB / 468.3 MB, free: 70.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=151): time 3.777e-06/1.032, allocations: 0 / 468.3 MB, free: 70.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=174): time 0.03305/1.065, allocations: 9.061 MB / 477.4 MB, free: 67.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/1.065, allocations: 200.4 kB / 477.5 MB, free: 66.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/1.069, allocations: 1.605 MB / 479.2 MB, free: 66.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004674/1.07, allocations: 60.02 kB / 479.2 MB, free: 66.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/1.07, allocations: 1.056 MB / 480.3 MB, free: 65.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008029/1.071, allocations: 0.5896 MB / 480.9 MB, free: 64.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/1.071, allocations: 38.47 kB / 480.9 MB, free: 64.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/1.072, allocations: 401.8 kB / 481.3 MB, free: 64.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/1.074, allocations: 0.9087 MB / 482.2 MB, free: 64.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/1.077, allocations: 1.35 MB / 483.5 MB, free: 63.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/1.08, allocations: 1.098 MB / 484.6 MB, free: 62.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/1.08, allocations: 3.688 kB / 484.6 MB, free: 62.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.008876/1.089, allocations: 3.164 MB / 487.8 MB, free: 61.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/1.089, allocations: 10.41 kB / 487.8 MB, free: 61.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/1.089, allocations: 11.25 kB / 487.8 MB, free: 61.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/1.093, allocations: 0.9711 MB / 488.8 MB, free: 61.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/1.095, allocations: 365.2 kB / 489.2 MB, free: 61.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/1.115, allocations: 12.34 MB / 0.4897 GB, free: 51.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/1.118, allocations: 105.8 kB / 0.4898 GB, free: 51.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/1.118, allocations: 83.22 kB / 0.4899 GB, free: 51.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 182 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00216/1.12, allocations: 0.7236 MB / 0.4906 GB, free: 51.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/1.121, allocations: 217.4 kB / 0.4908 GB, free: 50.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007768/1.129, allocations: 2.971 MB / 0.4937 GB, free: 48.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/1.129, allocations: 16 kB / 0.4938 GB, free: 48.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.129, allocations: 7.938 kB / 0.4938 GB, free: 48.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.813e-05/1.129, allocations: 6.891 kB / 0.4938 GB, free: 48.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/1.145, allocations: 5.896 MB / 0.4995 GB, free: 43.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/1.145, allocations: 0 / 0.4995 GB, free: 43.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.147, allocations: 217 kB / 0.4997 GB, free: 43.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004357/1.151, allocations: 1.036 MB / 0.5007 GB, free: 42.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003423/1.151, allocations: 43.8 kB / 0.5008 GB, free: 42.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/1.173, allocations: 14.06 MB / 0.5145 GB, free: 29.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.173, allocations: 7.953 kB / 0.5145 GB, free: 29.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/1.184, allocations: 4.431 MB / 0.5188 GB, free: 25.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/1.186, allocations: 495.5 kB / 0.5193 GB, free: 24.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007013/1.186, allocations: 36 kB / 0.5194 GB, free: 24.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/1.189, allocations: 106.7 kB / 0.5195 GB, free: 24.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006044/1.19, allocations: 145.6 kB / 0.5196 GB, free: 24.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.19, allocations: 48 kB / 0.5196 GB, free: 24.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002777/1.193, allocations: 1.238 MB / 0.5208 GB, free: 23.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.193, allocations: 0 / 0.5208 GB, free: 23.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00408/1.197, allocations: 0.7427 MB / 0.5216 GB, free: 22.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01179/1.209, allocations: 5.77 MB / 0.5272 GB, free: 17.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007724/1.216, allocations: 3.187 MB / 0.5303 GB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.216, allocations: 0 / 0.5303 GB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006166/1.223, allocations: 2.14 MB / 0.5324 GB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005269/1.228, allocations: 0.529 MB / 0.5329 GB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05266/1.281, allocations: 15.79 MB / 0.5483 GB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006593/1.287, allocations: 1.994 MB / 0.5503 GB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003172/1.29, allocations: 0.9835 MB / 0.5513 GB, free: 9.234 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/1.29, allocations: 3.938 kB / 0.5513 GB, free: 9.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.492/5.782, allocations: 100.6 MB / 0.6495 GB, free: 34.88 MB / 362.7 MB