Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.881e-05, allocations: 4 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 50.41 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.529/0.6339, allocations: 130.6 MB / 473.8 MB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.6343, allocations: 96.12 kB / 473.9 MB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8408/1.475, allocations: 150.9 MB / 0.6102 GB, free: 82.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.475, allocations: 0 / 0.6102 GB, free: 82.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006986/1.476, allocations: 183 kB / 0.6103 GB, free: 82.64 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02621/1.502, allocations: 6.577 MB / 0.6168 GB, free: 76.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.502, allocations: 8.031 kB / 0.6168 GB, free: 76 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003751/1.506, allocations: 0.9248 MB / 0.6177 GB, free: 75.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009112/1.515, allocations: 1.238 MB / 0.6189 GB, free: 73.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02192/1.537, allocations: 6.246 MB / 0.625 GB, free: 67.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006395/1.538, allocations: 0.4977 MB / 0.6255 GB, free: 67.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003255/1.541, allocations: 0.66 MB / 0.6261 GB, free: 66.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03243/1.574, allocations: 9.085 MB / 0.635 GB, free: 57.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005542/1.574, allocations: 19.83 kB / 0.635 GB, free: 57.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00323/1.577, allocations: 284 kB / 0.6353 GB, free: 56.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004888/1.578, allocations: 293.4 kB / 0.6355 GB, free: 56.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03481/1.613, allocations: 7.34 MB / 0.6427 GB, free: 49.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08174/1.695, allocations: 29.46 MB / 0.6715 GB, free: 18.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01635/1.711, allocations: 11.73 MB / 0.6829 GB, free: 6.121 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008291/1.719, allocations: 3.277 MB / 0.6861 GB, free: 2.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3497/2.069, allocations: 6.816 MB / 0.6928 GB, free: 76.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/2.069, allocations: 66.55 kB / 0.6929 GB, free: 76.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 6.102e-06/2.069, allocations: 0 / 0.6929 GB, free: 76.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=325): time 0.04945/2.119, allocations: 11.91 MB / 0.7045 GB, free: 74.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/2.119, allocations: 89.19 kB / 0.7046 GB, free: 74.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01373/2.133, allocations: 3.458 MB / 0.708 GB, free: 74.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009684/2.134, allocations: 81.08 kB / 0.708 GB, free: 74.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004182/2.138, allocations: 3.084 MB / 0.711 GB, free: 73.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002046/2.14, allocations: 1.084 MB / 0.7121 GB, free: 72.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005552/2.14, allocations: 74.47 kB / 0.7122 GB, free: 72.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003441/2.141, allocations: 466.7 kB / 0.7126 GB, free: 72.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006441/2.147, allocations: 1.79 MB / 0.7144 GB, free: 72.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007396/2.155, allocations: 2.67 MB / 0.717 GB, free: 71.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007671/2.162, allocations: 2.225 MB / 0.7191 GB, free: 71.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.665e-05/2.163, allocations: 6.625 kB / 0.7192 GB, free: 71.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01873/2.181, allocations: 6.133 MB / 0.7251 GB, free: 70.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/2.181, allocations: 20.33 kB / 0.7252 GB, free: 70.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.162e-05/2.181, allocations: 26.91 kB / 0.7252 GB, free: 70.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004653/2.186, allocations: 1.253 MB / 0.7264 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006407/2.193, allocations: 0.8054 MB / 0.7272 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02349/2.216, allocations: 20.68 MB / 0.7474 GB, free: 55.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005648/2.222, allocations: 206.8 kB / 0.7476 GB, free: 55.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009137/2.223, allocations: 147.3 kB / 0.7477 GB, free: 55.44 MB / 442.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.001036/2.224, allocations: 336 kB / 0.748 GB, free: 55.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/2.225, allocations: 445.1 kB / 0.7485 GB, free: 54.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/2.242, allocations: 5.964 MB / 0.7543 GB, free: 52.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/2.242, allocations: 38.78 kB / 0.7543 GB, free: 52.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-05/2.242, allocations: 15.84 kB / 0.7544 GB, free: 52.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-05/2.242, allocations: 15.95 kB / 0.7544 GB, free: 52.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03462/2.276, allocations: 12.24 MB / 0.7663 GB, free: 47.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-05/2.276, allocations: 2.406 kB / 0.7663 GB, free: 47.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004212/2.281, allocations: 458.8 kB / 0.7668 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006555/2.287, allocations: 1.603 MB / 0.7683 GB, free: 46.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007271/2.288, allocations: 82.27 kB / 0.7684 GB, free: 46.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03504/2.323, allocations: 30.12 MB / 0.7978 GB, free: 21.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/2.323, allocations: 16.83 kB / 0.7978 GB, free: 21.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/2.343, allocations: 8.842 MB / 0.8065 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003643/2.347, allocations: 0.9168 MB / 0.8074 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00173/2.349, allocations: 64 kB / 0.8074 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005006/2.354, allocations: 215.2 kB / 0.8076 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001286/2.355, allocations: 273.8 kB / 0.8079 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004852/2.356, allocations: 87.7 kB / 0.808 GB, free: 12.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00656/2.362, allocations: 2.635 MB / 0.8105 GB, free: 10.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.633e-06/2.362, allocations: 3.781 kB / 0.8106 GB, free: 10.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007902/2.37, allocations: 1.384 MB / 0.8119 GB, free: 9.246 MB / 442.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%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.02253/2.393, allocations: 10.57 MB / 0.8222 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01527/2.408, allocations: 6.029 MB / 0.8281 GB, free: 9.828 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/2.408, allocations: 6.438 kB / 0.8281 GB, free: 9.824 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01104/2.419, allocations: 4.562 MB / 0.8326 GB, free: 5.488 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/2.429, allocations: 1.252 MB / 0.8338 GB, free: 4.523 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04091/2.47, allocations: 12.9 MB / 0.8464 GB, free: 9.305 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009669/2.48, allocations: 4.619 MB / 0.8509 GB, free: 5.863 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006735/2.487, allocations: 1.045 MB / 0.8519 GB, free: 5.148 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006874/2.494, allocations: 2.668 MB / 0.8545 GB, free: 2.668 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/2.494, allocations: 0 / 0.8545 GB, free: 2.668 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6209/3.115, allocations: 123 MB / 0.9747 GB, free: 43.02 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/3.115, allocations: 204.5 kB / 0.9749 GB, free: 42.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/10.42, allocations: 0 / 0.9749 GB, free: 42.8 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat