Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.145/2.145, allocations: 214.7 MB / 226.9 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.789e-05, allocations: 4 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 49.71 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5396/0.6468, allocations: 130.6 MB / 459.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.6472, allocations: 76.28 kB / 460 MB, free: 1.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.792/2.439, allocations: 379.8 MB / 0.8201 GB, free: 45.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.695e-06/2.44, allocations: 0 / 0.8201 GB, free: 45.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008517/2.44, allocations: 239.8 kB / 0.8203 GB, free: 45.57 MB / 458.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.05029/2.491, allocations: 10.27 MB / 0.8303 GB, free: 35.28 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/2.491, allocations: 13.16 kB / 0.8304 GB, free: 35.27 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00887/2.5, allocations: 1.804 MB / 0.8321 GB, free: 33.47 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0526/2.552, allocations: 6.287 MB / 0.8383 GB, free: 27.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03214/2.585, allocations: 8.761 MB / 0.8468 GB, free: 18.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001858/2.586, allocations: 0.7971 MB / 0.8476 GB, free: 17.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006406/2.593, allocations: 1.026 MB / 0.8486 GB, free: 16.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4378/3.031, allocations: 18.9 MB / 0.867 GB, free: 37.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006793/3.031, allocations: 11.25 kB / 0.8671 GB, free: 37.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005043/3.036, allocations: 455.5 kB / 0.8675 GB, free: 37.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/3.038, allocations: 0.8226 MB / 0.8683 GB, free: 37.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06278/3.101, allocations: 17.71 MB / 0.8856 GB, free: 37.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1577/3.259, allocations: 61.31 MB / 0.9455 GB, free: 22.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03816/3.297, allocations: 24.9 MB / 0.9698 GB, free: 21.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02053/3.318, allocations: 8.329 MB / 0.9779 GB, free: 17.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07959/3.397, allocations: 26.51 MB / 1.004 GB, free: 5.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/3.397, allocations: 106.1 kB / 1.004 GB, free: 5.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=832): time 1.386e-05/3.398, allocations: 0 / 1.004 GB, free: 5.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=838): time 0.09074/3.488, allocations: 27.89 MB / 1.031 GB, free: 1.926 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/3.488, allocations: 122.8 kB / 1.031 GB, free: 1.793 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008873/3.497, allocations: 2.774 MB / 1.034 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002026/3.499, allocations: 133.7 kB / 1.034 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003803/3.503, allocations: 3.87 MB / 1.038 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005068/3.508, allocations: 2.756 MB / 1.041 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/3.51, allocations: 150 kB / 1.041 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009517/3.511, allocations: 0.6361 MB / 1.041 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01542/3.526, allocations: 5.493 MB / 1.047 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4196/3.946, allocations: 7.296 MB / 1.054 GB, free: 87.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01996/3.966, allocations: 6.651 MB / 1.06 GB, free: 87.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001585/3.966, allocations: 10.44 kB / 1.06 GB, free: 87.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.05335/4.019, allocations: 15.98 MB / 1.076 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.844e-05/4.019, allocations: 26.44 kB / 1.076 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/4.02, allocations: 40.17 kB / 1.076 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01596/4.036, allocations: 4.759 MB / 1.081 GB, free: 86.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01133/4.047, allocations: 1.339 MB / 1.082 GB, free: 86.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/4.069, allocations: 12.3 MB / 1.094 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009272/4.079, allocations: 433.7 kB / 1.094 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002655/4.081, allocations: 312.6 kB / 1.095 GB, free: 83.73 MB / 0.4948 GB 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.004584/4.086, allocations: 493.1 kB / 1.095 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003069/4.089, allocations: 0.4982 MB / 1.096 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04815/4.137, allocations: 15.9 MB / 1.111 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03935/4.177, allocations: 14.11 MB / 1.125 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/4.177, allocations: 0 / 1.125 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001741/4.177, allocations: 37.52 kB / 1.125 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08641/4.263, allocations: 30.63 MB / 1.155 GB, free: 67.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001346/4.264, allocations: 0 / 1.155 GB, free: 67.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009395/4.273, allocations: 1.019 MB / 1.156 GB, free: 67.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01515/4.288, allocations: 4.635 MB / 1.16 GB, free: 65.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002196/4.29, allocations: 182 kB / 1.161 GB, free: 65.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02228/4.313, allocations: 12.11 MB / 1.172 GB, free: 57.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/4.313, allocations: 0.9375 kB / 1.172 GB, free: 57.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06234/4.375, allocations: 23.54 MB / 1.195 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006605/4.382, allocations: 1.8 MB / 1.197 GB, free: 35.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003006/4.385, allocations: 116.8 kB / 1.197 GB, free: 35.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007739/4.393, allocations: 376.7 kB / 1.198 GB, free: 35.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003114/4.396, allocations: 0.5913 MB / 1.198 GB, free: 34.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002255/4.398, allocations: 226.6 kB / 1.198 GB, free: 34.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005229/4.403, allocations: 2.032 MB / 1.2 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.022e-06/4.404, allocations: 2.156 kB / 1.2 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01204/4.416, allocations: 1.989 MB / 1.202 GB, free: 30.83 MB / 0.4948 GB 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,18 115} Notification: Performance of Backend phase and start with SimCode phase: time 0.06286/4.478, allocations: 24.73 MB / 1.226 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.4175/4.896, allocations: 14.13 MB / 1.24 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/4.896, allocations: 2.375 kB / 1.24 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02609/4.922, allocations: 6.924 MB / 1.247 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01372/4.936, allocations: 0.9742 MB / 1.248 GB, free: 96.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07879/5.015, allocations: 24.17 MB / 1.272 GB, free: 93.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01534/5.03, allocations: 7.379 MB / 1.279 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01157/5.042, allocations: 1.839 MB / 1.281 GB, free: 92.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01031/5.052, allocations: 3.911 MB / 1.284 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/5.052, allocations: 0 / 1.284 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8889/5.941, allocations: 197.1 MB / 1.477 GB, free: 84.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003114/5.942, allocations: 181.4 kB / 1.477 GB, free: 84.33 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/14.3, allocations: 0 / 1.477 GB, free: 84.33 MB / 0.4948 GB