Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.371e-05/4.399e-05, allocations: 8 kB / 292.8 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4677/0.574, allocations: 104.7 MB / 447.9 MB, free: 5.488 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.5744, allocations: 86.58 kB / 448 MB, free: 5.445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1786/0.753, allocations: 41.47 MB / 489.4 MB, free: 100 kB / 394.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.7531, allocations: 4 kB / 489.4 MB, free: 96 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002343/0.7534, allocations: 51.94 kB / 489.5 MB, free: 44 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.007396/0.7608, allocations: 1.988 MB / 491.5 MB, free: 14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.7608, allocations: 15.97 kB / 491.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009865/0.7618, allocations: 278.5 kB / 491.8 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.7632, allocations: 277 kB / 492 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004656/0.7679, allocations: 1.376 MB / 493.4 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.7682, allocations: 139.8 kB / 493.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000713/0.7689, allocations: 195.9 kB / 493.7 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007413/0.7763, allocations: 2.331 MB / 496.1 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.7765, allocations: 11.91 kB / 496.1 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.7769, allocations: 80 kB / 496.2 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.777, allocations: 83.64 kB / 496.2 MB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006104/0.7831, allocations: 1.788 MB / 498 MB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02294/0.8061, allocations: 7.849 MB / 0.494 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.8095, allocations: 1.249 MB / 0.4952 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/0.8121, allocations: 0.808 MB / 0.496 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/0.8126, allocations: 138 kB / 0.4962 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.8127, allocations: 43.56 kB / 0.4962 GB, free: 12.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 3.947e-06/0.8127, allocations: 0 / 0.4962 GB, free: 12.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.02012/0.8329, allocations: 4.848 MB / 0.5009 GB, free: 7.992 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.833, allocations: 64.41 kB / 0.501 GB, free: 7.914 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.8358, allocations: 1.102 MB / 0.5021 GB, free: 6.805 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002993/0.8362, allocations: 45.7 kB / 0.5021 GB, free: 6.754 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.8372, allocations: 0.9045 MB / 0.503 GB, free: 5.836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006612/0.8379, allocations: 410.1 kB / 0.5034 GB, free: 5.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.8381, allocations: 24 kB / 0.5034 GB, free: 5.406 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.8383, allocations: 365.9 kB / 0.5038 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.8402, allocations: 0.6209 MB / 0.5044 GB, free: 4.422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.8425, allocations: 0.96 MB / 0.5053 GB, free: 3.312 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.8448, allocations: 0.7895 MB / 0.5061 GB, free: 2.523 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.8448, allocations: 0 / 0.5061 GB, free: 2.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006549/0.8514, allocations: 2.127 MB / 0.5081 GB, free: 384 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.8515, allocations: 8 kB / 0.5082 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.8515, allocations: 12 kB / 0.5082 GB, free: 364 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.8532, allocations: 407.5 kB / 0.5086 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.8559, allocations: 339.5 kB / 0.5089 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007893/0.8639, allocations: 4.645 MB / 0.5134 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.8659, allocations: 83.83 kB / 0.5135 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.8662, allocations: 59.98 kB / 0.5136 GB, free: 10.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004287/0.8667, allocations: 184.7 kB / 0.5137 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/0.8672, allocations: 154.2 kB / 0.5139 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/0.8728, allocations: 1.882 MB / 0.5157 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.8729, allocations: 11.98 kB / 0.5157 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.8729, allocations: 4 kB / 0.5157 GB, free: 8.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/0.8729, allocations: 3.984 kB / 0.5157 GB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.8851, allocations: 4.037 MB / 0.5197 GB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.8851, allocations: 7.938 kB / 0.5197 GB, free: 4.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/0.8873, allocations: 223.7 kB / 0.5199 GB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/0.8897, allocations: 467.1 kB / 0.5203 GB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/0.8899, allocations: 31.98 kB / 0.5204 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3706/1.261, allocations: 6.161 MB / 0.5264 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/1.261, allocations: 5.938 kB / 0.5264 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/1.272, allocations: 2.901 MB / 0.5292 GB, free: 116.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/1.274, allocations: 359.5 kB / 0.5296 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007871/1.275, allocations: 30.84 kB / 0.5296 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/1.278, allocations: 71.28 kB / 0.5297 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006102/1.279, allocations: 90.56 kB / 0.5298 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/1.279, allocations: 34.58 kB / 0.5298 GB, free: 116.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003356/1.282, allocations: 0.8493 MB / 0.5306 GB, free: 116.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.794e-06/1.282, allocations: 0 / 0.5306 GB, free: 116.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003955/1.286, allocations: 459.8 kB / 0.5311 GB, free: 116.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * 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): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009524/1.296, allocations: 4.258 MB / 0.5352 GB, free: 114.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004967/1.301, allocations: 2.005 MB / 0.5372 GB, free: 114.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.301, allocations: 1.125 kB / 0.5372 GB, free: 114.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003447/1.304, allocations: 1.31 MB / 0.5385 GB, free: 113.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/1.308, allocations: 388 kB / 0.5388 GB, free: 113.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.32, allocations: 3.89 MB / 0.5426 GB, free: 113 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/1.322, allocations: 1.686 MB / 0.5443 GB, free: 112.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002111/1.324, allocations: 338.1 kB / 0.5446 GB, free: 112.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/1.326, allocations: 0.7203 MB / 0.5453 GB, free: 112.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.114e-06/1.326, allocations: 0 / 0.5453 GB, free: 112.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/1.427, allocations: 38.97 MB / 0.5834 GB, free: 103.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/1.428, allocations: 196 kB / 0.5835 GB, free: 103.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.94/5.368, allocations: 4 kB / 0.5835 GB, free: 103.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat