Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.851e-05, allocations: 4 kB / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 50.41 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5054/0.6095, allocations: 126.4 MB / 469.1 MB, free: 180 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.6099, allocations: 78.45 kB / 469.2 MB, free: 140 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2455/0.8554, allocations: 55.6 MB / 0.5125 GB, free: 12.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8555, allocations: 3.938 kB / 0.5125 GB, free: 12.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003367/0.8558, allocations: 60 kB / 0.5125 GB, free: 12.43 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.009911/0.8657, allocations: 2.593 MB / 0.5151 GB, free: 9.777 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.8658, allocations: 8.031 kB / 0.5151 GB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001342/0.8671, allocations: 341.7 kB / 0.5154 GB, free: 9.426 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/0.87, allocations: 428 kB / 0.5158 GB, free: 9.004 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006669/0.8767, allocations: 1.738 MB / 0.5175 GB, free: 7.211 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.8771, allocations: 180.8 kB / 0.5177 GB, free: 7.031 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.8784, allocations: 247.9 kB / 0.5179 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.8912, allocations: 2.936 MB / 0.5208 GB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/0.8914, allocations: 11.89 kB / 0.5208 GB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006731/0.8921, allocations: 100 kB / 0.5209 GB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002314/0.8924, allocations: 100.6 kB / 0.521 GB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.9037, allocations: 2.324 MB / 0.5232 GB, free: 1.152 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3335/1.237, allocations: 10.3 MB / 0.5333 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005627/1.243, allocations: 2.687 MB / 0.5359 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00287/1.246, allocations: 1.107 MB / 0.537 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/1.246, allocations: 139.4 kB / 0.5371 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/1.247, allocations: 55.39 kB / 0.5372 GB, free: 100.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 4.438e-06/1.247, allocations: 1.375 kB / 0.5372 GB, free: 100.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.03/1.277, allocations: 7.352 MB / 0.5444 GB, free: 99.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/1.277, allocations: 174.4 kB / 0.5445 GB, free: 99.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/1.281, allocations: 1.607 MB / 0.5461 GB, free: 99.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000432/1.281, allocations: 59.36 kB / 0.5462 GB, free: 99.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009581/1.282, allocations: 1.086 MB / 0.5472 GB, free: 98.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008616/1.283, allocations: 0.5878 MB / 0.5478 GB, free: 98.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.283, allocations: 41 kB / 0.5478 GB, free: 98.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/1.284, allocations: 394.7 kB / 0.5482 GB, free: 98.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/1.286, allocations: 0.8798 MB / 0.5491 GB, free: 98.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/1.289, allocations: 1.324 MB / 0.5504 GB, free: 97.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/1.291, allocations: 1.086 MB / 0.5514 GB, free: 97.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/1.291, allocations: 3.75 kB / 0.5514 GB, free: 97.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.008426/1.3, allocations: 3.094 MB / 0.5544 GB, free: 97.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009577/1.301, allocations: 4.712 MB / 0.5591 GB, free: 92.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.75e-05/1.301, allocations: 15.28 kB / 0.5591 GB, free: 92.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004038/1.305, allocations: 0.9572 MB / 0.56 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/1.308, allocations: 374 kB / 0.5604 GB, free: 92.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/1.327, allocations: 11.98 MB / 0.5721 GB, free: 84.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.33, allocations: 109.7 kB / 0.5722 GB, free: 84.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/1.331, allocations: 74.66 kB / 0.5722 GB, free: 84.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.331, allocations: 9.094 kB / 0.5722 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008203/1.339, allocations: 3.016 MB / 0.5752 GB, free: 83.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.554e-05/1.339, allocations: 13.16 kB / 0.5752 GB, free: 83.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/1.342, allocations: 0.9544 MB / 0.5761 GB, free: 82.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/1.345, allocations: 365.9 kB / 0.5765 GB, free: 82.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/1.364, allocations: 12.06 MB / 0.5883 GB, free: 74.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/1.366, allocations: 104.6 kB / 0.5884 GB, free: 74.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/1.367, allocations: 75.81 kB / 0.5884 GB, free: 74.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * 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.0006189/1.367, allocations: 221.3 kB / 0.5886 GB, free: 74.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000775/1.368, allocations: 217.6 kB / 0.5888 GB, free: 74.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007861/1.376, allocations: 2.926 MB / 0.5917 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/1.376, allocations: 18 kB / 0.5917 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/1.376, allocations: 7 kB / 0.5917 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-05/1.376, allocations: 7.734 kB / 0.5917 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.392, allocations: 5.858 MB / 0.5975 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.393, allocations: 0 / 0.5975 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/1.394, allocations: 225 kB / 0.5977 GB, free: 70.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004401/1.399, allocations: 1.018 MB / 0.5987 GB, free: 70.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003613/1.399, allocations: 54.69 kB / 0.5987 GB, free: 70.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/1.42, allocations: 13.68 MB / 0.6121 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.42, allocations: 7.547 kB / 0.6121 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.432, allocations: 4.4 MB / 0.6164 GB, free: 58.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/1.433, allocations: 492.5 kB / 0.6168 GB, free: 57.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/1.434, allocations: 40 kB / 0.6169 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.436, allocations: 104.2 kB / 0.617 GB, free: 57.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004819/1.437, allocations: 138.5 kB / 0.6171 GB, free: 57.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.437, allocations: 51.75 kB / 0.6172 GB, free: 57.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002516/1.439, allocations: 1.231 MB / 0.6184 GB, free: 56.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.583e-06/1.439, allocations: 0 / 0.6184 GB, free: 56.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005711/1.445, allocations: 1.188 MB / 0.6195 GB, free: 55.29 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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,72.2%) 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.01105/1.456, allocations: 5.749 MB / 0.6251 GB, free: 50.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01163/1.468, allocations: 5.268 MB / 0.6303 GB, free: 45.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.468, allocations: 4.25 kB / 0.6303 GB, free: 45.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004744/1.473, allocations: 2.039 MB / 0.6323 GB, free: 43.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/1.477, allocations: 0.5313 MB / 0.6328 GB, free: 42.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/1.494, allocations: 5.375 MB / 0.638 GB, free: 38.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/1.496, allocations: 2.016 MB / 0.64 GB, free: 36.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/1.498, allocations: 0.9963 MB / 0.641 GB, free: 35.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.954e-06/1.498, allocations: 7.938 kB / 0.641 GB, free: 35.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.593/6.091, allocations: 103.2 MB / 0.7417 GB, free: 106.1 MB / 458.7 MB