Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.81e-05, allocations: 7.984 kB / 292.8 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.5676, allocations: 103.2 MB / 446.4 MB, free: 7.289 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.568, allocations: 84.95 kB / 446.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1832/0.7512, allocations: 41.16 MB / 487.7 MB, free: 1.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7512, allocations: 0 / 487.7 MB, free: 1.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002465/0.7515, allocations: 51.88 kB / 487.7 MB, free: 1.945 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007847/0.7594, allocations: 1.996 MB / 489.7 MB, free: 15.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.7594, allocations: 12.03 kB / 489.7 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001222/0.7607, allocations: 269.7 kB / 490 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.7622, allocations: 269.2 kB / 490.2 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004996/0.7673, allocations: 1.404 MB / 491.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.7675, allocations: 139.6 kB / 491.8 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008544/0.7684, allocations: 183.9 kB / 492 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007603/0.776, allocations: 2.295 MB / 494.3 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.7762, allocations: 11.84 kB / 494.3 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/0.7766, allocations: 83.95 kB / 494.3 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.7768, allocations: 79.5 kB / 494.4 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006287/0.7831, allocations: 1.819 MB / 496.2 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02317/0.8063, allocations: 7.491 MB / 0.4919 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/0.81, allocations: 1.272 MB / 0.4932 GB, free: 160 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00266/0.8127, allocations: 0.8177 MB / 0.494 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/0.8133, allocations: 137.8 kB / 0.4941 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.8134, allocations: 39.34 kB / 0.4941 GB, free: 15.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 4.328e-06/0.8134, allocations: 0 / 0.4941 GB, free: 15.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=103): time 0.01438/0.8278, allocations: 4.098 MB / 0.4981 GB, free: 10.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.8279, allocations: 64.41 kB / 0.4982 GB, free: 10.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/0.831, allocations: 1.18 MB / 0.4994 GB, free: 9.707 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003107/0.8313, allocations: 45.7 kB / 0.4994 GB, free: 9.656 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.8324, allocations: 0.897 MB / 0.5003 GB, free: 8.746 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006159/0.8331, allocations: 358.8 kB / 0.5006 GB, free: 8.391 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.8332, allocations: 28 kB / 0.5006 GB, free: 8.363 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.8334, allocations: 357.9 kB / 0.501 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.8351, allocations: 0.6 MB / 0.5016 GB, free: 7.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.8371, allocations: 0.897 MB / 0.5024 GB, free: 6.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.8392, allocations: 0.7426 MB / 0.5032 GB, free: 5.645 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.8392, allocations: 4 kB / 0.5032 GB, free: 5.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007411/0.8467, allocations: 2.359 MB / 0.5055 GB, free: 3.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.8467, allocations: 11.95 kB / 0.5055 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.8468, allocations: 8 kB / 0.5055 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003557/0.8503, allocations: 0.7821 MB / 0.5063 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.8522, allocations: 231.7 kB / 0.5065 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01893/0.8711, allocations: 8.554 MB / 0.5148 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.8731, allocations: 91.81 kB / 0.5149 GB, free: 9.316 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/0.8733, allocations: 44 kB / 0.515 GB, free: 9.273 MB / 442.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003666/0.8737, allocations: 180.7 kB / 0.5151 GB, free: 9.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/0.8742, allocations: 142.3 kB / 0.5153 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/0.8795, allocations: 1.858 MB / 0.5171 GB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.8796, allocations: 12 kB / 0.5171 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.8796, allocations: 0 / 0.5171 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/0.8797, allocations: 11.94 kB / 0.5171 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.8913, allocations: 3.957 MB / 0.521 GB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.8913, allocations: 0 / 0.521 GB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.8931, allocations: 199.7 kB / 0.5212 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/0.8954, allocations: 467.2 kB / 0.5216 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002243/0.8957, allocations: 23.98 kB / 0.5216 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4055/1.301, allocations: 6.162 MB / 0.5276 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.301, allocations: 9.594 kB / 0.5277 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008105/1.309, allocations: 2.865 MB / 0.5305 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.311, allocations: 358.9 kB / 0.5308 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000647/1.312, allocations: 25.95 kB / 0.5308 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/1.314, allocations: 77.31 kB / 0.5309 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005606/1.314, allocations: 86.81 kB / 0.531 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.314, allocations: 31.53 kB / 0.531 GB, free: 117.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002757/1.317, allocations: 0.913 MB / 0.5319 GB, free: 117.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.317, allocations: 0 / 0.5319 GB, free: 117.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003089/1.32, allocations: 475.5 kB / 0.5324 GB, free: 117.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.009196/1.33, allocations: 4.221 MB / 0.5365 GB, free: 115.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006131/1.336, allocations: 1.954 MB / 0.5384 GB, free: 115.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.336, allocations: 0 / 0.5384 GB, free: 115.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003784/1.34, allocations: 1.302 MB / 0.5397 GB, free: 115 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/1.343, allocations: 345 kB / 0.54 GB, free: 115 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.358, allocations: 3.834 MB / 0.5437 GB, free: 114.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003543/1.362, allocations: 1.73 MB / 0.5454 GB, free: 113.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002528/1.364, allocations: 316.2 kB / 0.5457 GB, free: 113.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/1.367, allocations: 0.7135 MB / 0.5464 GB, free: 113.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/1.367, allocations: 0 / 0.5464 GB, free: 113.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1385/1.505, allocations: 39.82 MB / 0.5853 GB, free: 102.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002649/1.506, allocations: 204.9 kB / 0.5855 GB, free: 102.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.905/5.411, allocations: 0 / 0.5855 GB, free: 102.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat does not exist to compare? outputFormat=mat