Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Steinmetz,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.264/2.264, allocations: 214.7 MB / 226.9 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.595e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 49.7 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4815/0.5932, allocations: 110 MB / 439.3 MB, free: 6.277 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.5935, allocations: 70.72 kB / 439.4 MB, free: 6.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3148/0.9083, allocations: 80.67 MB / 0.5078 GB, free: 11.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.9083, allocations: 0 / 0.5078 GB, free: 11.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003665/0.9087, allocations: 79.92 kB / 0.5079 GB, free: 11.59 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: 849 * Number of variables: 849 Notification: Performance of Generate backend data structure: time 0.01476/0.9235, allocations: 3.226 MB / 0.5111 GB, free: 8.289 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.244e-05/0.9236, allocations: 12.03 kB / 0.5111 GB, free: 8.277 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002116/0.9257, allocations: 455.7 kB / 0.5115 GB, free: 7.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006652/0.9324, allocations: 0.745 MB / 0.5122 GB, free: 7.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/0.9455, allocations: 3.312 MB / 0.5155 GB, free: 3.699 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.946, allocations: 250.5 kB / 0.5157 GB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/0.9474, allocations: 331.8 kB / 0.516 GB, free: 3.129 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3199/1.267, allocations: 4.11 MB / 0.52 GB, free: 94.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001747/1.267, allocations: 5.75 kB / 0.5201 GB, free: 94.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006151/1.268, allocations: 139.3 kB / 0.5202 GB, free: 94.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/1.268, allocations: 147.8 kB / 0.5203 GB, free: 94.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/1.28, allocations: 3.282 MB / 0.5235 GB, free: 94.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03762/1.318, allocations: 13.85 MB / 0.5371 GB, free: 92.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/1.328, allocations: 6.64 MB / 0.5435 GB, free: 87.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003682/1.332, allocations: 1.354 MB / 0.5449 GB, free: 87.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009854/1.342, allocations: 3.846 MB / 0.5486 GB, free: 86.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00201/1.344, allocations: 0.9496 MB / 0.5495 GB, free: 86.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 4.558e-06/1.344, allocations: 2.812 kB / 0.5495 GB, free: 86.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.01205/1.356, allocations: 4.433 MB / 0.5539 GB, free: 85.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/1.356, allocations: 230.1 kB / 0.5541 GB, free: 85.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003381/1.359, allocations: 1.51 MB / 0.5556 GB, free: 85.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003727/1.36, allocations: 68.83 kB / 0.5556 GB, free: 85.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/1.361, allocations: 1.431 MB / 0.557 GB, free: 84.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007234/1.362, allocations: 0.5256 MB / 0.5575 GB, free: 84.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/1.362, allocations: 38 kB / 0.5576 GB, free: 84.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/1.362, allocations: 385.9 kB / 0.558 GB, free: 83.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/1.364, allocations: 0.6799 MB / 0.5586 GB, free: 83.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/1.366, allocations: 1.273 MB / 0.5599 GB, free: 82.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/1.369, allocations: 0.9269 MB / 0.5608 GB, free: 82.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.328e-05/1.369, allocations: 7.906 kB / 0.5608 GB, free: 82.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.007019/1.376, allocations: 2.571 MB / 0.5633 GB, free: 81.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/1.376, allocations: 11.62 kB / 0.5633 GB, free: 81.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/1.376, allocations: 19.09 kB / 0.5633 GB, free: 81.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/1.378, allocations: 382 kB / 0.5637 GB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/1.381, allocations: 397.8 kB / 0.5641 GB, free: 81.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009456/1.39, allocations: 7.866 MB / 0.5717 GB, free: 74.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/1.393, allocations: 105.6 kB / 0.5718 GB, free: 74.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/1.393, allocations: 80.72 kB / 0.5719 GB, free: 74.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsI[3].mean.y,rmsI[3].mean.y,$PRE.rmsI[2].mean.y,rmsI[2].mean.y,$PRE.rmsI[1].mean.y,rmsI[1].mean.y,booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * 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: 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: 4 {(1,100.0%) 1,(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005088/1.394, allocations: 234.3 kB / 0.5721 GB, free: 74.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005414/1.394, allocations: 197.9 kB / 0.5723 GB, free: 74.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/1.4, allocations: 2.394 MB / 0.5747 GB, free: 73.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/1.401, allocations: 17.8 kB / 0.5747 GB, free: 73.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/1.401, allocations: 7.812 kB / 0.5747 GB, free: 73.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.337e-05/1.401, allocations: 7.547 kB / 0.5747 GB, free: 73.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/1.414, allocations: 5.221 MB / 0.5798 GB, free: 70.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.414, allocations: 2.969 kB / 0.5798 GB, free: 70.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.416, allocations: 201.5 kB / 0.58 GB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/1.418, allocations: 0.5439 MB / 0.5805 GB, free: 70.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/1.418, allocations: 47.62 kB / 0.5806 GB, free: 70.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/1.434, allocations: 12.22 MB / 0.5925 GB, free: 60.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.434, allocations: 0 / 0.5925 GB, free: 60.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009071/1.443, allocations: 3.454 MB / 0.5959 GB, free: 58.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.445, allocations: 448.5 kB / 0.5963 GB, free: 58.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008798/1.446, allocations: 45.83 kB / 0.5963 GB, free: 58.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.448, allocations: 70.11 kB / 0.5964 GB, free: 58.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/1.449, allocations: 120.4 kB / 0.5965 GB, free: 58.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.449, allocations: 43.05 kB / 0.5966 GB, free: 58.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002729/1.452, allocations: 1.158 MB / 0.5977 GB, free: 57.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.452, allocations: 0 / 0.5977 GB, free: 57.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003814/1.455, allocations: 0.6438 MB / 0.5983 GB, free: 57.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v,rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,booleanStep.y,greaterThreshold.y,rmsI[1].mean.y,rmsI[2].mean.y,rmsI[3].mean.y) * Number of discrete states: 3 (rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 6 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 13,(3,100.0%) 9,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008984/1.465, allocations: 4.716 MB / 0.6029 GB, free: 54.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005338/1.47, allocations: 2.346 MB / 0.6052 GB, free: 53.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.47, allocations: 5.156 kB / 0.6052 GB, free: 53.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004055/1.474, allocations: 1.751 MB / 0.6069 GB, free: 52.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004137/1.478, allocations: 0.5167 MB / 0.6074 GB, free: 52.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.495, allocations: 5.723 MB / 0.613 GB, free: 50.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/1.497, allocations: 2.388 MB / 0.6154 GB, free: 49.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002507/1.5, allocations: 406.9 kB / 0.6158 GB, free: 48.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/1.502, allocations: 1.14 MB / 0.6169 GB, free: 48.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/1.502, allocations: 0 / 0.6169 GB, free: 48.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/1.634, allocations: 55.21 MB / 0.6708 GB, free: 8.453 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/1.635, allocations: 174.4 kB / 0.6709 GB, free: 8.223 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.541/6.176, allocations: 0 / 0.6709 GB, free: 8.223 MB / 442.7 MB