Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.968/1.968, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.484e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09475, allocations: 44.52 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.474/0.5688, allocations: 117.1 MB / 417 MB, free: 7.238 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5692, allocations: 81.02 kB / 417.1 MB, free: 7.227 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7724/1.342, allocations: 117.6 MB / 0.5222 GB, free: 61.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/1.342, allocations: 0 / 0.5222 GB, free: 61.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006555/1.342, allocations: 145.3 kB / 0.5223 GB, free: 61.78 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.02279/1.365, allocations: 4.912 MB / 0.5271 GB, free: 60.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.365, allocations: 8.938 kB / 0.5271 GB, free: 60.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003295/1.369, allocations: 0.701 MB / 0.5278 GB, free: 60.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008437/1.377, allocations: 0.997 MB / 0.5288 GB, free: 59.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01867/1.396, allocations: 4.591 MB / 0.5333 GB, free: 59.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006226/1.396, allocations: 389 kB / 0.5336 GB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/1.399, allocations: 0.5101 MB / 0.5341 GB, free: 59.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/1.422, allocations: 6.721 MB / 0.5407 GB, free: 58.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003403/1.422, allocations: 10.06 kB / 0.5407 GB, free: 58.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/1.424, allocations: 223.4 kB / 0.5409 GB, free: 58.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002893/1.425, allocations: 230.6 kB / 0.5411 GB, free: 58.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/1.442, allocations: 5.436 MB / 0.5464 GB, free: 58.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05696/1.499, allocations: 21.44 MB / 0.5674 GB, free: 54.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/1.511, allocations: 8.666 MB / 0.5758 GB, free: 48.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005561/1.517, allocations: 2.207 MB / 0.578 GB, free: 47.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01751/1.534, allocations: 6.182 MB / 0.584 GB, free: 44.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/1.534, allocations: 56.44 kB / 0.5841 GB, free: 44.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=220): time 5.51e-06/1.535, allocations: 0 / 0.5841 GB, free: 44.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=239): time 0.02983/1.564, allocations: 8.955 MB / 0.5928 GB, free: 40.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.564, allocations: 80.03 kB / 0.5929 GB, free: 40.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006919/1.571, allocations: 2.577 MB / 0.5954 GB, free: 39.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005738/1.572, allocations: 68.23 kB / 0.5955 GB, free: 39.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/1.574, allocations: 2.298 MB / 0.5977 GB, free: 37.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001164/1.575, allocations: 0.8224 MB / 0.5985 GB, free: 37.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/1.576, allocations: 55.19 kB / 0.5986 GB, free: 37.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/1.576, allocations: 418.6 kB / 0.599 GB, free: 36.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/1.579, allocations: 1.293 MB / 0.6003 GB, free: 36.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004075/1.583, allocations: 2.05 MB / 0.6023 GB, free: 35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004224/1.588, allocations: 1.648 MB / 0.6039 GB, free: 34.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/1.588, allocations: 6.906 kB / 0.6039 GB, free: 34.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01285/1.601, allocations: 4.526 MB / 0.6083 GB, free: 32.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/1.601, allocations: 13 kB / 0.6083 GB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/1.601, allocations: 23.91 kB / 0.6083 GB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/1.604, allocations: 0.7646 MB / 0.6091 GB, free: 32.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004899/1.609, allocations: 0.6417 MB / 0.6097 GB, free: 32.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/1.624, allocations: 13.34 MB / 0.6227 GB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/1.628, allocations: 161.5 kB / 0.6229 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007251/1.629, allocations: 121.7 kB / 0.623 GB, free: 21.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007641/1.63, allocations: 276.2 kB / 0.6233 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.631, allocations: 324.4 kB / 0.6236 GB, free: 20.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/1.642, allocations: 4.117 MB / 0.6276 GB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/1.642, allocations: 30.48 kB / 0.6276 GB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.11e-05/1.642, allocations: 15.56 kB / 0.6276 GB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.79e-05/1.642, allocations: 7.734 kB / 0.6276 GB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02531/1.668, allocations: 9.033 MB / 0.6365 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.152e-05/1.668, allocations: 3.312 kB / 0.6365 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003458/1.671, allocations: 389.9 kB / 0.6368 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004153/1.676, allocations: 0.9183 MB / 0.6377 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000602/1.676, allocations: 70.17 kB / 0.6378 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02164/1.698, allocations: 16.49 MB / 0.6539 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/1.698, allocations: 9.969 kB / 0.6539 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/1.715, allocations: 6.261 MB / 0.66 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003124/1.718, allocations: 0.7015 MB / 0.6607 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/1.72, allocations: 59.8 kB / 0.6608 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00394/1.724, allocations: 145.4 kB / 0.6609 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/1.725, allocations: 197.9 kB / 0.6611 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004332/1.725, allocations: 75.64 kB / 0.6612 GB, free: 6.914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005893/1.731, allocations: 1.968 MB / 0.6631 GB, free: 5.137 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.823e-06/1.731, allocations: 0 / 0.6631 GB, free: 5.137 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006378/1.738, allocations: 1.015 MB / 0.6641 GB, free: 4.125 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3161/2.054, allocations: 8.223 MB / 0.6721 GB, free: 66.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/2.065, allocations: 4.457 MB / 0.6765 GB, free: 65.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/2.065, allocations: 1.469 kB / 0.6765 GB, free: 65.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007675/2.073, allocations: 2.993 MB / 0.6794 GB, free: 64.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007401/2.08, allocations: 0.8349 MB / 0.6802 GB, free: 64.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/2.111, allocations: 9.662 MB / 0.6896 GB, free: 62.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008518/2.12, allocations: 3.518 MB / 0.6931 GB, free: 62.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006514/2.126, allocations: 0.7695 MB / 0.6938 GB, free: 61.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005976/2.132, allocations: 1.946 MB / 0.6957 GB, free: 61.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.714e-06/2.132, allocations: 0 / 0.6957 GB, free: 61.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2365/2.369, allocations: 87.49 MB / 0.7812 GB, free: 32.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002868/2.369, allocations: 188 kB / 0.7813 GB, free: 32.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.688/8.058, allocations: 4.062 kB / 0.7814 GB, free: 32.59 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat