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.81/1.81, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.679e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2787, allocations: 38.77 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.4561, allocations: 102.2 MB / 366.1 MB, free: 3.352 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.4564, allocations: 87.94 kB / 366.2 MB, free: 3.266 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5737/1.03, allocations: 94.51 MB / 460.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.03, allocations: 4 kB / 460.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003684/1.031, allocations: 99.88 kB / 460.8 MB, free: 14.04 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.01264/1.043, allocations: 3.545 MB / 464.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/1.043, allocations: 8.031 kB / 464.3 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001788/1.045, allocations: 0.4978 MB / 464.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/1.047, allocations: 0.5028 MB / 465.3 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007471/1.055, allocations: 2.497 MB / 467.8 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/1.055, allocations: 267 kB / 468.1 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/1.056, allocations: 355.9 kB / 468.4 MB, free: 6.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/1.069, allocations: 4.774 MB / 473.2 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/1.069, allocations: 4 kB / 473.2 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005714/1.07, allocations: 152 kB / 473.4 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002162/1.07, allocations: 171 kB / 473.5 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/1.082, allocations: 3.844 MB / 477.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04441/1.127, allocations: 14.89 MB / 492.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007653/1.134, allocations: 4.127 MB / 496.4 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004829/1.139, allocations: 1.835 MB / 498.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006007/1.14, allocations: 147 kB / 498.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/1.14, allocations: 60.5 kB / 498.4 MB, free: 7.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.669e-06/1.14, allocations: 0 / 498.4 MB, free: 7.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.2982/1.438, allocations: 8.314 MB / 0.4949 GB, free: 55.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/1.438, allocations: 80.47 kB / 0.4949 GB, free: 55.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004903/1.443, allocations: 2.162 MB / 0.4971 GB, free: 55.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005403/1.444, allocations: 66.27 kB / 0.4971 GB, free: 55.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/1.445, allocations: 1.583 MB / 0.4987 GB, free: 55.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/1.446, allocations: 0.7401 MB / 0.4994 GB, free: 54.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/1.446, allocations: 42.72 kB / 0.4994 GB, free: 54.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/1.447, allocations: 402.7 kB / 0.4998 GB, free: 54.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/1.45, allocations: 1.232 MB / 0.501 GB, free: 54.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/1.453, allocations: 1.647 MB / 0.5026 GB, free: 54.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00365/1.457, allocations: 1.489 MB / 0.5041 GB, free: 54.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.23e-05/1.457, allocations: 7.625 kB / 0.5041 GB, free: 54.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.0103/1.467, allocations: 3.885 MB / 0.5079 GB, free: 53.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/1.467, allocations: 10.53 kB / 0.5079 GB, free: 53.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/1.467, allocations: 11.09 kB / 0.5079 GB, free: 53.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/1.47, allocations: 0.7515 MB / 0.5086 GB, free: 53.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004299/1.475, allocations: 0.5292 MB / 0.5092 GB, free: 53.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/1.488, allocations: 8.712 MB / 0.5177 GB, free: 49.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/1.492, allocations: 120 kB / 0.5178 GB, free: 49.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004859/1.493, allocations: 89.8 kB / 0.5179 GB, free: 49.91 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.0006182/1.493, allocations: 237.2 kB / 0.5181 GB, free: 49.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007798/1.494, allocations: 278.5 kB / 0.5184 GB, free: 49.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008833/1.503, allocations: 3.649 MB / 0.5219 GB, free: 49.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/1.503, allocations: 21.41 kB / 0.5219 GB, free: 49.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.503, allocations: 7.219 kB / 0.5219 GB, free: 49.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.402e-05/1.503, allocations: 11.3 kB / 0.522 GB, free: 49.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02048/1.523, allocations: 7.929 MB / 0.5297 GB, free: 48.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.524, allocations: 3.625 kB / 0.5297 GB, free: 48.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/1.527, allocations: 397.9 kB / 0.5301 GB, free: 48.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003651/1.53, allocations: 0.8013 MB / 0.5309 GB, free: 48.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003778/1.531, allocations: 57.7 kB / 0.5309 GB, free: 48.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/1.545, allocations: 10.21 MB / 0.5409 GB, free: 41.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.545, allocations: 3.375 kB / 0.5409 GB, free: 41.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.558, allocations: 5.616 MB / 0.5464 GB, free: 38.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/1.56, allocations: 0.647 MB / 0.547 GB, free: 38.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007945/1.561, allocations: 55.2 kB / 0.5471 GB, free: 38.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.564, allocations: 130 kB / 0.5472 GB, free: 38.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/1.564, allocations: 175.1 kB / 0.5474 GB, free: 38.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/1.565, allocations: 58.84 kB / 0.5474 GB, free: 38.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004015/1.569, allocations: 1.674 MB / 0.549 GB, free: 37.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.253e-06/1.569, allocations: 0 / 0.549 GB, free: 37.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004411/1.573, allocations: 0.8274 MB / 0.5499 GB, free: 37.7 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.01359/1.587, allocations: 7.134 MB / 0.5568 GB, free: 34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009011/1.596, allocations: 3.716 MB / 0.5604 GB, free: 32.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.596, allocations: 3.5 kB / 0.5604 GB, free: 32.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00564/1.601, allocations: 2.393 MB / 0.5628 GB, free: 31.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006136/1.608, allocations: 0.7269 MB / 0.5635 GB, free: 31.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.629, allocations: 7.482 MB / 0.5708 GB, free: 27.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/1.632, allocations: 2.84 MB / 0.5736 GB, free: 25.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003557/1.636, allocations: 0.6759 MB / 0.5742 GB, free: 24.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002929/1.639, allocations: 1.385 MB / 0.5756 GB, free: 23.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.332e-06/1.639, allocations: 0.5469 kB / 0.5756 GB, free: 23.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4608/2.1, allocations: 74.05 MB / 0.6479 GB, free: 61.93 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/2.1, allocations: 195.5 kB / 0.6481 GB, free: 61.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.554/7.654, allocations: 0 / 0.6481 GB, free: 61.7 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