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.788/1.788, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.057e-05, allocations: 0 / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2781, allocations: 38.78 MB / 263.9 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.181/0.4592, allocations: 102.1 MB / 366 MB, free: 3.426 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.4596, allocations: 91.89 kB / 366.1 MB, free: 3.336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6277/1.087, allocations: 94.35 MB / 460.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.087, allocations: 0 / 460.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003832/1.088, allocations: 103.9 kB / 460.5 MB, free: 14.25 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.01276/1.101, allocations: 3.537 MB / 464.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.101, allocations: 19.91 kB / 464.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001918/1.103, allocations: 0.49 MB / 464.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/1.105, allocations: 0.5067 MB / 465.1 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007553/1.113, allocations: 2.501 MB / 467.6 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000338/1.113, allocations: 263 kB / 467.8 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/1.115, allocations: 347.9 kB / 468.2 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/1.129, allocations: 4.774 MB / 473 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/1.13, allocations: 11.94 kB / 473 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007067/1.13, allocations: 148 kB / 473.1 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002173/1.131, allocations: 171 kB / 473.3 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/1.144, allocations: 3.852 MB / 477.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04565/1.19, allocations: 14.89 MB / 492 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007714/1.197, allocations: 4.123 MB / 496.1 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005085/1.202, allocations: 1.839 MB / 498 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/1.203, allocations: 147 kB / 498.1 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/1.203, allocations: 52.56 kB / 498.2 MB, free: 7.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.869e-06/1.203, allocations: 0 / 498.2 MB, free: 7.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.2803/1.483, allocations: 8.321 MB / 0.4946 GB, free: 55.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/1.484, allocations: 78.3 kB / 0.4947 GB, free: 55.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004889/1.488, allocations: 2.163 MB / 0.4968 GB, free: 55.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005394/1.489, allocations: 63.2 kB / 0.4969 GB, free: 55.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/1.491, allocations: 1.59 MB / 0.4984 GB, free: 55.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.492, allocations: 0.7386 MB / 0.4991 GB, free: 55.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/1.492, allocations: 44.22 kB / 0.4992 GB, free: 55.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/1.492, allocations: 398.1 kB / 0.4996 GB, free: 54.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/1.495, allocations: 1.237 MB / 0.5008 GB, free: 54.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/1.498, allocations: 1.652 MB / 0.5024 GB, free: 54.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/1.501, allocations: 1.49 MB / 0.5038 GB, free: 54.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/1.501, allocations: 7.438 kB / 0.5039 GB, free: 54.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01018/1.511, allocations: 3.88 MB / 0.5076 GB, free: 54.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/1.512, allocations: 11.22 kB / 0.5077 GB, free: 54.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/1.512, allocations: 11 kB / 0.5077 GB, free: 54.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003179/1.515, allocations: 0.757 MB / 0.5084 GB, free: 54.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/1.519, allocations: 0.5289 MB / 0.5089 GB, free: 54.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/1.533, allocations: 8.72 MB / 0.5174 GB, free: 50.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/1.537, allocations: 117.3 kB / 0.5175 GB, free: 50.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005706/1.537, allocations: 85.41 kB / 0.5176 GB, free: 50.04 MB / 346.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.0006861/1.538, allocations: 234.8 kB / 0.5179 GB, free: 49.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009151/1.539, allocations: 284.5 kB / 0.5181 GB, free: 49.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009562/1.549, allocations: 3.638 MB / 0.5217 GB, free: 49.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/1.549, allocations: 21.59 kB / 0.5217 GB, free: 49.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/1.549, allocations: 7.5 kB / 0.5217 GB, free: 49.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.494e-05/1.549, allocations: 14.16 kB / 0.5217 GB, free: 49.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/1.571, allocations: 7.925 MB / 0.5295 GB, free: 48.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/1.571, allocations: 3.781 kB / 0.5295 GB, free: 48.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003532/1.574, allocations: 400.9 kB / 0.5298 GB, free: 48.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/1.578, allocations: 0.7934 MB / 0.5306 GB, free: 48.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005177/1.579, allocations: 56.11 kB / 0.5307 GB, free: 48.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01545/1.594, allocations: 10.21 MB / 0.5406 GB, free: 41.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/1.594, allocations: 7.188 kB / 0.5407 GB, free: 41.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.608, allocations: 5.612 MB / 0.5461 GB, free: 39.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/1.611, allocations: 0.6495 MB / 0.5468 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.612, allocations: 55.75 kB / 0.5468 GB, free: 38.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003552/1.615, allocations: 126.6 kB / 0.5469 GB, free: 38.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000882/1.616, allocations: 173.2 kB / 0.5471 GB, free: 38.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000256/1.617, allocations: 61.27 kB / 0.5472 GB, free: 38.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004015/1.621, allocations: 1.671 MB / 0.5488 GB, free: 37.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.282e-06/1.621, allocations: 0 / 0.5488 GB, free: 37.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004841/1.625, allocations: 0.8353 MB / 0.5496 GB, free: 37.89 MB / 346.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.0144/1.64, allocations: 7.14 MB / 0.5566 GB, free: 34.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009092/1.649, allocations: 3.712 MB / 0.5602 GB, free: 32.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/1.649, allocations: 3.156 kB / 0.5602 GB, free: 32.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006076/1.655, allocations: 2.383 MB / 0.5625 GB, free: 31.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005875/1.661, allocations: 0.7419 MB / 0.5633 GB, free: 31.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/1.682, allocations: 7.476 MB / 0.5706 GB, free: 27.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003641/1.686, allocations: 2.835 MB / 0.5733 GB, free: 25.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003767/1.69, allocations: 0.6743 MB / 0.574 GB, free: 25.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003214/1.693, allocations: 1.396 MB / 0.5754 GB, free: 23.92 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/1.693, allocations: 2.812 kB / 0.5754 GB, free: 23.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4295/2.122, allocations: 74.06 MB / 0.6477 GB, free: 62.07 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/2.123, allocations: 203.3 kB / 0.6479 GB, free: 61.85 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.316/7.439, allocations: 3.062 kB / 0.6479 GB, free: 61.85 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