Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.875/1.875, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-05/5.765e-05, allocations: 0 / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1206, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4864/0.607, allocations: 121.2 MB / 421.2 MB, free: 4.535 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.6075, allocations: 105.8 kB / 421.3 MB, free: 4.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.757/2.365, allocations: 339.5 MB / 0.743 GB, free: 52.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.913e-06/2.365, allocations: 2.062 kB / 0.743 GB, free: 52.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008179/2.365, allocations: 209.1 kB / 0.7432 GB, free: 52.66 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04321/2.409, allocations: 9.053 MB / 0.752 GB, free: 49.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/2.409, allocations: 10.41 kB / 0.752 GB, free: 49.94 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007753/2.417, allocations: 1.573 MB / 0.7536 GB, free: 49.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04026/2.457, allocations: 4.858 MB / 0.7583 GB, free: 49.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0256/2.482, allocations: 7.876 MB / 0.766 GB, free: 48.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0011/2.484, allocations: 0.6981 MB / 0.7667 GB, free: 48.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004698/2.488, allocations: 0.8967 MB / 0.7676 GB, free: 48.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05326/2.542, allocations: 16.52 MB / 0.7837 GB, free: 42.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005791/2.542, allocations: 18.53 kB / 0.7837 GB, free: 42.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004428/2.547, allocations: 393.3 kB / 0.7841 GB, free: 42.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001135/2.548, allocations: 0.7007 MB / 0.7848 GB, free: 42.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04433/2.592, allocations: 15.19 MB / 0.7996 GB, free: 33.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5015/3.094, allocations: 53.97 MB / 0.8523 GB, free: 36.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03605/3.13, allocations: 18.77 MB / 0.8706 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01718/3.147, allocations: 6.983 MB / 0.8775 GB, free: 27.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06459/3.212, allocations: 22.68 MB / 0.8996 GB, free: 26.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/3.212, allocations: 90.2 kB / 0.8997 GB, free: 26.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=684): time 1.129e-05/3.212, allocations: 0 / 0.8997 GB, free: 26.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=690): time 0.08006/3.292, allocations: 23.38 MB / 0.9225 GB, free: 21.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/3.292, allocations: 110.2 kB / 0.9226 GB, free: 21.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00572/3.298, allocations: 2.438 MB / 0.925 GB, free: 20.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001519/3.299, allocations: 117.4 kB / 0.9251 GB, free: 20.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002607/3.302, allocations: 3.418 MB / 0.9285 GB, free: 18.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003695/3.306, allocations: 2.266 MB / 0.9307 GB, free: 16.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001466/3.307, allocations: 120.2 kB / 0.9308 GB, free: 16.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008265/3.308, allocations: 0.5897 MB / 0.9314 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01212/3.32, allocations: 4.636 MB / 0.9359 GB, free: 13.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01597/3.336, allocations: 5.952 MB / 0.9417 GB, free: 10.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/3.35, allocations: 5.638 MB / 0.9472 GB, free: 8.125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.366e-05/3.35, allocations: 16.91 kB / 0.9472 GB, free: 8.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.03613/3.387, allocations: 13.45 MB / 0.9604 GB, free: 2.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/3.387, allocations: 20.03 kB / 0.9604 GB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-05/3.387, allocations: 33.09 kB / 0.9604 GB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/3.399, allocations: 3.847 MB / 0.9642 GB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008971/3.408, allocations: 1.122 MB / 0.9653 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/3.428, allocations: 10.67 MB / 0.9757 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007354/3.435, allocations: 349.4 kB / 0.976 GB, free: 8.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/3.437, allocations: 274.8 kB / 0.9763 GB, free: 8.191 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 533 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * 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,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.002956/3.44, allocations: 431.1 kB / 0.9767 GB, free: 7.836 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002244/3.442, allocations: 429.9 kB / 0.9771 GB, free: 7.414 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0544/3.497, allocations: 13.84 MB / 0.9906 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0348/3.532, allocations: 11.72 MB / 1.002 GB, free: 3.496 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/3.532, allocations: 4 kB / 1.002 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000154/3.532, allocations: 29.81 kB / 1.002 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.488/4.02, allocations: 26.7 MB / 1.028 GB, free: 77.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001009/4.02, allocations: 1.406 kB / 1.028 GB, free: 77.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007347/4.027, allocations: 0.8147 MB / 1.029 GB, free: 77.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01217/4.04, allocations: 3.787 MB / 1.033 GB, free: 77.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001693/4.041, allocations: 144.9 kB / 1.033 GB, free: 77.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/4.058, allocations: 10.55 MB / 1.043 GB, free: 74.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/4.058, allocations: 1.844 kB / 1.043 GB, free: 74.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04685/4.105, allocations: 19.65 MB / 1.062 GB, free: 74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005598/4.111, allocations: 1.543 MB / 1.064 GB, free: 73.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002372/4.113, allocations: 96.16 kB / 1.064 GB, free: 73.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006142/4.119, allocations: 289.7 kB / 1.064 GB, free: 73.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00244/4.122, allocations: 0.5023 MB / 1.065 GB, free: 73.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001172/4.123, allocations: 179.7 kB / 1.065 GB, free: 73.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004451/4.127, allocations: 1.841 MB / 1.067 GB, free: 72.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.31e-07/4.127, allocations: 3.812 kB / 1.067 GB, free: 72.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01007/4.137, allocations: 1.681 MB / 1.068 GB, free: 72.42 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (436): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * 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,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.05062/4.188, allocations: 20.73 MB / 1.089 GB, free: 63.06 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02979/4.218, allocations: 11.33 MB / 1.1 GB, free: 58.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/4.218, allocations: 0 / 1.1 GB, free: 58.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01716/4.235, allocations: 5.851 MB / 1.105 GB, free: 56.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008329/4.244, allocations: 0.8386 MB / 1.106 GB, free: 55.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06361/4.307, allocations: 20.84 MB / 1.126 GB, free: 40.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01287/4.32, allocations: 6.52 MB / 1.133 GB, free: 35.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008754/4.329, allocations: 1.506 MB / 1.134 GB, free: 34.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008358/4.337, allocations: 3.264 MB / 1.137 GB, free: 31.92 MB / 458.7 MB Notification: Performance of SimCode: time 2.244e-06/4.337, allocations: 0 / 1.137 GB, free: 31.92 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7456/5.083, allocations: 168.9 MB / 1.302 GB, free: 24 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/5.083, allocations: 239.6 kB / 1.303 GB, free: 23.67 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/13.13, allocations: 0 / 1.303 GB, free: 23.67 MB / 458.7 MB