Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.365e-05, allocations: 0 / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 50.4 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5196/0.6323, allocations: 110.2 MB / 452.8 MB, free: 376 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.6327, allocations: 85.95 kB / 452.9 MB, free: 332 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2394/0.8721, allocations: 52.39 MB / 0.4935 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.8721, allocations: 0 / 0.4935 GB, free: 15.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003271/0.8725, allocations: 59.94 kB / 0.4935 GB, free: 15.63 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009089/0.8816, allocations: 2.436 MB / 0.4959 GB, free: 13.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.8817, allocations: 8.031 kB / 0.4959 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001351/0.883, allocations: 359 kB / 0.4963 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.8845, allocations: 328.3 kB / 0.4966 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006222/0.8908, allocations: 1.775 MB / 0.4983 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.8911, allocations: 156.1 kB / 0.4984 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007806/0.8918, allocations: 207.9 kB / 0.4986 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007419/0.8993, allocations: 2.602 MB / 0.5012 GB, free: 7.516 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.111e-05/0.8994, allocations: 11.91 kB / 0.5012 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/0.8998, allocations: 91.98 kB / 0.5013 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.8999, allocations: 88.03 kB / 0.5014 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006034/0.906, allocations: 2.042 MB / 0.5034 GB, free: 5.273 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.9296, allocations: 8.397 MB / 0.5116 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004397/0.9341, allocations: 1.566 MB / 0.5131 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.9366, allocations: 0.9689 MB / 0.514 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004403/0.9371, allocations: 146 kB / 0.5142 GB, free: 9.902 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.9372, allocations: 47.56 kB / 0.5142 GB, free: 9.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 4.208e-06/0.9372, allocations: 0 / 0.5142 GB, free: 9.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.01562/0.9528, allocations: 5.033 MB / 0.5191 GB, free: 4.746 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.9529, allocations: 68.72 kB / 0.5192 GB, free: 4.664 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00444/0.9574, allocations: 1.862 MB / 0.521 GB, free: 2.754 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000327/0.9577, allocations: 53.7 kB / 0.5211 GB, free: 2.695 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.959, allocations: 1.111 MB / 0.5222 GB, free: 1.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006977/0.9597, allocations: 465.2 kB / 0.5226 GB, free: 1.109 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.9598, allocations: 28 kB / 0.5226 GB, free: 1.082 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.96, allocations: 361.9 kB / 0.523 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.9619, allocations: 0.7068 MB / 0.5237 GB, free: 16 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3152/1.277, allocations: 0.9444 MB / 0.5246 GB, free: 113.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/1.28, allocations: 0.8493 MB / 0.5254 GB, free: 113.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/1.28, allocations: 2.844 kB / 0.5254 GB, free: 113.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.008928/1.289, allocations: 2.694 MB / 0.5281 GB, free: 113.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/1.289, allocations: 7.156 kB / 0.5281 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.617e-05/1.289, allocations: 8.703 kB / 0.5281 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004225/1.293, allocations: 0.8453 MB / 0.5289 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/1.296, allocations: 271.3 kB / 0.5291 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/1.317, allocations: 9.285 MB / 0.5382 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/1.32, allocations: 98.28 kB / 0.5383 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003123/1.32, allocations: 54.89 kB / 0.5384 GB, free: 110.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004015/1.321, allocations: 182.7 kB / 0.5385 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006206/1.321, allocations: 201.9 kB / 0.5387 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007409/1.329, allocations: 2.471 MB / 0.5411 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/1.329, allocations: 16.03 kB / 0.5412 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/1.329, allocations: 7.531 kB / 0.5412 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/1.329, allocations: 6.984 kB / 0.5412 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/1.343, allocations: 5.005 MB / 0.5461 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/1.343, allocations: 10.2 kB / 0.5461 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/1.345, allocations: 217.4 kB / 0.5463 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003171/1.348, allocations: 0.7063 MB / 0.547 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/1.349, allocations: 36.11 kB / 0.547 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/1.362, allocations: 8.456 MB / 0.5553 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/1.362, allocations: 2.969 kB / 0.5553 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008635/1.37, allocations: 3.587 MB / 0.5588 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.372, allocations: 480.6 kB / 0.5592 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/1.372, allocations: 34.23 kB / 0.5593 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.374, allocations: 92.78 kB / 0.5593 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003923/1.375, allocations: 108.5 kB / 0.5594 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.375, allocations: 49.47 kB / 0.5595 GB, free: 102.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003245/1.378, allocations: 1.451 MB / 0.5609 GB, free: 101.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.378, allocations: 0 / 0.5609 GB, free: 101.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003389/1.382, allocations: 0.598 MB / 0.5615 GB, free: 101.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01052/1.392, allocations: 5.14 MB / 0.5665 GB, free: 99.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006041/1.398, allocations: 2.326 MB / 0.5688 GB, free: 98.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.398, allocations: 0 / 0.5688 GB, free: 98.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003968/1.402, allocations: 1.646 MB / 0.5704 GB, free: 97.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/1.406, allocations: 415 kB / 0.5708 GB, free: 97.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.419, allocations: 4.979 MB / 0.5757 GB, free: 95.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/1.421, allocations: 2.011 MB / 0.5776 GB, free: 94.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002204/1.423, allocations: 405 kB / 0.578 GB, free: 94.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/1.425, allocations: 0.9534 MB / 0.5789 GB, free: 93.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.774e-06/1.425, allocations: 0 / 0.5789 GB, free: 93.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.169/1.594, allocations: 51.65 MB / 0.6294 GB, free: 57.51 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/1.595, allocations: 241.1 kB / 0.6296 GB, free: 57.19 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.495/6.09, allocations: 0 / 0.6296 GB, free: 57.19 MB / 442.7 MB