Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.114e-05, allocations: 4 kB / 255.5 MB, free: 2.582 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.09709, allocations: 44.51 MB / 300 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.5764, allocations: 125.8 MB / 425.8 MB, free: 2.012 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.5767, allocations: 102.4 kB / 425.9 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893/2.469, allocations: 381.2 MB / 0.7882 GB, free: 47.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.785e-06/2.469, allocations: 0 / 0.7882 GB, free: 47.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001044/2.47, allocations: 242 kB / 0.7885 GB, free: 47.41 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.07102/2.541, allocations: 10.27 MB / 0.7985 GB, free: 43.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/2.542, allocations: 11.22 kB / 0.7985 GB, free: 43.13 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009311/2.551, allocations: 1.808 MB / 0.8003 GB, free: 42.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07313/2.624, allocations: 6.282 MB / 0.8064 GB, free: 37.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03657/2.661, allocations: 8.758 MB / 0.8149 GB, free: 28.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001401/2.662, allocations: 0.7943 MB / 0.8157 GB, free: 27.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005769/2.668, allocations: 1.026 MB / 0.8167 GB, free: 26.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0689/2.737, allocations: 18.91 MB / 0.8352 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007637/2.738, allocations: 11.81 kB / 0.8352 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006209/2.744, allocations: 459.8 kB / 0.8356 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002287/2.746, allocations: 0.8189 MB / 0.8364 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.417/3.163, allocations: 17.68 MB / 0.8537 GB, free: 44.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1624/3.326, allocations: 61.29 MB / 0.9136 GB, free: 31.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0391/3.365, allocations: 24.9 MB / 0.9379 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02085/3.386, allocations: 8.319 MB / 0.946 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08941/3.475, allocations: 26.74 MB / 0.9721 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/3.476, allocations: 105.9 kB / 0.9722 GB, free: 14.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=832): time 1.292e-05/3.476, allocations: 0 / 0.9722 GB, free: 14.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=838): time 0.09692/3.573, allocations: 27.88 MB / 0.9994 GB, free: 7.805 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/3.573, allocations: 128.9 kB / 0.9996 GB, free: 7.664 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007593/3.58, allocations: 2.674 MB / 1.002 GB, free: 5.281 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002159/3.583, allocations: 137.7 kB / 1.002 GB, free: 5.141 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00436/3.587, allocations: 3.861 MB / 1.006 GB, free: 1.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.4269/4.014, allocations: 2.746 MB / 1.009 GB, free: 75.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/4.016, allocations: 139.7 kB / 1.009 GB, free: 75.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009838/4.017, allocations: 0.6429 MB / 1.01 GB, free: 75.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01585/4.033, allocations: 5.485 MB / 1.015 GB, free: 75.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01854/4.051, allocations: 6.915 MB / 1.022 GB, free: 74.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0186/4.07, allocations: 6.647 MB / 1.028 GB, free: 74.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/4.07, allocations: 13.38 kB / 1.028 GB, free: 74.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.0509/4.121, allocations: 15.98 MB / 1.044 GB, free: 73.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.549e-05/4.121, allocations: 21.41 kB / 1.044 GB, free: 73.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001366/4.121, allocations: 39.03 kB / 1.044 GB, free: 73.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01624/4.137, allocations: 4.993 MB / 1.049 GB, free: 73.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01149/4.149, allocations: 1.338 MB / 1.05 GB, free: 73.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/4.172, allocations: 12.33 MB / 1.062 GB, free: 70.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00945/4.182, allocations: 430.5 kB / 1.062 GB, free: 70.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002702/4.185, allocations: 320.3 kB / 1.063 GB, free: 70.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.004949/4.19, allocations: 489.3 kB / 1.063 GB, free: 70.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00328/4.193, allocations: 0.4947 MB / 1.064 GB, free: 70.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04817/4.241, allocations: 15.91 MB / 1.079 GB, free: 66.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0385/4.28, allocations: 14.12 MB / 1.093 GB, free: 60.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/4.28, allocations: 0 / 1.093 GB, free: 60.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000188/4.28, allocations: 39.11 kB / 1.093 GB, free: 60.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0838/4.364, allocations: 30.63 MB / 1.123 GB, free: 41.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001116/4.364, allocations: 4 kB / 1.123 GB, free: 41.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009332/4.373, allocations: 1.02 MB / 1.124 GB, free: 41.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01529/4.389, allocations: 4.799 MB / 1.129 GB, free: 37.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00225/4.391, allocations: 173.8 kB / 1.129 GB, free: 37.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02661/4.418, allocations: 12.15 MB / 1.141 GB, free: 26 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/4.418, allocations: 0 / 1.141 GB, free: 26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06299/4.481, allocations: 23.53 MB / 1.164 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00743/4.488, allocations: 1.802 MB / 1.165 GB, free: 3.461 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003501/4.492, allocations: 120 kB / 1.166 GB, free: 3.344 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008116/4.5, allocations: 376.4 kB / 1.166 GB, free: 3.086 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003248/4.503, allocations: 0.5993 MB / 1.166 GB, free: 2.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002214/4.505, allocations: 222.3 kB / 1.167 GB, free: 2.504 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005135/4.511, allocations: 2.011 MB / 1.169 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.593e-06/4.511, allocations: 0 / 1.169 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02084/4.532, allocations: 2.597 MB / 1.171 GB, free: 0 / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.4372/4.969, allocations: 24.71 MB / 1.195 GB, free: 73.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03868/5.008, allocations: 13.29 MB / 1.208 GB, free: 72.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/5.008, allocations: 2.312 kB / 1.208 GB, free: 72.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0267/5.034, allocations: 6.962 MB / 1.215 GB, free: 72.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01402/5.048, allocations: 0.9711 MB / 1.216 GB, free: 72.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08067/5.129, allocations: 24.15 MB / 1.24 GB, free: 67.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01729/5.147, allocations: 7.376 MB / 1.247 GB, free: 65.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01106/5.158, allocations: 1.843 MB / 1.249 GB, free: 65.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01029/5.168, allocations: 3.895 MB / 1.252 GB, free: 61.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.834e-06/5.168, allocations: 0.875 kB / 1.252 GB, free: 61.84 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8069/5.975, allocations: 196.8 MB / 1.445 GB, free: 34.21 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/5.975, allocations: 242.2 kB / 1.445 GB, free: 33.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.094/15.07, allocations: 0 / 1.445 GB, free: 33.89 MB / 458.7 MB