Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.894e-05, allocations: 4 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.09946, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4937/0.5932, allocations: 108.5 MB / 425.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.5936, allocations: 86.77 kB / 425.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3276/0.9212, allocations: 80.28 MB / 0.4941 GB, free: 1.758 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.9213, allocations: 0 / 0.4941 GB, free: 1.758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003928/0.9217, allocations: 83.88 kB / 0.4941 GB, free: 1.676 MB / 410.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.01486/0.9365, allocations: 3.211 MB / 0.4973 GB, free: 14.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.9366, allocations: 8.031 kB / 0.4973 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001937/0.9386, allocations: 450.9 kB / 0.4977 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006557/0.9452, allocations: 0.7334 MB / 0.4984 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.9587, allocations: 3.332 MB / 0.5017 GB, free: 9.809 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/0.9592, allocations: 242.2 kB / 0.5019 GB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.9606, allocations: 315.9 kB / 0.5022 GB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.9755, allocations: 4.055 MB / 0.5062 GB, free: 5.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.9758, allocations: 4 kB / 0.5062 GB, free: 5.086 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/0.9768, allocations: 132 kB / 0.5063 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002611/0.9771, allocations: 146.2 kB / 0.5065 GB, free: 4.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.9893, allocations: 3.308 MB / 0.5097 GB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3275/1.317, allocations: 13.54 MB / 0.5229 GB, free: 88.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009905/1.327, allocations: 6.766 MB / 0.5295 GB, free: 83.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003932/1.331, allocations: 1.369 MB / 0.5308 GB, free: 83.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/1.342, allocations: 3.619 MB / 0.5344 GB, free: 82.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/1.342, allocations: 44.12 kB / 0.5344 GB, free: 82.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 4.749e-06/1.342, allocations: 0 / 0.5344 GB, free: 82.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=142): time 0.01577/1.357, allocations: 5.02 MB / 0.5393 GB, free: 81.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/1.358, allocations: 64.59 kB / 0.5394 GB, free: 81.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003849/1.361, allocations: 1.612 MB / 0.541 GB, free: 81.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003258/1.362, allocations: 50.98 kB / 0.541 GB, free: 81.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/1.363, allocations: 1.43 MB / 0.5424 GB, free: 80.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000669/1.364, allocations: 494.9 kB / 0.5429 GB, free: 80.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/1.364, allocations: 32.69 kB / 0.5429 GB, free: 80.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/1.364, allocations: 376.3 kB / 0.5433 GB, free: 80.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/1.366, allocations: 0.7129 MB / 0.544 GB, free: 80.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/1.368, allocations: 1.158 MB / 0.5451 GB, free: 79.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/1.37, allocations: 0.9359 MB / 0.546 GB, free: 79.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/1.37, allocations: 5.953 kB / 0.546 GB, free: 79.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007065/1.377, allocations: 2.52 MB / 0.5485 GB, free: 79.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/1.378, allocations: 14.62 kB / 0.5485 GB, free: 79.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/1.378, allocations: 12.72 kB / 0.5485 GB, free: 79.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/1.38, allocations: 0.4887 MB / 0.549 GB, free: 79.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/1.383, allocations: 392.6 kB / 0.5494 GB, free: 79.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/1.395, allocations: 6.372 MB / 0.5556 GB, free: 76.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/1.397, allocations: 83.67 kB / 0.5557 GB, free: 76.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003706/1.398, allocations: 66.66 kB / 0.5557 GB, free: 76.39 MB / 426.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.0004597/1.398, allocations: 207.7 kB / 0.5559 GB, free: 76.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006067/1.399, allocations: 190.8 kB / 0.5561 GB, free: 76.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006297/1.405, allocations: 2.414 MB / 0.5585 GB, free: 74.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.405, allocations: 13.5 kB / 0.5585 GB, free: 74.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/1.405, allocations: 7.375 kB / 0.5585 GB, free: 74.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.14e-05/1.405, allocations: 6.469 kB / 0.5585 GB, free: 74.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/1.419, allocations: 5.386 MB / 0.5637 GB, free: 72.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/1.419, allocations: 3.781 kB / 0.5637 GB, free: 72.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/1.421, allocations: 213.8 kB / 0.5639 GB, free: 72.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002192/1.424, allocations: 0.4911 MB / 0.5644 GB, free: 72.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002987/1.424, allocations: 33.09 kB / 0.5645 GB, free: 72.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/1.437, allocations: 10.42 MB / 0.5746 GB, free: 63.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.437, allocations: 1.781 kB / 0.5746 GB, free: 63.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008076/1.445, allocations: 3.517 MB / 0.5781 GB, free: 61.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/1.447, allocations: 452.7 kB / 0.5785 GB, free: 61.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007032/1.447, allocations: 31.66 kB / 0.5785 GB, free: 61.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/1.45, allocations: 75.36 kB / 0.5786 GB, free: 61.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005196/1.45, allocations: 112.8 kB / 0.5787 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.45, allocations: 41.09 kB / 0.5788 GB, free: 61.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003024/1.454, allocations: 1.233 MB / 0.58 GB, free: 60.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.11e-07/1.454, allocations: 2.938 kB / 0.58 GB, free: 60.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003722/1.457, allocations: 0.624 MB / 0.5806 GB, free: 60.84 MB / 426.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.strayReluctance.Phi.re,aimc.stator.strayReluctance.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.009209/1.467, allocations: 4.76 MB / 0.5852 GB, free: 58.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006148/1.473, allocations: 2.23 MB / 0.5874 GB, free: 57.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.473, allocations: 6.75 kB / 0.5874 GB, free: 57.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003809/1.477, allocations: 1.617 MB / 0.589 GB, free: 56.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/1.481, allocations: 479.4 kB / 0.5894 GB, free: 55.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/1.498, allocations: 5.669 MB / 0.595 GB, free: 53.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003619/1.502, allocations: 2.436 MB / 0.5974 GB, free: 52.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002667/1.505, allocations: 412.1 kB / 0.5977 GB, free: 52.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/1.507, allocations: 1.128 MB / 0.5989 GB, free: 51.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/1.507, allocations: 3.438 kB / 0.5989 GB, free: 51.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/1.638, allocations: 54.21 MB / 0.6518 GB, free: 14.35 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/1.638, allocations: 194.2 kB / 0.652 GB, free: 14.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.574/6.212, allocations: 3.906 kB / 0.652 GB, free: 14.12 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_res.mat does not exist to compare? outputFormat=mat