Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.248/2.248, allocations: 225.8 MB / 239.3 MB, free: 1.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.641e-05, allocations: 4 kB / 292.8 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 50.39 MB / 343.1 MB, free: 8.996 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5086/0.626, allocations: 104.1 MB / 447.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.6264, allocations: 86.81 kB / 447.4 MB, free: 1.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1929/0.8193, allocations: 44.72 MB / 492.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.8193, allocations: 0 / 492.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002304/0.8196, allocations: 55.94 kB / 492.1 MB, free: 11.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008249/0.8278, allocations: 2.197 MB / 494.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.8279, allocations: 12.03 kB / 494.3 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001105/0.829, allocations: 297.7 kB / 494.6 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.8305, allocations: 296.8 kB / 494.9 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005533/0.836, allocations: 1.537 MB / 496.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.8364, allocations: 148.3 kB / 496.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008017/0.8372, allocations: 203.9 kB / 496.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007177/0.8444, allocations: 2.622 MB / 499.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.661e-05/0.8445, allocations: 15.84 kB / 499.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/0.8449, allocations: 91.98 kB / 499.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.845, allocations: 87.94 kB / 499.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006045/0.8511, allocations: 2.101 MB / 0.49 GB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.8752, allocations: 8.434 MB / 0.4982 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/0.8789, allocations: 1.764 MB / 0.4999 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.8817, allocations: 0.9644 MB / 0.5009 GB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004481/0.8822, allocations: 138 kB / 0.501 GB, free: 6.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.8822, allocations: 43.56 kB / 0.501 GB, free: 6.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=107): time 4.479e-06/0.8822, allocations: 0 / 0.501 GB, free: 6.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=123): time 0.02046/0.9027, allocations: 5.229 MB / 0.5061 GB, free: 1.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.9028, allocations: 68.36 kB / 0.5062 GB, free: 1.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/0.906, allocations: 1.308 MB / 0.5075 GB, free: 124 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002952/0.9063, allocations: 45.7 kB / 0.5075 GB, free: 72 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.9073, allocations: 0.9759 MB / 0.5085 GB, free: 15.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007496/0.9081, allocations: 428.8 kB / 0.5089 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.9083, allocations: 24 kB / 0.5089 GB, free: 14.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.9085, allocations: 365.9 kB / 0.5093 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.9107, allocations: 0.695 MB / 0.5099 GB, free: 13.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/0.9138, allocations: 0.9963 MB / 0.5109 GB, free: 12.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/0.917, allocations: 0.8403 MB / 0.5117 GB, free: 11.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.917, allocations: 4 kB / 0.5117 GB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.009372/0.9264, allocations: 2.252 MB / 0.5139 GB, free: 9.332 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.9265, allocations: 16 kB / 0.514 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/0.9266, allocations: 8 kB / 0.514 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/0.9289, allocations: 403.1 kB / 0.5143 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/0.9326, allocations: 339.5 kB / 0.5147 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.944, allocations: 4.645 MB / 0.5192 GB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.9471, allocations: 91.97 kB / 0.5193 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003227/0.9475, allocations: 55.98 kB / 0.5193 GB, free: 3.512 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (156): * Single equations (assignments): 152 * 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.0006416/0.9482, allocations: 176.7 kB / 0.5195 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000762/0.9489, allocations: 166 kB / 0.5197 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009027/0.958, allocations: 2.102 MB / 0.5217 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-05/0.9581, allocations: 16 kB / 0.5217 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.9581, allocations: 0 / 0.5217 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/0.9582, allocations: 7.984 kB / 0.5217 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/0.9772, allocations: 4.504 MB / 0.5261 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.9773, allocations: 7.953 kB / 0.5262 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/0.9802, allocations: 240 kB / 0.5264 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003223/0.9834, allocations: 466.9 kB / 0.5268 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002738/0.9837, allocations: 31.98 kB / 0.5269 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/0.9984, allocations: 6.168 MB / 0.5329 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/0.9985, allocations: 8 kB / 0.5329 GB, free: 5.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/1.009, allocations: 3.289 MB / 0.5361 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/1.011, allocations: 407 kB / 0.5365 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005812/1.012, allocations: 31.98 kB / 0.5365 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/1.014, allocations: 83.92 kB / 0.5366 GB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005689/1.015, allocations: 108.7 kB / 0.5367 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/1.015, allocations: 35.98 kB / 0.5367 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003348/1.018, allocations: 1.003 MB / 0.5377 GB, free: 15.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.018, allocations: 0 / 0.5377 GB, free: 15.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003376/1.022, allocations: 492 kB / 0.5382 GB, free: 15.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.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 (108): * Single equations (assignments): 104 * 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.009058/1.031, allocations: 4.801 MB / 0.5429 GB, free: 10.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00533/1.036, allocations: 2.158 MB / 0.545 GB, free: 8.352 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.036, allocations: 0 / 0.545 GB, free: 8.352 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003578/1.04, allocations: 1.445 MB / 0.5464 GB, free: 6.859 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/1.043, allocations: 411.6 kB / 0.5468 GB, free: 6.457 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.056, allocations: 4.284 MB / 0.551 GB, free: 2.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/1.058, allocations: 1.865 MB / 0.5528 GB, free: 196 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.3007/1.359, allocations: 390.2 kB / 0.5532 GB, free: 116.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002193/1.361, allocations: 0.7892 MB / 0.5539 GB, free: 116.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/1.361, allocations: 0.5312 kB / 0.5539 GB, free: 116.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1151/1.477, allocations: 42.83 MB / 0.5958 GB, free: 111.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/1.477, allocations: 188.7 kB / 0.5959 GB, free: 111.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.031/5.508, allocations: 3.594 kB / 0.596 GB, free: 111.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat