Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.335/2.335, allocations: 214.7 MB / 226.9 MB, free: 1.312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.528e-05/4.535e-05, allocations: 8 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 49.7 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4966/0.6093, allocations: 108.9 MB / 438.1 MB, free: 7.039 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.6096, allocations: 75.66 kB / 438.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3415/0.9511, allocations: 82.22 MB / 0.5082 GB, free: 11.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.9512, allocations: 0 / 0.5082 GB, free: 11.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003734/0.9516, allocations: 83.81 kB / 0.5083 GB, free: 11.1 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: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.0152/0.9668, allocations: 3.278 MB / 0.5115 GB, free: 7.762 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.9669, allocations: 12.03 kB / 0.5115 GB, free: 7.75 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002375/0.9692, allocations: 0.5109 MB / 0.512 GB, free: 7.227 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006805/0.9761, allocations: 0.7451 MB / 0.5128 GB, free: 6.477 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/0.9904, allocations: 3.545 MB / 0.5162 GB, free: 2.871 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004386/0.9909, allocations: 250.7 kB / 0.5165 GB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.9926, allocations: 331.9 kB / 0.5168 GB, free: 2.301 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3382/1.331, allocations: 4.298 MB / 0.521 GB, free: 93.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/1.331, allocations: 5.938 kB / 0.521 GB, free: 93.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005292/1.332, allocations: 139.5 kB / 0.5211 GB, free: 93.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000267/1.332, allocations: 153 kB / 0.5213 GB, free: 93.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/1.344, allocations: 3.4 MB / 0.5246 GB, free: 93.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03959/1.383, allocations: 14.25 MB / 0.5385 GB, free: 90.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009403/1.393, allocations: 6.025 MB / 0.5444 GB, free: 86.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003392/1.396, allocations: 1.168 MB / 0.5455 GB, free: 86.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008645/1.405, allocations: 3.292 MB / 0.5487 GB, free: 85.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/1.405, allocations: 48.53 kB / 0.5488 GB, free: 85.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=113): time 4.518e-06/1.405, allocations: 0 / 0.5488 GB, free: 85.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=116): time 0.01017/1.415, allocations: 3.719 MB / 0.5524 GB, free: 84.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.415, allocations: 62.41 kB / 0.5525 GB, free: 84.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003236/1.419, allocations: 1.457 MB / 0.5539 GB, free: 84.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000281/1.419, allocations: 48.08 kB / 0.5539 GB, free: 84.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/1.42, allocations: 1.486 MB / 0.5554 GB, free: 83.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005667/1.421, allocations: 408.9 kB / 0.5558 GB, free: 83.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/1.421, allocations: 33.34 kB / 0.5558 GB, free: 83.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/1.421, allocations: 373.5 kB / 0.5562 GB, free: 82.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/1.422, allocations: 0.576 MB / 0.5567 GB, free: 82.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/1.424, allocations: 1.063 MB / 0.5578 GB, free: 82.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/1.426, allocations: 0.8038 MB / 0.5586 GB, free: 82.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.73e-05/1.426, allocations: 6.281 kB / 0.5586 GB, free: 82.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.005402/1.432, allocations: 2.048 MB / 0.5606 GB, free: 81.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.432, allocations: 11.78 kB / 0.5606 GB, free: 81.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/1.432, allocations: 15.72 kB / 0.5606 GB, free: 81.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/1.432, allocations: 146.7 kB / 0.5607 GB, free: 81.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/1.436, allocations: 399.5 kB / 0.5611 GB, free: 81.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/1.439, allocations: 3.072 MB / 0.5641 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/1.441, allocations: 81.06 kB / 0.5642 GB, free: 78.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/1.442, allocations: 69.88 kB / 0.5642 GB, free: 78.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 191 * 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: 2 * 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: 2 {(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000415/1.442, allocations: 217.9 kB / 0.5645 GB, free: 78.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/1.442, allocations: 174.1 kB / 0.5646 GB, free: 78.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00509/1.448, allocations: 1.957 MB / 0.5665 GB, free: 77.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.448, allocations: 10.69 kB / 0.5665 GB, free: 77.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.448, allocations: 11.45 kB / 0.5666 GB, free: 77.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.974e-05/1.448, allocations: 8.391 kB / 0.5666 GB, free: 77.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.46, allocations: 4.654 MB / 0.5711 GB, free: 75.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.46, allocations: 3.062 kB / 0.5711 GB, free: 75.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/1.462, allocations: 162.4 kB / 0.5713 GB, free: 75.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/1.464, allocations: 451.1 kB / 0.5717 GB, free: 75.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002452/1.464, allocations: 34.62 kB / 0.5717 GB, free: 75.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/1.476, allocations: 10.04 MB / 0.5815 GB, free: 66.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.476, allocations: 3.844 kB / 0.5815 GB, free: 66.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006378/1.483, allocations: 2.823 MB / 0.5843 GB, free: 65.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.484, allocations: 384 kB / 0.5847 GB, free: 64.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005873/1.485, allocations: 36.75 kB / 0.5847 GB, free: 64.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/1.487, allocations: 61.98 kB / 0.5848 GB, free: 64.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/1.487, allocations: 102.6 kB / 0.5849 GB, free: 64.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.487, allocations: 37.98 kB / 0.5849 GB, free: 64.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002482/1.49, allocations: 1.101 MB / 0.586 GB, free: 64.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.49, allocations: 0 / 0.586 GB, free: 64.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003494/1.493, allocations: 0.5827 MB / 0.5865 GB, free: 64.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.phi,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,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007598/1.501, allocations: 4.063 MB / 0.5905 GB, free: 61.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004071/1.505, allocations: 1.693 MB / 0.5922 GB, free: 61.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.505, allocations: 4.125 kB / 0.5922 GB, free: 61.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003441/1.508, allocations: 1.404 MB / 0.5935 GB, free: 60.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004093/1.513, allocations: 497.8 kB / 0.594 GB, free: 60.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.529, allocations: 5.44 MB / 0.5993 GB, free: 57.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/1.533, allocations: 2.427 MB / 0.6017 GB, free: 56.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002522/1.535, allocations: 382.9 kB / 0.6021 GB, free: 56.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002584/1.538, allocations: 1.148 MB / 0.6032 GB, free: 55.6 MB / 442.7 MB Notification: Performance of SimCode: time 2.345e-06/1.538, allocations: 0 / 0.6032 GB, free: 55.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/1.668, allocations: 50.46 MB / 0.6524 GB, free: 26.79 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/1.668, allocations: 166.4 kB / 0.6526 GB, free: 26.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.069/5.737, allocations: 0 / 0.6526 GB, free: 26.57 MB / 442.7 MB