Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.321e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1506, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4625/0.6131, allocations: 109 MB / 426 MB, free: 11.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.6135, allocations: 87.45 kB / 426.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2401/0.8537, allocations: 52.01 MB / 478.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.8537, allocations: 0 / 478.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003337/0.8541, allocations: 63.88 kB / 478.2 MB, free: 14.03 MB / 394.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.00951/0.8636, allocations: 2.42 MB / 480.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.8637, allocations: 12.03 kB / 480.6 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001551/0.8652, allocations: 347.1 kB / 481 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.8674, allocations: 336.3 kB / 481.3 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006934/0.8744, allocations: 1.779 MB / 483.1 MB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.8746, allocations: 152.1 kB / 483.2 MB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009872/0.8757, allocations: 215.9 kB / 483.4 MB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00871/0.8844, allocations: 2.598 MB / 486 MB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.8846, allocations: 11.89 kB / 486.1 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/0.885, allocations: 88 kB / 486.1 MB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.8851, allocations: 88.05 kB / 486.2 MB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007596/0.8927, allocations: 2.042 MB / 488.3 MB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02765/0.9205, allocations: 8.401 MB / 496.7 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005016/0.9255, allocations: 1.581 MB / 498.2 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/0.9285, allocations: 0.965 MB / 499.2 MB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/0.9291, allocations: 138 kB / 499.3 MB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.9292, allocations: 47.56 kB / 499.4 MB, free: 8.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 4.669e-06/0.9292, allocations: 0 / 499.4 MB, free: 8.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.01815/0.9474, allocations: 5.032 MB / 0.4926 GB, free: 3.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.9475, allocations: 64.72 kB / 0.4927 GB, free: 3.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005481/0.953, allocations: 1.866 MB / 0.4945 GB, free: 1.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003755/0.9534, allocations: 49.64 kB / 0.4945 GB, free: 1.105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.9549, allocations: 1.112 MB / 0.4956 GB, free: 15.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008864/0.9558, allocations: 469.1 kB / 0.4961 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.956, allocations: 31.94 kB / 0.4961 GB, free: 15.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.9563, allocations: 361.7 kB / 0.4964 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/0.9584, allocations: 0.7107 MB / 0.4971 GB, free: 14.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/0.9609, allocations: 0.9433 MB / 0.4981 GB, free: 13.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.9635, allocations: 0.852 MB / 0.4989 GB, free: 12.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.9635, allocations: 0 / 0.4989 GB, free: 12.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.009578/0.9731, allocations: 2.699 MB / 0.5015 GB, free: 9.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.9732, allocations: 4 kB / 0.5015 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.276e-05/0.9733, allocations: 11.98 kB / 0.5015 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004288/0.9776, allocations: 0.8314 MB / 0.5024 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.9801, allocations: 275.5 kB / 0.5026 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3004/1.281, allocations: 9.285 MB / 0.5117 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/1.283, allocations: 97.38 kB / 0.5118 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003883/1.284, allocations: 55.36 kB / 0.5118 GB, free: 111.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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.0004491/1.284, allocations: 182.4 kB / 0.512 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007168/1.285, allocations: 198.5 kB / 0.5122 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007947/1.293, allocations: 2.466 MB / 0.5146 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/1.293, allocations: 13.34 kB / 0.5146 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/1.293, allocations: 7.234 kB / 0.5146 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-05/1.293, allocations: 8.156 kB / 0.5146 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/1.309, allocations: 5.01 MB / 0.5195 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.752e-05/1.309, allocations: 3.062 kB / 0.5195 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002238/1.311, allocations: 217.1 kB / 0.5197 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003706/1.315, allocations: 0.7032 MB / 0.5204 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003651/1.316, allocations: 39.89 kB / 0.5205 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/1.33, allocations: 8.465 MB / 0.5287 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.33, allocations: 6.812 kB / 0.5287 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009376/1.339, allocations: 3.602 MB / 0.5322 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/1.341, allocations: 474.8 kB / 0.5327 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00071/1.342, allocations: 35.62 kB / 0.5327 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/1.344, allocations: 90 kB / 0.5328 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006236/1.345, allocations: 116.8 kB / 0.5329 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/1.345, allocations: 40.53 kB / 0.533 GB, free: 106 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003868/1.349, allocations: 1.447 MB / 0.5344 GB, free: 105.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.193e-06/1.349, allocations: 3.969 kB / 0.5344 GB, free: 105.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003612/1.353, allocations: 0.5941 MB / 0.535 GB, free: 105.8 MB / 426.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.01146/1.364, allocations: 5.114 MB / 0.54 GB, free: 104.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006507/1.371, allocations: 2.333 MB / 0.5422 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.371, allocations: 0 / 0.5422 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004336/1.375, allocations: 1.647 MB / 0.5438 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/1.379, allocations: 424 kB / 0.5442 GB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.394, allocations: 4.975 MB / 0.5491 GB, free: 100.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/1.396, allocations: 2.022 MB / 0.5511 GB, free: 99.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002399/1.399, allocations: 395.9 kB / 0.5515 GB, free: 99.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/1.401, allocations: 0.9539 MB / 0.5524 GB, free: 98.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.854e-06/1.401, allocations: 0 / 0.5524 GB, free: 98.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.529, allocations: 51.7 MB / 0.6029 GB, free: 68.34 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/1.529, allocations: 250.5 kB / 0.6031 GB, free: 68.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.578/6.107, allocations: 3.938 kB / 0.6031 GB, free: 68 MB / 426.7 MB