Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.831e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3049, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.4871, allocations: 106.6 MB / 400.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.4875, allocations: 83.95 kB / 401 MB, free: 7.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6237/1.111, allocations: 92.71 MB / 493.7 MB, free: 56.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.111, allocations: 0 / 493.7 MB, free: 56.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003882/1.112, allocations: 103.4 kB / 493.8 MB, free: 56.23 MB / 362.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.01273/1.124, allocations: 3.538 MB / 497.3 MB, free: 52.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.124, allocations: 12.02 kB / 497.3 MB, free: 52.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/1.127, allocations: 0.5063 MB / 497.8 MB, free: 52.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007218/1.134, allocations: 2.553 MB / 0.4886 GB, free: 49.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/1.135, allocations: 112 kB / 0.4888 GB, free: 49.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/1.136, allocations: 211.9 kB / 0.489 GB, free: 49.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009981/1.146, allocations: 3.7 MB / 0.4926 GB, free: 45.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/1.157, allocations: 4.329 MB / 0.4968 GB, free: 41.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/1.157, allocations: 15.83 kB / 0.4968 GB, free: 41.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004697/1.158, allocations: 8 kB / 0.4968 GB, free: 41.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/1.158, allocations: 179 kB / 0.497 GB, free: 40.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/1.191, allocations: 14.24 MB / 0.5109 GB, free: 26.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00539/1.197, allocations: 4.061 MB / 0.5149 GB, free: 22.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003586/1.201, allocations: 1.756 MB / 0.5166 GB, free: 20.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004612/1.201, allocations: 147 kB / 0.5167 GB, free: 20.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/1.201, allocations: 56.56 kB / 0.5168 GB, free: 20.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=201): time 4.268e-06/1.201, allocations: 0 / 0.5168 GB, free: 20.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=221): time 0.01988/1.221, allocations: 7.206 MB / 0.5238 GB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/1.221, allocations: 77.41 kB / 0.5239 GB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/1.225, allocations: 1.742 MB / 0.5256 GB, free: 10.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004332/1.225, allocations: 25.7 kB / 0.5256 GB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/1.226, allocations: 1.605 MB / 0.5272 GB, free: 9.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007161/1.227, allocations: 0.712 MB / 0.5279 GB, free: 8.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/1.227, allocations: 0 / 0.5279 GB, free: 8.578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/1.227, allocations: 410.5 kB / 0.5283 GB, free: 8.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/1.23, allocations: 1.188 MB / 0.5294 GB, free: 6.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/1.232, allocations: 1.607 MB / 0.531 GB, free: 5.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/1.235, allocations: 1.438 MB / 0.5324 GB, free: 3.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/1.235, allocations: 4 kB / 0.5324 GB, free: 3.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008898/1.244, allocations: 3.666 MB / 0.536 GB, free: 72 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/1.244, allocations: 8 kB / 0.536 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/1.244, allocations: 12 kB / 0.536 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003211/1.247, allocations: 0.751 MB / 0.5367 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004492/1.252, allocations: 0.5266 MB / 0.5372 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/1.267, allocations: 8.355 MB / 0.5454 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/1.27, allocations: 67.91 kB / 0.5455 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004262/1.271, allocations: 91.98 kB / 0.5456 GB, free: 5.895 MB / 378.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.0006166/1.271, allocations: 160.4 kB / 0.5457 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009181/1.281, allocations: 3.211 MB / 0.5488 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.282, allocations: 245 kB / 0.5491 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00964/1.291, allocations: 3.419 MB / 0.5524 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/1.292, allocations: 20 kB / 0.5524 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.292, allocations: 8 kB / 0.5524 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.535e-05/1.292, allocations: 11.95 kB / 0.5525 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.314, allocations: 7.281 MB / 0.5596 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/1.314, allocations: 4 kB / 0.5596 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004037/1.318, allocations: 395.4 kB / 0.5599 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006021/1.324, allocations: 0.7966 MB / 0.5607 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005929/1.324, allocations: 23.97 kB / 0.5607 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3291/1.654, allocations: 9.805 MB / 0.5703 GB, free: 82.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.752e-05/1.663, allocations: 6.188 kB / 0.5703 GB, free: 82.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/1.683, allocations: 5.383 MB / 0.5756 GB, free: 82.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002661/1.686, allocations: 0.6015 MB / 0.5762 GB, free: 82.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008652/1.687, allocations: 19.09 kB / 0.5762 GB, free: 82.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/1.689, allocations: 89.92 kB / 0.5763 GB, free: 82.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006148/1.69, allocations: 185.6 kB / 0.5765 GB, free: 82.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.69, allocations: 69.47 kB / 0.5765 GB, free: 82.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002526/1.693, allocations: 1.312 MB / 0.5778 GB, free: 82.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.693, allocations: 0 / 0.5778 GB, free: 82.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003811/1.696, allocations: 0.7221 MB / 0.5785 GB, free: 82.05 MB / 394.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.01297/1.709, allocations: 6.893 MB / 0.5852 GB, free: 80.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007907/1.717, allocations: 3.626 MB / 0.5888 GB, free: 79.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.717, allocations: 3.656 kB / 0.5888 GB, free: 79.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005276/1.723, allocations: 2.347 MB / 0.5911 GB, free: 79.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004516/1.727, allocations: 0.5255 MB / 0.5916 GB, free: 79.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.746, allocations: 7.255 MB / 0.5987 GB, free: 77.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003684/1.75, allocations: 2.846 MB / 0.6015 GB, free: 77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003386/1.753, allocations: 0.6302 MB / 0.6021 GB, free: 76.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003119/1.756, allocations: 1.366 MB / 0.6034 GB, free: 76.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/1.756, allocations: 0 / 0.6034 GB, free: 76.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.183/1.939, allocations: 61.83 MB / 0.6638 GB, free: 40.96 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/1.94, allocations: 183.3 kB / 0.664 GB, free: 40.76 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.559/6.499, allocations: 4 kB / 0.664 GB, free: 40.76 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat