Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.665/1.665, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.869e-05, allocations: 8 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2629, allocations: 38.76 MB / 258.4 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.4385, allocations: 101.4 MB / 359.8 MB, free: 8.359 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.4388, allocations: 83.95 kB / 359.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6198/1.059, allocations: 93.15 MB / 453 MB, free: 23.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.059, allocations: 0 / 453 MB, free: 23.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005111/1.059, allocations: 99.86 kB / 453.1 MB, free: 23.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.01659/1.076, allocations: 3.537 MB / 456.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.076, allocations: 8.031 kB / 456.7 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/1.08, allocations: 0.5024 MB / 457.2 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/1.091, allocations: 2.509 MB / 459.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/1.091, allocations: 116 kB / 459.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002016/1.093, allocations: 212.2 kB / 460 MB, free: 16.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01605/1.11, allocations: 3.684 MB / 463.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/1.13, allocations: 4.306 MB / 468 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000207/1.13, allocations: 0 / 468 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/1.131, allocations: 4 kB / 468 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003131/1.132, allocations: 175 kB / 468.2 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05003/1.182, allocations: 14.17 MB / 482.3 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007244/1.189, allocations: 4.07 MB / 486.4 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004637/1.194, allocations: 1.756 MB / 488.2 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/1.194, allocations: 147 kB / 488.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/1.195, allocations: 60.5 kB / 488.4 MB, free: 3.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=201): time 5.33e-06/1.195, allocations: 0 / 488.4 MB, free: 3.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=221): time 0.2798/1.474, allocations: 7.198 MB / 495.6 MB, free: 47.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/1.475, allocations: 74.47 kB / 495.6 MB, free: 47.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007066/1.482, allocations: 1.719 MB / 497.3 MB, free: 46.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007855/1.483, allocations: 29.36 kB / 497.4 MB, free: 46.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/1.484, allocations: 1.597 MB / 499 MB, free: 46.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0012/1.485, allocations: 0.7108 MB / 499.7 MB, free: 45.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/1.486, allocations: 0 / 499.7 MB, free: 45.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/1.486, allocations: 401.4 kB / 0.4884 GB, free: 45.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/1.488, allocations: 1.191 MB / 0.4895 GB, free: 45.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00338/1.492, allocations: 1.611 MB / 0.4911 GB, free: 45.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/1.495, allocations: 1.435 MB / 0.4925 GB, free: 45.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.721e-05/1.495, allocations: 3.594 kB / 0.4925 GB, free: 45.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.0101/1.505, allocations: 3.666 MB / 0.4961 GB, free: 44.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/1.506, allocations: 9.344 kB / 0.4961 GB, free: 44.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/1.506, allocations: 11.38 kB / 0.4961 GB, free: 44.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/1.509, allocations: 0.7494 MB / 0.4968 GB, free: 44.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/1.513, allocations: 0.524 MB / 0.4973 GB, free: 44.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/1.526, allocations: 8.348 MB / 0.5055 GB, free: 41.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/1.529, allocations: 84.59 kB / 0.5056 GB, free: 41.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006685/1.529, allocations: 85.86 kB / 0.5057 GB, free: 41.07 MB / 330.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.0006129/1.53, allocations: 155.8 kB / 0.5058 GB, free: 40.96 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008112/1.538, allocations: 3.214 MB / 0.5089 GB, free: 40.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000979/1.539, allocations: 249.5 kB / 0.5092 GB, free: 40.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008214/1.547, allocations: 3.411 MB / 0.5125 GB, free: 40.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/1.548, allocations: 25.88 kB / 0.5125 GB, free: 40.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.548, allocations: 7.844 kB / 0.5125 GB, free: 40.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-05/1.548, allocations: 10.64 kB / 0.5126 GB, free: 40.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/1.568, allocations: 7.263 MB / 0.5196 GB, free: 39.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/1.568, allocations: 3.531 kB / 0.5196 GB, free: 39.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005186/1.573, allocations: 394.6 kB / 0.52 GB, free: 39.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005523/1.578, allocations: 0.809 MB / 0.5208 GB, free: 39.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005857/1.579, allocations: 18.38 kB / 0.5208 GB, free: 39.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/1.593, allocations: 9.808 MB / 0.5304 GB, free: 32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.593, allocations: 3.812 kB / 0.5304 GB, free: 32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.604, allocations: 5.407 MB / 0.5357 GB, free: 29.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/1.606, allocations: 0.6012 MB / 0.5363 GB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007091/1.607, allocations: 14.23 kB / 0.5363 GB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/1.609, allocations: 93.5 kB / 0.5364 GB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006205/1.61, allocations: 178.2 kB / 0.5366 GB, free: 29.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.61, allocations: 63.64 kB / 0.5366 GB, free: 29.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002887/1.613, allocations: 1.304 MB / 0.5379 GB, free: 28.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.613, allocations: 0 / 0.5379 GB, free: 28.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00443/1.617, allocations: 0.7172 MB / 0.5386 GB, free: 28.61 MB / 330.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.01332/1.631, allocations: 6.899 MB / 0.5453 GB, free: 25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008415/1.639, allocations: 3.626 MB / 0.5489 GB, free: 23.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/1.639, allocations: 0 / 0.5489 GB, free: 23.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005542/1.645, allocations: 2.355 MB / 0.5512 GB, free: 22.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007644/1.653, allocations: 0.5141 MB / 0.5517 GB, free: 22.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02345/1.676, allocations: 7.236 MB / 0.5587 GB, free: 16.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004554/1.681, allocations: 2.842 MB / 0.5615 GB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.003621/1.684, allocations: 0.6238 MB / 0.5621 GB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003203/1.688, allocations: 1.357 MB / 0.5634 GB, free: 12.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/1.688, allocations: 0 / 0.5634 GB, free: 12.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4165/2.104, allocations: 61.39 MB / 0.6234 GB, free: 66.02 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003669/2.105, allocations: 178.5 kB / 0.6236 GB, free: 65.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.983/7.088, allocations: 1.656 kB / 0.6236 GB, free: 65.84 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat