Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 4.18e-05/4.181e-05, allocations: 8 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3539, allocations: 38.77 MB / 258.4 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.5298, allocations: 101.5 MB / 359.9 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.5302, allocations: 87.95 kB / 360 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6255/1.156, allocations: 93.32 MB / 453.3 MB, free: 23.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.156, allocations: 0 / 453.3 MB, free: 23.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003709/1.156, allocations: 91.88 kB / 453.4 MB, free: 23.1 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.01243/1.169, allocations: 3.542 MB / 456.9 MB, free: 19.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.169, allocations: 15.91 kB / 456.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/1.171, allocations: 0.5025 MB / 457.4 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007003/1.178, allocations: 2.49 MB / 459.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/1.178, allocations: 116.3 kB / 460 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/1.179, allocations: 215.8 kB / 460.2 MB, free: 16.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009999/1.189, allocations: 3.685 MB / 463.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/1.201, allocations: 4.298 MB / 468.2 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/1.202, allocations: 7.938 kB / 468.2 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004423/1.202, allocations: 11.92 kB / 468.2 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/1.202, allocations: 167 kB / 468.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03566/1.238, allocations: 14.17 MB / 482.6 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007202/1.245, allocations: 4.067 MB / 486.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004297/1.25, allocations: 1.763 MB / 488.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004984/1.25, allocations: 147 kB / 488.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.985e-05/1.25, allocations: 56.56 kB / 488.6 MB, free: 2.953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=201): time 4.469e-06/1.25, allocations: 4 kB / 488.6 MB, free: 2.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=221): time 0.2591/1.509, allocations: 7.189 MB / 495.8 MB, free: 47.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/1.509, allocations: 75.5 kB / 495.9 MB, free: 47.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00516/1.515, allocations: 1.722 MB / 497.6 MB, free: 47.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005858/1.515, allocations: 25.7 kB / 497.6 MB, free: 47.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.517, allocations: 1.602 MB / 499.2 MB, free: 47.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.518, allocations: 0.7065 MB / 499.9 MB, free: 46.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/1.519, allocations: 0 / 499.9 MB, free: 46.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002183/1.519, allocations: 398.9 kB / 0.4886 GB, free: 46.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003527/1.523, allocations: 1.193 MB / 0.4898 GB, free: 46.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/1.526, allocations: 1.607 MB / 0.4913 GB, free: 46.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/1.531, allocations: 1.438 MB / 0.4927 GB, free: 45.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.104e-05/1.531, allocations: 3.906 kB / 0.4927 GB, free: 45.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01279/1.544, allocations: 3.662 MB / 0.4963 GB, free: 45.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/1.544, allocations: 14.97 kB / 0.4963 GB, free: 45.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/1.544, allocations: 11.34 kB / 0.4963 GB, free: 45.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003937/1.548, allocations: 0.7561 MB / 0.4971 GB, free: 45.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005675/1.554, allocations: 0.5238 MB / 0.4976 GB, free: 45.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/1.567, allocations: 8.337 MB / 0.5057 GB, free: 41.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/1.571, allocations: 78.95 kB / 0.5058 GB, free: 41.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/1.571, allocations: 85.73 kB / 0.5059 GB, free: 41.87 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.0005467/1.571, allocations: 163.1 kB / 0.506 GB, free: 41.76 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007518/1.579, allocations: 3.207 MB / 0.5092 GB, free: 41.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007995/1.58, allocations: 244.5 kB / 0.5094 GB, free: 41.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008041/1.588, allocations: 3.424 MB / 0.5127 GB, free: 41.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.588, allocations: 21.19 kB / 0.5128 GB, free: 41.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.588, allocations: 12.98 kB / 0.5128 GB, free: 41.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/1.588, allocations: 11.39 kB / 0.5128 GB, free: 41.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/1.605, allocations: 7.258 MB / 0.5199 GB, free: 40.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.606, allocations: 6.781 kB / 0.5199 GB, free: 40.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/1.609, allocations: 396.9 kB / 0.5203 GB, free: 40 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003325/1.612, allocations: 0.8028 MB / 0.521 GB, free: 39.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003647/1.612, allocations: 26.27 kB / 0.5211 GB, free: 39.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/1.628, allocations: 9.814 MB / 0.5307 GB, free: 32.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/1.628, allocations: 3.844 kB / 0.5307 GB, free: 32.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/1.647, allocations: 5.393 MB / 0.5359 GB, free: 30.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003439/1.651, allocations: 0.6026 MB / 0.5365 GB, free: 29.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/1.652, allocations: 16.58 kB / 0.5365 GB, free: 29.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004583/1.657, allocations: 88.98 kB / 0.5366 GB, free: 29.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/1.658, allocations: 179.7 kB / 0.5368 GB, free: 29.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004232/1.659, allocations: 67.83 kB / 0.5368 GB, free: 29.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004737/1.664, allocations: 1.299 MB / 0.5381 GB, free: 29.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.753e-06/1.664, allocations: 0 / 0.5381 GB, free: 29.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.006406/1.67, allocations: 0.7213 MB / 0.5388 GB, free: 29.3 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.01922/1.689, allocations: 6.902 MB / 0.5456 GB, free: 25.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007947/1.697, allocations: 3.622 MB / 0.5491 GB, free: 24.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.697, allocations: 0 / 0.5491 GB, free: 24.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005541/1.703, allocations: 2.355 MB / 0.5514 GB, free: 22.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/1.708, allocations: 0.5148 MB / 0.5519 GB, free: 22.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/1.727, allocations: 7.238 MB / 0.559 GB, free: 17.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003585/1.731, allocations: 2.835 MB / 0.5617 GB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.003473/1.734, allocations: 0.6277 MB / 0.5624 GB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003118/1.737, allocations: 1.359 MB / 0.5637 GB, free: 13.37 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/1.737, allocations: 0 / 0.5637 GB, free: 13.37 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3994/2.137, allocations: 61.38 MB / 0.6236 GB, free: 65.38 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/2.137, allocations: 162.3 kB / 0.6238 GB, free: 65.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.918/7.055, allocations: 0 / 0.6238 GB, free: 65.19 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat