Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_DOL,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.084/2.084, allocations: 214.7 MB / 226.9 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.9e-05, allocations: 4 kB / 279.6 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1649, allocations: 49.7 MB / 329.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5815/0.7465, allocations: 151.2 MB / 480.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.7468, allocations: 78.28 kB / 480.5 MB, free: 13.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.516/3.263, allocations: 456.8 MB / 0.9154 GB, free: 39.63 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.924e-06/3.263, allocations: 0 / 0.9154 GB, free: 39.63 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001326/3.264, allocations: 336.2 kB / 0.9157 GB, free: 39.6 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06708/3.331, allocations: 13.27 MB / 0.9287 GB, free: 35.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/3.331, allocations: 19.56 kB / 0.9287 GB, free: 35.54 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01055/3.342, allocations: 2.017 MB / 0.9307 GB, free: 35.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05509/3.397, allocations: 6.479 MB / 0.937 GB, free: 34.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04234/3.44, allocations: 11.51 MB / 0.9482 GB, free: 33.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001847/3.441, allocations: 1.053 MB / 0.9493 GB, free: 33.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007824/3.449, allocations: 1.372 MB / 0.9506 GB, free: 33.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0815/3.531, allocations: 23.21 MB / 0.9733 GB, free: 31.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000871/3.532, allocations: 20.45 kB / 0.9733 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006514/3.538, allocations: 0.5864 MB / 0.9739 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001487/3.54, allocations: 0.9235 MB / 0.9748 GB, free: 31.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06432/3.604, allocations: 20.81 MB / 0.9951 GB, free: 23.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6494/4.254, allocations: 75.86 MB / 1.069 GB, free: 33.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04574/4.299, allocations: 28.18 MB / 1.097 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02434/4.324, allocations: 9.351 MB / 1.106 GB, free: 33.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08876/4.413, allocations: 29.55 MB / 1.135 GB, free: 32.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/4.413, allocations: 121.8 kB / 1.135 GB, free: 32.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=934): time 1.418e-05/4.413, allocations: 2.438 kB / 1.135 GB, free: 32.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=942): time 0.1026/4.516, allocations: 33.15 MB / 1.167 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/4.516, allocations: 161.1 kB / 1.167 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/4.528, allocations: 4.11 MB / 1.171 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002374/4.53, allocations: 152.7 kB / 1.171 GB, free: 20.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00483/4.535, allocations: 5.333 MB / 1.177 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005371/4.541, allocations: 3.099 MB / 1.18 GB, free: 14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00251/4.543, allocations: 164.6 kB / 1.18 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001358/4.545, allocations: 0.6863 MB / 1.181 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01629/4.561, allocations: 5.963 MB / 1.186 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02566/4.587, allocations: 7.791 MB / 1.194 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03056/4.617, allocations: 7.269 MB / 1.201 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/4.617, allocations: 17.33 kB / 1.201 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.08257/4.7, allocations: 18.17 MB / 1.219 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/4.7, allocations: 28 kB / 1.219 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001574/4.7, allocations: 52 kB / 1.219 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02217/4.722, allocations: 5.876 MB / 1.225 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0131/4.736, allocations: 1.516 MB / 1.226 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4684/5.204, allocations: 20.02 MB / 1.246 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/5.216, allocations: 430.8 kB / 1.246 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003294/5.22, allocations: 374.1 kB / 1.246 GB, free: 92.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.005704/5.225, allocations: 0.5543 MB / 1.247 GB, free: 92.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004322/5.23, allocations: 0.6626 MB / 1.248 GB, free: 92.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06113/5.291, allocations: 18.03 MB / 1.265 GB, free: 92.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04058/5.331, allocations: 14.21 MB / 1.279 GB, free: 91.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.363e-05/5.332, allocations: 6.844 kB / 1.279 GB, free: 91.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002582/5.332, allocations: 45.58 kB / 1.279 GB, free: 91.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1028/5.435, allocations: 35.39 MB / 1.314 GB, free: 87.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001635/5.435, allocations: 7.625 kB / 1.314 GB, free: 87.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009655/5.444, allocations: 1.042 MB / 1.315 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02069/5.465, allocations: 5.948 MB / 1.321 GB, free: 85.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002578/5.468, allocations: 207.1 kB / 1.321 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04088/5.509, allocations: 24.24 MB / 1.344 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/5.509, allocations: 5.188 kB / 1.344 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0709/5.58, allocations: 27.05 MB / 1.371 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009155/5.589, allocations: 2.107 MB / 1.373 GB, free: 56.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004416/5.593, allocations: 145.8 kB / 1.373 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009374/5.603, allocations: 369.8 kB / 1.373 GB, free: 55.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003687/5.607, allocations: 0.7092 MB / 1.374 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002583/5.609, allocations: 257.2 kB / 1.374 GB, free: 55.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008366/5.618, allocations: 3.111 MB / 1.377 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.473e-06/5.618, allocations: 0 / 1.377 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01679/5.635, allocations: 2.5 MB / 1.38 GB, free: 54.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,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) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * 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%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.0735/5.708, allocations: 28.97 MB / 1.408 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04191/5.75, allocations: 15.25 MB / 1.423 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/5.75, allocations: 4 kB / 1.423 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.4287/6.179, allocations: 8.835 MB / 1.432 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01509/6.194, allocations: 1.486 MB / 1.433 GB, free: 93.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1023/6.296, allocations: 30.12 MB / 1.462 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02068/6.317, allocations: 9.319 MB / 1.472 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01316/6.33, allocations: 2.067 MB / 1.474 GB, free: 88.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01295/6.343, allocations: 5.279 MB / 1.479 GB, free: 88.02 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/6.343, allocations: 0 / 1.479 GB, free: 88.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9717/7.315, allocations: 250.1 MB / 1.723 GB, free: 73.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/7.315, allocations: 182.8 kB / 1.723 GB, free: 73.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/18.53, allocations: 0 / 1.723 GB, free: 73.75 MB / 0.5261 GB