Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.922e-05, allocations: 4 kB / 292.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 50.41 MB / 343.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.571, allocations: 109.8 MB / 453 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.5713, allocations: 94.38 kB / 453.1 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3314/0.9028, allocations: 80.51 MB / 0.5211 GB, free: 3.434 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.029e-06/0.9029, allocations: 4 kB / 0.5211 GB, free: 3.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003372/0.9032, allocations: 71.94 kB / 0.5211 GB, free: 3.359 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01386/0.9171, allocations: 3.214 MB / 0.5243 GB, free: 84 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.9171, allocations: 16.81 kB / 0.5243 GB, free: 68 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2883/1.205, allocations: 444.9 kB / 0.5247 GB, free: 93.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006178/1.212, allocations: 0.7252 MB / 0.5254 GB, free: 93.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/1.225, allocations: 3.347 MB / 0.5287 GB, free: 93.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/1.225, allocations: 234.8 kB / 0.5289 GB, free: 93.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/1.226, allocations: 318.5 kB / 0.5292 GB, free: 93.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/1.239, allocations: 4.05 MB / 0.5332 GB, free: 93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/1.24, allocations: 12.83 kB / 0.5332 GB, free: 93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005828/1.24, allocations: 131.5 kB / 0.5333 GB, free: 93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002044/1.24, allocations: 141.1 kB / 0.5334 GB, free: 92.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/1.251, allocations: 3.303 MB / 0.5367 GB, free: 92.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03421/1.285, allocations: 13.56 MB / 0.5499 GB, free: 90.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009/1.294, allocations: 6.765 MB / 0.5565 GB, free: 85.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/1.298, allocations: 1.363 MB / 0.5579 GB, free: 85.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008986/1.307, allocations: 3.621 MB / 0.5614 GB, free: 84.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/1.307, allocations: 60.42 kB / 0.5614 GB, free: 84.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 3.907e-06/1.307, allocations: 0 / 0.5614 GB, free: 84.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=142): time 0.01346/1.321, allocations: 5.01 MB / 0.5663 GB, free: 81.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.321, allocations: 70.98 kB / 0.5664 GB, free: 81.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/1.324, allocations: 1.613 MB / 0.568 GB, free: 81.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002495/1.324, allocations: 47.36 kB / 0.568 GB, free: 80.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.325, allocations: 1.428 MB / 0.5694 GB, free: 79.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004801/1.326, allocations: 493.9 kB / 0.5699 GB, free: 79.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/1.326, allocations: 37.5 kB / 0.5699 GB, free: 79.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/1.326, allocations: 374.2 kB / 0.5703 GB, free: 79.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/1.328, allocations: 0.7141 MB / 0.571 GB, free: 78.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/1.329, allocations: 1.153 MB / 0.5721 GB, free: 78.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/1.331, allocations: 0.9324 MB / 0.573 GB, free: 77.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.331, allocations: 3.844 kB / 0.573 GB, free: 77.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006254/1.338, allocations: 2.523 MB / 0.5755 GB, free: 76.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/1.338, allocations: 11.28 kB / 0.5755 GB, free: 76.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/1.338, allocations: 14.97 kB / 0.5755 GB, free: 76.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/1.34, allocations: 494.5 kB / 0.576 GB, free: 76.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/1.343, allocations: 384.1 kB / 0.5763 GB, free: 76.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.354, allocations: 6.37 MB / 0.5826 GB, free: 72.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/1.356, allocations: 87.31 kB / 0.5827 GB, free: 72.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/1.356, allocations: 68.28 kB / 0.5827 GB, free: 72.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004033/1.357, allocations: 197.7 kB / 0.5829 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004234/1.357, allocations: 194.9 kB / 0.5831 GB, free: 71.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005842/1.363, allocations: 2.414 MB / 0.5855 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.363, allocations: 17.19 kB / 0.5855 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.363, allocations: 5.938 kB / 0.5855 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/1.363, allocations: 6.562 kB / 0.5855 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.375, allocations: 5.378 MB / 0.5907 GB, free: 68.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.375, allocations: 3.531 kB / 0.5907 GB, free: 68.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/1.377, allocations: 218.5 kB / 0.5909 GB, free: 68.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/1.379, allocations: 0.4917 MB / 0.5914 GB, free: 67.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/1.379, allocations: 34.72 kB / 0.5915 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/1.392, allocations: 10.42 MB / 0.6016 GB, free: 59.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.392, allocations: 5.5 kB / 0.6016 GB, free: 59.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007322/1.399, allocations: 3.527 MB / 0.6051 GB, free: 57.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.4, allocations: 456.1 kB / 0.6055 GB, free: 57.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/1.401, allocations: 27.56 kB / 0.6055 GB, free: 57.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.403, allocations: 80.17 kB / 0.6056 GB, free: 57.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/1.403, allocations: 105.6 kB / 0.6057 GB, free: 57.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.403, allocations: 39.53 kB / 0.6058 GB, free: 57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002448/1.405, allocations: 1.235 MB / 0.607 GB, free: 56.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.406, allocations: 0 / 0.607 GB, free: 56.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003216/1.409, allocations: 0.6222 MB / 0.6076 GB, free: 56.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008295/1.417, allocations: 4.767 MB / 0.6122 GB, free: 53.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005434/1.423, allocations: 2.218 MB / 0.6144 GB, free: 52.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.423, allocations: 0 / 0.6144 GB, free: 52.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/1.426, allocations: 1.615 MB / 0.616 GB, free: 51.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/1.43, allocations: 493.5 kB / 0.6164 GB, free: 51.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/1.445, allocations: 5.664 MB / 0.622 GB, free: 49.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002612/1.447, allocations: 2.429 MB / 0.6243 GB, free: 47.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00244/1.45, allocations: 412.4 kB / 0.6247 GB, free: 47.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002319/1.452, allocations: 1.123 MB / 0.6258 GB, free: 45.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.322e-06/1.452, allocations: 7.562 kB / 0.6258 GB, free: 45.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.58, allocations: 54.35 MB / 0.6789 GB, free: 2.953 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002844/1.58, allocations: 217.9 kB / 0.6791 GB, free: 2.727 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.208/5.788, allocations: 0 / 0.6791 GB, free: 2.727 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat does not exist to compare? outputFormat=mat