Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.028e-05, allocations: 8 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4818/0.584, allocations: 128.8 MB / 445.8 MB, free: 7.824 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.5843, allocations: 85.89 kB / 445.9 MB, free: 7.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.062/1.646, allocations: 150.2 MB / 0.5822 GB, free: 86.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.906e-06/1.646, allocations: 0 / 0.5822 GB, free: 86.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001035/1.648, allocations: 186 kB / 0.5824 GB, free: 86.75 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.03779/1.685, allocations: 6.561 MB / 0.5888 GB, free: 83.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/1.685, allocations: 10.94 kB / 0.5888 GB, free: 83.81 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005303/1.691, allocations: 0.9186 MB / 0.5897 GB, free: 83.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/1.705, allocations: 1.246 MB / 0.5909 GB, free: 82.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03271/1.738, allocations: 6.222 MB / 0.597 GB, free: 78.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009545/1.739, allocations: 0.4969 MB / 0.5974 GB, free: 77.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004079/1.743, allocations: 0.6705 MB / 0.5981 GB, free: 77.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04264/1.785, allocations: 9.098 MB / 0.607 GB, free: 67.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005101/1.786, allocations: 23.83 kB / 0.607 GB, free: 67.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003343/1.789, allocations: 286.2 kB / 0.6073 GB, free: 67.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004746/1.79, allocations: 289.4 kB / 0.6076 GB, free: 67.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03491/1.825, allocations: 7.356 MB / 0.6147 GB, free: 59.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1128/1.938, allocations: 29.49 MB / 0.6435 GB, free: 30.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02371/1.961, allocations: 11.71 MB / 0.655 GB, free: 17.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01329/1.975, allocations: 3.273 MB / 0.6582 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02414/1.999, allocations: 6.852 MB / 0.6649 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/1.999, allocations: 72.97 kB / 0.6649 GB, free: 6.969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=306): time 6.122e-06/1.999, allocations: 0 / 0.6649 GB, free: 6.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=325): time 0.3513/2.35, allocations: 11.93 MB / 0.6766 GB, free: 78.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/2.351, allocations: 85.81 kB / 0.6767 GB, free: 78.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01453/2.365, allocations: 3.457 MB / 0.68 GB, free: 78.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001018/2.366, allocations: 83.92 kB / 0.6801 GB, free: 78.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004847/2.371, allocations: 3.08 MB / 0.6831 GB, free: 77.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002252/2.373, allocations: 1.096 MB / 0.6842 GB, free: 76.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006047/2.374, allocations: 75.31 kB / 0.6843 GB, free: 76.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004526/2.375, allocations: 461.2 kB / 0.6847 GB, free: 76.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005852/2.38, allocations: 1.794 MB / 0.6865 GB, free: 76.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005842/2.386, allocations: 2.672 MB / 0.6891 GB, free: 75.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0057/2.392, allocations: 2.224 MB / 0.6912 GB, free: 74.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.083e-05/2.392, allocations: 7.781 kB / 0.6912 GB, free: 74.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.0177/2.41, allocations: 6.139 MB / 0.6972 GB, free: 74.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/2.41, allocations: 14.66 kB / 0.6972 GB, free: 74.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.875e-05/2.41, allocations: 28.91 kB / 0.6973 GB, free: 74.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004757/2.415, allocations: 1.247 MB / 0.6985 GB, free: 74.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006465/2.421, allocations: 0.8169 MB / 0.6993 GB, free: 74.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/2.445, allocations: 20.68 MB / 0.7195 GB, free: 59.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005599/2.45, allocations: 200.8 kB / 0.7197 GB, free: 59.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009886/2.451, allocations: 152.3 kB / 0.7198 GB, free: 59.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 402 * 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: 11 * 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: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0016/2.453, allocations: 330.6 kB / 0.7201 GB, free: 59.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/2.455, allocations: 444.2 kB / 0.7206 GB, free: 59.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/2.471, allocations: 5.979 MB / 0.7264 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/2.471, allocations: 31.81 kB / 0.7264 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.074e-05/2.471, allocations: 13 kB / 0.7264 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.611e-05/2.471, allocations: 14.25 kB / 0.7265 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03366/2.504, allocations: 12.26 MB / 0.7384 GB, free: 51.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/2.504, allocations: 7.188 kB / 0.7384 GB, free: 51.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004135/2.509, allocations: 459.9 kB / 0.7389 GB, free: 51.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006462/2.515, allocations: 1.6 MB / 0.7404 GB, free: 50.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006585/2.516, allocations: 74.41 kB / 0.7405 GB, free: 50.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03353/2.549, allocations: 30.12 MB / 0.7699 GB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/2.549, allocations: 12.47 kB / 0.7699 GB, free: 25.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01946/2.569, allocations: 8.857 MB / 0.7786 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003473/2.572, allocations: 0.9222 MB / 0.7795 GB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/2.574, allocations: 70.2 kB / 0.7796 GB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004081/2.578, allocations: 202.1 kB / 0.7798 GB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009378/2.579, allocations: 279.2 kB / 0.78 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003247/2.579, allocations: 93.45 kB / 0.7801 GB, free: 20.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005674/2.585, allocations: 2.631 MB / 0.7827 GB, free: 19.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.212e-06/2.585, allocations: 0 / 0.7827 GB, free: 19.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007292/2.592, allocations: 1.377 MB / 0.784 GB, free: 18.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 215 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02051/2.613, allocations: 10.56 MB / 0.7943 GB, free: 8.328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01229/2.625, allocations: 6.034 MB / 0.8002 GB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/2.625, allocations: 7.906 kB / 0.8002 GB, free: 2.602 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01028/2.635, allocations: 4.581 MB / 0.8047 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01022/2.646, allocations: 1.254 MB / 0.8059 GB, free: 13.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04098/2.687, allocations: 12.94 MB / 0.8186 GB, free: 2.051 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01976/2.706, allocations: 5.193 MB / 0.8236 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007131/2.714, allocations: 1.042 MB / 0.8247 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007477/2.721, allocations: 2.673 MB / 0.8273 GB, free: 12.77 MB / 458.7 MB Notification: Performance of SimCode: time 1.804e-06/2.721, allocations: 2.438 kB / 0.8273 GB, free: 12.77 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8566/3.578, allocations: 122.1 MB / 0.9466 GB, free: 50.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/3.578, allocations: 184.8 kB / 0.9467 GB, free: 50.18 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/11.06, allocations: 0 / 0.9467 GB, free: 50.18 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat