Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.601e-05, allocations: 5.562 kB / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 50.41 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5063/0.6134, allocations: 101.6 MB / 444.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.6138, allocations: 83.64 kB / 444.8 MB, free: 8.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1735/0.7873, allocations: 35.09 MB / 479.9 MB, free: 9.695 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.7874, allocations: 11.88 kB / 479.9 MB, free: 9.684 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001462/0.7875, allocations: 43.88 kB / 479.9 MB, free: 9.641 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005621/0.7932, allocations: 1.643 MB / 481.6 MB, free: 7.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.7932, allocations: 8.031 kB / 481.6 MB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007824/0.794, allocations: 227.9 kB / 481.8 MB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.7952, allocations: 217.7 kB / 482 MB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003948/0.7992, allocations: 1.184 MB / 483.2 MB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.7994, allocations: 115 kB / 483.3 MB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006069/0.8, allocations: 155.9 kB / 483.5 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005638/0.8057, allocations: 1.902 MB / 485.4 MB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-05/0.8058, allocations: 4 kB / 485.4 MB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.8061, allocations: 64 kB / 485.5 MB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.8062, allocations: 74.91 kB / 485.5 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004792/0.811, allocations: 1.458 MB / 487 MB, free: 2.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/0.8288, allocations: 6.316 MB / 493.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.8314, allocations: 0.8422 MB / 494.1 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.8331, allocations: 0.5372 MB / 494.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004156/0.8335, allocations: 134.3 kB / 494.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.8336, allocations: 43.12 kB / 494.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.487e-06/0.8336, allocations: 3.938 kB / 494.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.02334/0.8569, allocations: 5.357 MB / 0.4885 GB, free: 4.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.857, allocations: 60.19 kB / 0.4885 GB, free: 4.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.8594, allocations: 0.9756 MB / 0.4895 GB, free: 3.777 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002177/0.8596, allocations: 45.69 kB / 0.4895 GB, free: 3.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008297/0.8604, allocations: 0.7631 MB / 0.4903 GB, free: 2.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/0.8609, allocations: 327.3 kB / 0.4906 GB, free: 2.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.8611, allocations: 28 kB / 0.4906 GB, free: 2.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.8613, allocations: 349.9 kB / 0.491 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.8632, allocations: 0.5531 MB / 0.4915 GB, free: 1.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/0.8657, allocations: 0.889 MB / 0.4924 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/0.8681, allocations: 0.7114 MB / 0.4931 GB, free: 15.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/0.8682, allocations: 8 kB / 0.4931 GB, free: 15.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008063/0.8762, allocations: 2.055 MB / 0.4951 GB, free: 13.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.8763, allocations: 16.2 kB / 0.4951 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.8764, allocations: 12 kB / 0.4951 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/0.8802, allocations: 0.5631 MB / 0.4957 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/0.883, allocations: 263.6 kB / 0.4959 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/0.9005, allocations: 7.971 MB / 0.5037 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.9028, allocations: 75.83 kB / 0.5038 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.903, allocations: 48 kB / 0.5038 GB, free: 4.367 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 124 * 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: 4 * 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: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004684/0.9035, allocations: 180.5 kB / 0.504 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/0.904, allocations: 122.5 kB / 0.5041 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007696/0.9117, allocations: 1.891 MB / 0.5059 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.9117, allocations: 8 kB / 0.506 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.9118, allocations: 8.109 kB / 0.506 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.9118, allocations: 7.922 kB / 0.506 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.9267, allocations: 3.868 MB / 0.5097 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.9267, allocations: 0 / 0.5097 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.9281, allocations: 128 kB / 0.5099 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004336/0.9325, allocations: 0.6619 MB / 0.5105 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/0.9327, allocations: 27.98 kB / 0.5105 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01825/0.951, allocations: 7.987 MB / 0.5183 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.951, allocations: 0 / 0.5183 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007048/0.9581, allocations: 2.718 MB / 0.521 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.9591, allocations: 319.5 kB / 0.5213 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.9594, allocations: 27.98 kB / 0.5213 GB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.9607, allocations: 55.94 kB / 0.5214 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.9609, allocations: 80.61 kB / 0.5215 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.9611, allocations: 24 kB / 0.5215 GB, free: 1.629 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001741/0.9628, allocations: 0.7474 MB / 0.5222 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.9628, allocations: 0 / 0.5222 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002326/0.9652, allocations: 424 kB / 0.5226 GB, free: 468 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.phi,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(5,92.0%) 21,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2976/1.263, allocations: 3.956 MB / 0.5265 GB, free: 123.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00544/1.268, allocations: 2.123 MB / 0.5285 GB, free: 122.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.268, allocations: 0 / 0.5285 GB, free: 122.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003725/1.272, allocations: 1.315 MB / 0.5298 GB, free: 122.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/1.275, allocations: 344.6 kB / 0.5302 GB, free: 122.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009565/1.285, allocations: 3.123 MB / 0.5332 GB, free: 121.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/1.287, allocations: 1.501 MB / 0.5347 GB, free: 120.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001752/1.289, allocations: 270.2 kB / 0.5349 GB, free: 120.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.29, allocations: 0.5611 MB / 0.5355 GB, free: 120.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.833e-06/1.29, allocations: 0 / 0.5355 GB, free: 120.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/1.417, allocations: 36.42 MB / 0.5711 GB, free: 115 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/1.417, allocations: 203.1 kB / 0.5712 GB, free: 114.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.901/5.318, allocations: 0 / 0.5712 GB, free: 114.8 MB / 442.7 MB