Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.034e-05, allocations: 2.75 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09685, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5143/0.6112, allocations: 106.7 MB / 401 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.6115, allocations: 87.84 kB / 401.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4535/1.065, allocations: 92.88 MB / 494 MB, free: 9.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.065, allocations: 0 / 494 MB, free: 9.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005074/1.066, allocations: 95.88 kB / 494.1 MB, free: 9.367 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01582/1.081, allocations: 3.549 MB / 497.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/1.082, allocations: 12.02 kB / 497.6 MB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/1.085, allocations: 0.5063 MB / 498.1 MB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009763/1.095, allocations: 2.544 MB / 0.489 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/1.095, allocations: 112 kB / 0.4891 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/1.097, allocations: 215.9 kB / 0.4893 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3425/1.439, allocations: 3.695 MB / 0.4929 GB, free: 67.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01518/1.454, allocations: 4.33 MB / 0.4971 GB, free: 66.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/1.455, allocations: 6.031 kB / 0.4971 GB, free: 66.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006452/1.455, allocations: 7.078 kB / 0.4971 GB, free: 66.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000319/1.456, allocations: 176.2 kB / 0.4973 GB, free: 66.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04134/1.497, allocations: 14.24 MB / 0.5112 GB, free: 63.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006883/1.504, allocations: 4.055 MB / 0.5151 GB, free: 62.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004474/1.509, allocations: 1.75 MB / 0.5169 GB, free: 62.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/1.509, allocations: 152.5 kB / 0.517 GB, free: 62.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/1.509, allocations: 55.16 kB / 0.5171 GB, free: 61.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 5.931e-06/1.509, allocations: 0 / 0.5171 GB, free: 61.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.02353/1.533, allocations: 7.214 MB / 0.5241 GB, free: 60.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.533, allocations: 74.62 kB / 0.5242 GB, free: 60.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/1.537, allocations: 1.749 MB / 0.5259 GB, free: 60.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005453/1.538, allocations: 25.7 kB / 0.5259 GB, free: 60.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/1.539, allocations: 1.6 MB / 0.5275 GB, free: 60.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/1.54, allocations: 0.7148 MB / 0.5282 GB, free: 59.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/1.54, allocations: 2.656 kB / 0.5282 GB, free: 59.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/1.541, allocations: 395.5 kB / 0.5285 GB, free: 59.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/1.543, allocations: 1.193 MB / 0.5297 GB, free: 59.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002992/1.546, allocations: 1.605 MB / 0.5313 GB, free: 58.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003425/1.55, allocations: 1.438 MB / 0.5327 GB, free: 58.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/1.55, allocations: 3.906 kB / 0.5327 GB, free: 58.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01011/1.56, allocations: 3.662 MB / 0.5363 GB, free: 58.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/1.56, allocations: 14.36 kB / 0.5363 GB, free: 58.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/1.56, allocations: 11.62 kB / 0.5363 GB, free: 58.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00325/1.563, allocations: 0.7516 MB / 0.537 GB, free: 58.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004697/1.568, allocations: 0.5265 MB / 0.5375 GB, free: 58.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/1.582, allocations: 8.359 MB / 0.5457 GB, free: 52.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/1.586, allocations: 73.55 kB / 0.5458 GB, free: 52.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00058/1.586, allocations: 90.39 kB / 0.5459 GB, free: 52.54 MB / 394.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.0006772/1.587, allocations: 155.5 kB / 0.546 GB, free: 52.41 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009186/1.596, allocations: 3.208 MB / 0.5491 GB, free: 51.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/1.597, allocations: 247.8 kB / 0.5494 GB, free: 51.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009971/1.607, allocations: 3.422 MB / 0.5527 GB, free: 49.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/1.608, allocations: 19.44 kB / 0.5527 GB, free: 49.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.608, allocations: 10.94 kB / 0.5527 GB, free: 49.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.055e-05/1.608, allocations: 10.03 kB / 0.5527 GB, free: 49.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/1.629, allocations: 7.279 MB / 0.5599 GB, free: 47.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.629, allocations: 3.406 kB / 0.5599 GB, free: 47.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/1.633, allocations: 392.2 kB / 0.5602 GB, free: 47.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003951/1.637, allocations: 0.8031 MB / 0.561 GB, free: 46.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003613/1.637, allocations: 22.06 kB / 0.561 GB, free: 46.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/1.653, allocations: 9.816 MB / 0.5706 GB, free: 39.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.653, allocations: 11.03 kB / 0.5706 GB, free: 39.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/1.666, allocations: 5.376 MB / 0.5759 GB, free: 37.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.668, allocations: 0.6002 MB / 0.5765 GB, free: 36.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007794/1.669, allocations: 23.88 kB / 0.5765 GB, free: 36.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.672, allocations: 92.88 kB / 0.5766 GB, free: 36.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007007/1.672, allocations: 182.7 kB / 0.5768 GB, free: 36.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/1.673, allocations: 64.62 kB / 0.5768 GB, free: 36.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002967/1.676, allocations: 1.314 MB / 0.5781 GB, free: 36.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.42e-07/1.676, allocations: 0 / 0.5781 GB, free: 36.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004266/1.68, allocations: 0.7206 MB / 0.5788 GB, free: 36.34 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.01461/1.695, allocations: 6.893 MB / 0.5855 GB, free: 32.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009272/1.704, allocations: 3.615 MB / 0.5891 GB, free: 30.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.704, allocations: 4 kB / 0.5891 GB, free: 30.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006558/1.711, allocations: 2.348 MB / 0.5914 GB, free: 28.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005317/1.716, allocations: 0.5276 MB / 0.5919 GB, free: 27.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/1.737, allocations: 7.252 MB / 0.599 GB, free: 21.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004212/1.742, allocations: 2.849 MB / 0.6017 GB, free: 19.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004009/1.746, allocations: 0.6279 MB / 0.6024 GB, free: 19.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003383/1.749, allocations: 1.37 MB / 0.6037 GB, free: 17.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/1.749, allocations: 4 kB / 0.6037 GB, free: 17.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5566/2.306, allocations: 61.84 MB / 0.6641 GB, free: 68.03 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002714/2.306, allocations: 163 kB / 0.6642 GB, free: 67.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.743/8.049, allocations: 0 / 0.6642 GB, free: 67.84 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat