Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.177/2.177, allocations: 214.7 MB / 226.8 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.285e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 49.71 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4938/0.6053, allocations: 108.9 MB / 438.2 MB, free: 6.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.6056, allocations: 77.97 kB / 438.3 MB, free: 6.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3282/0.9337, allocations: 82.62 MB / 0.5087 GB, free: 10.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.9338, allocations: 0 / 0.5087 GB, free: 10.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003728/0.9342, allocations: 83.88 kB / 0.5087 GB, free: 10.62 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.01527/0.9495, allocations: 3.284 MB / 0.512 GB, free: 7.277 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.9496, allocations: 8.031 kB / 0.512 GB, free: 7.27 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00233/0.9519, allocations: 0.5148 MB / 0.5125 GB, free: 6.742 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006734/0.9587, allocations: 0.7529 MB / 0.5132 GB, free: 5.984 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.9728, allocations: 3.538 MB / 0.5167 GB, free: 2.387 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003846/0.9732, allocations: 254.7 kB / 0.5169 GB, free: 2.137 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/0.9747, allocations: 335.9 kB / 0.5172 GB, free: 1.809 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3244/1.299, allocations: 4.287 MB / 0.5214 GB, free: 94.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/1.299, allocations: 4.922 kB / 0.5214 GB, free: 94.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005542/1.3, allocations: 141.4 kB / 0.5215 GB, free: 94.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002556/1.3, allocations: 152.7 kB / 0.5217 GB, free: 94.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/1.312, allocations: 3.399 MB / 0.525 GB, free: 94.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03822/1.351, allocations: 14.26 MB / 0.5389 GB, free: 91.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009186/1.36, allocations: 6.025 MB / 0.5448 GB, free: 86.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/1.363, allocations: 1.166 MB / 0.546 GB, free: 86.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008399/1.371, allocations: 3.3 MB / 0.5492 GB, free: 86.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/1.372, allocations: 52.75 kB / 0.5492 GB, free: 86.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=113): time 4.599e-06/1.372, allocations: 0 / 0.5492 GB, free: 86.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=116): time 0.009639/1.381, allocations: 3.717 MB / 0.5529 GB, free: 85.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/1.381, allocations: 64.06 kB / 0.5529 GB, free: 84.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/1.385, allocations: 1.447 MB / 0.5543 GB, free: 84.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002838/1.385, allocations: 49.83 kB / 0.5544 GB, free: 84.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/1.386, allocations: 1.491 MB / 0.5558 GB, free: 84.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/1.387, allocations: 410.1 kB / 0.5562 GB, free: 83.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/1.387, allocations: 31.06 kB / 0.5563 GB, free: 83.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/1.387, allocations: 370 kB / 0.5566 GB, free: 83.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.388, allocations: 0.5792 MB / 0.5572 GB, free: 83.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/1.39, allocations: 1.069 MB / 0.5582 GB, free: 83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/1.392, allocations: 0.8014 MB / 0.559 GB, free: 82.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/1.392, allocations: 3.906 kB / 0.559 GB, free: 82.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004958/1.397, allocations: 2.047 MB / 0.561 GB, free: 82.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/1.397, allocations: 14.53 kB / 0.561 GB, free: 82.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/1.397, allocations: 15.47 kB / 0.561 GB, free: 82.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/1.398, allocations: 136.7 kB / 0.5612 GB, free: 82.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/1.4, allocations: 399.8 kB / 0.5615 GB, free: 82.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/1.403, allocations: 3.082 MB / 0.5646 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/1.406, allocations: 82.2 kB / 0.5646 GB, free: 79.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1.406, allocations: 66.03 kB / 0.5647 GB, free: 79.16 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.0003964/1.406, allocations: 209 kB / 0.5649 GB, free: 78.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/1.407, allocations: 177.8 kB / 0.5651 GB, free: 78.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/1.412, allocations: 1.952 MB / 0.567 GB, free: 77.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/1.412, allocations: 10.41 kB / 0.567 GB, free: 77.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/1.412, allocations: 13.61 kB / 0.567 GB, free: 77.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/1.412, allocations: 11.25 kB / 0.567 GB, free: 77.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/1.424, allocations: 4.661 MB / 0.5716 GB, free: 75.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.424, allocations: 6.812 kB / 0.5716 GB, free: 75.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/1.425, allocations: 157.9 kB / 0.5717 GB, free: 75.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002035/1.427, allocations: 454.1 kB / 0.5721 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002177/1.428, allocations: 31.12 kB / 0.5722 GB, free: 75.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/1.44, allocations: 10.03 MB / 0.582 GB, free: 67.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.44, allocations: 3.812 kB / 0.582 GB, free: 67.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006357/1.447, allocations: 2.833 MB / 0.5847 GB, free: 65.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.448, allocations: 388.8 kB / 0.5851 GB, free: 65.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/1.448, allocations: 27.28 kB / 0.5851 GB, free: 65.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.45, allocations: 69.23 kB / 0.5852 GB, free: 65.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/1.45, allocations: 94.42 kB / 0.5853 GB, free: 65.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.451, allocations: 41 kB / 0.5853 GB, free: 65.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002398/1.453, allocations: 1.102 MB / 0.5864 GB, free: 64.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.11e-07/1.453, allocations: 0 / 0.5864 GB, free: 64.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003366/1.456, allocations: 0.582 MB / 0.587 GB, free: 64.77 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.007013/1.463, allocations: 4.066 MB / 0.5909 GB, free: 62.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003837/1.467, allocations: 1.687 MB / 0.5926 GB, free: 61.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.467, allocations: 4.594 kB / 0.5926 GB, free: 61.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003253/1.471, allocations: 1.401 MB / 0.594 GB, free: 60.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/1.475, allocations: 495.3 kB / 0.5944 GB, free: 60.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/1.491, allocations: 5.447 MB / 0.5998 GB, free: 58.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003046/1.494, allocations: 2.416 MB / 0.6021 GB, free: 57.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002483/1.496, allocations: 385.7 kB / 0.6025 GB, free: 57.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/1.499, allocations: 1.151 MB / 0.6036 GB, free: 56.07 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/1.499, allocations: 0 / 0.6036 GB, free: 56.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/1.67, allocations: 50.46 MB / 0.6529 GB, free: 26.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/1.67, allocations: 172.5 kB / 0.6531 GB, free: 26.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.01/5.68, allocations: 0 / 0.6531 GB, free: 26.72 MB / 442.7 MB