Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.815e-05, allocations: 4 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 50.4 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5068/0.6223, allocations: 112.2 MB / 455.4 MB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.6227, allocations: 86.39 kB / 455.5 MB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7572/1.38, allocations: 93.81 MB / 0.5364 GB, free: 90.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.764e-06/1.38, allocations: 0 / 0.5364 GB, free: 90.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004995/1.381, allocations: 99.14 kB / 0.5365 GB, free: 90.76 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01538/1.396, allocations: 3.567 MB / 0.54 GB, free: 89.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.396, allocations: 9.844 kB / 0.54 GB, free: 89.56 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002318/1.398, allocations: 0.4952 MB / 0.5405 GB, free: 89.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/1.402, allocations: 0.5 MB / 0.541 GB, free: 89.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0098/1.412, allocations: 2.546 MB / 0.5435 GB, free: 88.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004511/1.412, allocations: 263.6 kB / 0.5437 GB, free: 88.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/1.414, allocations: 355.7 kB / 0.5441 GB, free: 88.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/1.431, allocations: 4.794 MB / 0.5487 GB, free: 88.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/1.431, allocations: 12.53 kB / 0.5488 GB, free: 88.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009763/1.432, allocations: 148.5 kB / 0.5489 GB, free: 88.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002207/1.432, allocations: 178.7 kB / 0.5491 GB, free: 88.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/1.444, allocations: 3.851 MB / 0.5528 GB, free: 88.22 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04036/1.485, allocations: 14.95 MB / 0.5674 GB, free: 85.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006439/1.491, allocations: 4.126 MB / 0.5715 GB, free: 82.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/1.495, allocations: 1.827 MB / 0.5732 GB, free: 81.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/1.496, allocations: 150.6 kB / 0.5734 GB, free: 81.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/1.496, allocations: 54.47 kB / 0.5734 GB, free: 81.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 4.428e-06/1.496, allocations: 0 / 0.5734 GB, free: 81.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.03833/1.534, allocations: 8.341 MB / 0.5816 GB, free: 78.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/1.535, allocations: 77.75 kB / 0.5817 GB, free: 78.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008047/1.543, allocations: 2.19 MB / 0.5838 GB, free: 77.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000748/1.543, allocations: 63.73 kB / 0.5839 GB, free: 77.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002148/1.546, allocations: 1.601 MB / 0.5854 GB, free: 76.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001548/1.547, allocations: 0.7402 MB / 0.5861 GB, free: 75.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006128/1.548, allocations: 46.28 kB / 0.5862 GB, free: 75.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003524/1.548, allocations: 395.4 kB / 0.5866 GB, free: 75.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005329/1.554, allocations: 1.235 MB / 0.5878 GB, free: 74.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005517/1.559, allocations: 1.644 MB / 0.5894 GB, free: 73.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005474/1.565, allocations: 1.494 MB / 0.5908 GB, free: 73.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.807e-05/1.565, allocations: 3.781 kB / 0.5908 GB, free: 73.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01622/1.581, allocations: 3.88 MB / 0.5946 GB, free: 71.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/1.581, allocations: 10.5 kB / 0.5946 GB, free: 71.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/1.581, allocations: 17.98 kB / 0.5947 GB, free: 71.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004279/1.585, allocations: 0.7542 MB / 0.5954 GB, free: 71.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005729/1.591, allocations: 0.5302 MB / 0.5959 GB, free: 71.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02048/1.612, allocations: 8.711 MB / 0.6044 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005574/1.617, allocations: 117.9 kB / 0.6045 GB, free: 65.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009485/1.618, allocations: 88.44 kB / 0.6046 GB, free: 65.42 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 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001028/1.619, allocations: 242.6 kB / 0.6048 GB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/1.621, allocations: 273.4 kB / 0.6051 GB, free: 65.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/1.632, allocations: 3.639 MB / 0.6087 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/1.632, allocations: 20.75 kB / 0.6087 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.632, allocations: 7.562 kB / 0.6087 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.173e-05/1.632, allocations: 10.78 kB / 0.6087 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02165/1.654, allocations: 7.942 MB / 0.6164 GB, free: 60.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/1.654, allocations: 4 kB / 0.6165 GB, free: 60.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/1.657, allocations: 396 kB / 0.6168 GB, free: 60.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003677/1.661, allocations: 0.8122 MB / 0.6176 GB, free: 59.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004334/1.662, allocations: 58.7 kB / 0.6177 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/1.677, allocations: 10.22 MB / 0.6277 GB, free: 49.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.677, allocations: 4 kB / 0.6277 GB, free: 49.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.689, allocations: 5.614 MB / 0.6331 GB, free: 44.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.692, allocations: 0.645 MB / 0.6338 GB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006393/1.692, allocations: 51.47 kB / 0.6338 GB, free: 43.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002764/1.695, allocations: 124.4 kB / 0.6339 GB, free: 43.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005867/1.696, allocations: 189.5 kB / 0.6341 GB, free: 43.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.696, allocations: 59.75 kB / 0.6342 GB, free: 43.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003623/1.7, allocations: 1.681 MB / 0.6358 GB, free: 42 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.7, allocations: 0 / 0.6358 GB, free: 42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004327/1.704, allocations: 0.8347 MB / 0.6366 GB, free: 41.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01304/1.717, allocations: 7.138 MB / 0.6436 GB, free: 34.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008116/1.725, allocations: 3.709 MB / 0.6472 GB, free: 31.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.725, allocations: 0 / 0.6472 GB, free: 31.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005446/1.731, allocations: 2.395 MB / 0.6496 GB, free: 29.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005894/1.737, allocations: 0.741 MB / 0.6503 GB, free: 28.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.757, allocations: 7.498 MB / 0.6576 GB, free: 21.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003374/1.761, allocations: 2.846 MB / 0.6604 GB, free: 19.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003739/1.765, allocations: 0.6745 MB / 0.6611 GB, free: 19.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003208/1.768, allocations: 1.394 MB / 0.6624 GB, free: 18.03 MB / 442.7 MB Notification: Performance of SimCode: time 1.313e-06/1.768, allocations: 0 / 0.6624 GB, free: 18.03 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5477/2.316, allocations: 74.52 MB / 0.7352 GB, free: 94.12 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/2.316, allocations: 206.5 kB / 0.7354 GB, free: 93.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.701/8.017, allocations: 0 / 0.7354 GB, free: 93.89 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat does not exist to compare? outputFormat=mat