Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 239.3 MB, free: 1.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.975e-05, allocations: 0 / 292.8 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 50.41 MB / 343.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5412/0.6488, allocations: 147.3 MB / 490.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/0.6492, allocations: 101.4 kB / 490.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.698/2.347, allocations: 349.3 MB / 0.8202 GB, free: 55.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.745e-06/2.347, allocations: 0 / 0.8202 GB, free: 55.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009664/2.348, allocations: 249.7 kB / 0.8204 GB, free: 55.55 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.04942/2.397, allocations: 10.2 MB / 0.8304 GB, free: 52.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/2.397, allocations: 6.906 kB / 0.8304 GB, free: 52.17 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007496/2.405, allocations: 1.495 MB / 0.8319 GB, free: 51.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04039/2.445, allocations: 4.738 MB / 0.8365 GB, free: 50.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03169/2.477, allocations: 9.473 MB / 0.8458 GB, free: 43.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009628/2.478, allocations: 0.7771 MB / 0.8465 GB, free: 42.49 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005021/2.483, allocations: 1.024 MB / 0.8475 GB, free: 41.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05272/2.536, allocations: 16.65 MB / 0.8638 GB, free: 26.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005933/2.536, allocations: 19.83 kB / 0.8638 GB, free: 26.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004494/2.541, allocations: 443.3 kB / 0.8642 GB, free: 26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/2.542, allocations: 0.7485 MB / 0.8649 GB, free: 25.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04739/2.59, allocations: 14.89 MB / 0.8795 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5808/3.17, allocations: 55.88 MB / 0.9341 GB, free: 38.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04274/3.213, allocations: 30.89 MB / 0.9642 GB, free: 30.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01038/3.224, allocations: 4.228 MB / 0.9684 GB, free: 30.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0306/3.254, allocations: 10.47 MB / 0.9786 GB, free: 27.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.555e-05/3.254, allocations: 75.56 kB / 0.9787 GB, free: 26.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=396): time 8.516e-06/3.254, allocations: 0 / 0.9787 GB, free: 26.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=421): time 0.04903/3.303, allocations: 15.98 MB / 0.9943 GB, free: 19.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/3.304, allocations: 120.4 kB / 0.9944 GB, free: 19.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/3.315, allocations: 4.081 MB / 0.9984 GB, free: 17.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/3.316, allocations: 93.77 kB / 0.9985 GB, free: 17.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0042/3.32, allocations: 4.666 MB / 1.003 GB, free: 14.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002175/3.323, allocations: 1.441 MB / 1.004 GB, free: 12.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/3.324, allocations: 119.3 kB / 1.005 GB, free: 12.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006401/3.324, allocations: 0.5381 MB / 1.005 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00766/3.332, allocations: 2.803 MB / 1.008 GB, free: 11.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0093/3.341, allocations: 4.796 MB / 1.012 GB, free: 7.602 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00945/3.351, allocations: 3.864 MB / 1.016 GB, free: 6.008 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/3.351, allocations: 21.16 kB / 1.016 GB, free: 6.008 MB / 474.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.03046/3.381, allocations: 9.337 MB / 1.025 GB, free: 2.695 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.756e-05/3.382, allocations: 33.16 kB / 1.025 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/3.382, allocations: 67.83 kB / 1.025 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008315/3.39, allocations: 1.652 MB / 1.027 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/3.4, allocations: 1.311 MB / 1.028 GB, free: 2.223 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03666/3.437, allocations: 16.4 MB / 1.044 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008568/3.446, allocations: 339.4 kB / 1.045 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/3.447, allocations: 277.7 kB / 1.045 GB, free: 5.207 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (669): * Single equations (assignments): 665 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,67.3%) 28,(1,100.0%) 1,(14,40.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002537/3.45, allocations: 478.8 kB / 1.045 GB, free: 4.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001892/3.452, allocations: 493.7 kB / 1.046 GB, free: 4.246 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02507/3.477, allocations: 7.648 MB / 1.053 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.04e-05/3.477, allocations: 40 kB / 1.053 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-05/3.477, allocations: 22.08 kB / 1.053 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/3.477, allocations: 21.05 kB / 1.053 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4475/3.925, allocations: 17.26 MB / 1.07 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.197e-05/3.925, allocations: 7 kB / 1.07 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007201/3.932, allocations: 0.7185 MB / 1.071 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008059/3.94, allocations: 1.558 MB / 1.073 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/3.941, allocations: 103.9 kB / 1.073 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03436/3.976, allocations: 19.42 MB / 1.092 GB, free: 84.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/3.976, allocations: 12.12 kB / 1.092 GB, free: 84.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03002/4.006, allocations: 11.91 MB / 1.103 GB, free: 82.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004715/4.01, allocations: 1.157 MB / 1.104 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002212/4.013, allocations: 85.06 kB / 1.104 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006465/4.019, allocations: 244.6 kB / 1.105 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001728/4.021, allocations: 327.1 kB / 1.105 GB, free: 82.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006974/4.022, allocations: 128.6 kB / 1.105 GB, free: 82.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008366/4.03, allocations: 3.069 MB / 1.108 GB, free: 81.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.42e-07/4.03, allocations: 4.25 kB / 1.108 GB, free: 81.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01148/4.042, allocations: 1.902 MB / 1.11 GB, free: 81.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,imc.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 (362): * Single equations (assignments): 355 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,39.8%) 44,(2,100.0%) 12,(1,100.0%) 5,(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.03179/4.074, allocations: 14.41 MB / 1.124 GB, free: 78.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02138/4.095, allocations: 7.686 MB / 1.132 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/4.095, allocations: 3.5 kB / 1.132 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01283/4.108, allocations: 4.45 MB / 1.136 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/4.119, allocations: 1.173 MB / 1.137 GB, free: 76.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0606/4.18, allocations: 19.46 MB / 1.156 GB, free: 69.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01415/4.194, allocations: 6.952 MB / 1.163 GB, free: 67.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0108/4.205, allocations: 1.853 MB / 1.165 GB, free: 66.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009212/4.214, allocations: 3.97 MB / 1.169 GB, free: 63.61 MB / 0.4948 GB Notification: Performance of SimCode: time 1.853e-06/4.214, allocations: 0 / 1.169 GB, free: 63.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7567/4.971, allocations: 151.6 MB / 1.317 GB, free: 84.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/4.971, allocations: 230.4 kB / 1.317 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/13.43, allocations: 4 kB / 1.317 GB, free: 84.07 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat does not exist to compare? outputFormat=mat