Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.016/2.016, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.206e-05, allocations: 4 kB / 292.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 50.42 MB / 342.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6018/0.7113, allocations: 110.8 MB / 453.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.7116, allocations: 85.88 kB / 453.6 MB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2708/0.9825, allocations: 65.58 MB / 0.507 GB, free: 1.668 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.9825, allocations: 8 kB / 0.507 GB, free: 1.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004218/0.983, allocations: 83.88 kB / 0.5071 GB, free: 1.578 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01264/0.9956, allocations: 3.269 MB / 0.5103 GB, free: 14.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.9957, allocations: 16.03 kB / 0.5103 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001744/0.9974, allocations: 438.4 kB / 0.5107 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.9997, allocations: 447.1 kB / 0.5111 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007977/1.008, allocations: 2.379 MB / 0.5135 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/1.008, allocations: 230.2 kB / 0.5137 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/1.009, allocations: 311.9 kB / 0.514 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/1.022, allocations: 4.201 MB / 0.5181 GB, free: 6.023 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/1.022, allocations: 8 kB / 0.5181 GB, free: 6.016 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005642/1.022, allocations: 132 kB / 0.5182 GB, free: 5.887 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/1.022, allocations: 122 kB / 0.5183 GB, free: 5.766 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/1.034, allocations: 3.432 MB / 0.5217 GB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3359/1.37, allocations: 13.58 MB / 0.5349 GB, free: 99.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005813/1.375, allocations: 2.863 MB / 0.5377 GB, free: 98.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004573/1.38, allocations: 1.592 MB / 0.5393 GB, free: 98.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005321/1.381, allocations: 138 kB / 0.5394 GB, free: 98.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/1.381, allocations: 57.77 kB / 0.5395 GB, free: 98.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 4.849e-06/1.381, allocations: 0.8125 kB / 0.5395 GB, free: 98.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.0258/1.406, allocations: 7.286 MB / 0.5466 GB, free: 97.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/1.407, allocations: 72.03 kB / 0.5467 GB, free: 97.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004716/1.411, allocations: 2.05 MB / 0.5487 GB, free: 96.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004882/1.412, allocations: 56.89 kB / 0.5487 GB, free: 96.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/1.413, allocations: 1.456 MB / 0.5501 GB, free: 96.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008479/1.414, allocations: 0.6144 MB / 0.5507 GB, free: 96.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/1.414, allocations: 38.34 kB / 0.5508 GB, free: 96.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/1.414, allocations: 382.5 kB / 0.5511 GB, free: 95.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/1.417, allocations: 1.078 MB / 0.5522 GB, free: 95.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002852/1.42, allocations: 1.48 MB / 0.5536 GB, free: 95.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/1.423, allocations: 1.296 MB / 0.5549 GB, free: 95.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/1.423, allocations: 3.281 kB / 0.5549 GB, free: 95.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008843/1.432, allocations: 3.448 MB / 0.5583 GB, free: 95.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/1.432, allocations: 10.97 kB / 0.5583 GB, free: 95.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/1.432, allocations: 10.09 kB / 0.5583 GB, free: 95.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/1.435, allocations: 0.7998 MB / 0.5591 GB, free: 95.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/1.438, allocations: 469.6 kB / 0.5595 GB, free: 95.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.451, allocations: 10.26 MB / 0.5695 GB, free: 87.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/1.454, allocations: 126.4 kB / 0.5697 GB, free: 87.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/1.455, allocations: 80.86 kB / 0.5697 GB, free: 87.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005601/1.455, allocations: 222.2 kB / 0.5699 GB, free: 86.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007223/1.456, allocations: 240.3 kB / 0.5702 GB, free: 86.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008097/1.464, allocations: 3.267 MB / 0.5734 GB, free: 85.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/1.464, allocations: 16.81 kB / 0.5734 GB, free: 85.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/1.464, allocations: 6.312 kB / 0.5734 GB, free: 85.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.745e-05/1.464, allocations: 9 kB / 0.5734 GB, free: 85.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/1.483, allocations: 6.812 MB / 0.5801 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.483, allocations: 8.938 kB / 0.5801 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/1.486, allocations: 311.1 kB / 0.5804 GB, free: 82.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003985/1.49, allocations: 0.9074 MB / 0.5812 GB, free: 82.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004344/1.49, allocations: 42.17 kB / 0.5813 GB, free: 82.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/1.507, allocations: 13.47 MB / 0.5944 GB, free: 71.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.507, allocations: 3.75 kB / 0.5944 GB, free: 71.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/1.518, allocations: 4.993 MB / 0.5993 GB, free: 69.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/1.52, allocations: 0.5746 MB / 0.5999 GB, free: 69.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008054/1.521, allocations: 40.17 kB / 0.5999 GB, free: 69.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/1.524, allocations: 131.2 kB / 0.6 GB, free: 69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006651/1.525, allocations: 171 kB / 0.6002 GB, free: 68.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/1.525, allocations: 50.53 kB / 0.6003 GB, free: 68.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003672/1.529, allocations: 1.575 MB / 0.6018 GB, free: 68.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.384e-06/1.529, allocations: 3.281 kB / 0.6018 GB, free: 68.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00412/1.533, allocations: 0.7339 MB / 0.6025 GB, free: 68.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(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.01284/1.546, allocations: 6.378 MB / 0.6087 GB, free: 64.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007593/1.553, allocations: 3.43 MB / 0.6121 GB, free: 63.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.553, allocations: 7.375 kB / 0.6121 GB, free: 63.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005346/1.559, allocations: 2.429 MB / 0.6145 GB, free: 61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005526/1.564, allocations: 0.6765 MB / 0.6151 GB, free: 60.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/1.582, allocations: 6.55 MB / 0.6215 GB, free: 54.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002711/1.584, allocations: 2.585 MB / 0.6241 GB, free: 52.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002949/1.587, allocations: 0.5777 MB / 0.6246 GB, free: 52.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/1.589, allocations: 1.241 MB / 0.6258 GB, free: 51.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/1.59, allocations: 0 / 0.6258 GB, free: 51.26 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.221/1.811, allocations: 67.53 MB / 0.6918 GB, free: 6.836 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/1.811, allocations: 195.8 kB / 0.692 GB, free: 6.605 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.151/6.962, allocations: 0 / 0.692 GB, free: 6.605 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat