Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.278e-05, allocations: 7.094 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.09455, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4828/0.5774, allocations: 107.4 MB / 407.4 MB, free: 9.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00043/0.5779, allocations: 85.05 kB / 407.5 MB, free: 9.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4848/1.063, allocations: 94.1 MB / 0.4898 GB, free: 14.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.268e-06/1.063, allocations: 0 / 0.4898 GB, free: 14.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004228/1.063, allocations: 95.88 kB / 0.4899 GB, free: 14.34 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.01394/1.077, allocations: 3.549 MB / 0.4934 GB, free: 10.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/1.077, allocations: 8.031 kB / 0.4934 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002167/1.079, allocations: 0.4979 MB / 0.4939 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/1.083, allocations: 0.5102 MB / 0.4944 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008946/1.092, allocations: 2.54 MB / 0.4968 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/1.092, allocations: 263 kB / 0.4971 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/1.094, allocations: 355.9 kB / 0.4974 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/1.109, allocations: 4.803 MB / 0.5021 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001553/1.109, allocations: 7.922 kB / 0.5021 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007245/1.11, allocations: 152 kB / 0.5023 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002775/1.11, allocations: 175.1 kB / 0.5024 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/1.124, allocations: 3.86 MB / 0.5062 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3289/1.453, allocations: 14.95 MB / 0.5208 GB, free: 71.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007377/1.46, allocations: 4.127 MB / 0.5248 GB, free: 69.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005216/1.465, allocations: 1.834 MB / 0.5266 GB, free: 69.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/1.466, allocations: 145.3 kB / 0.5268 GB, free: 69.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/1.466, allocations: 62.11 kB / 0.5268 GB, free: 69.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 5.371e-06/1.466, allocations: 0 / 0.5268 GB, free: 69.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.03166/1.498, allocations: 8.329 MB / 0.535 GB, free: 68.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/1.498, allocations: 80.52 kB / 0.535 GB, free: 68.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/1.502, allocations: 2.177 MB / 0.5372 GB, free: 68.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005454/1.503, allocations: 61.3 kB / 0.5372 GB, free: 68.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/1.504, allocations: 1.608 MB / 0.5388 GB, free: 68.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.505, allocations: 0.7363 MB / 0.5395 GB, free: 67.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/1.506, allocations: 45.72 kB / 0.5396 GB, free: 67.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/1.506, allocations: 402.1 kB / 0.5399 GB, free: 67.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/1.509, allocations: 1.237 MB / 0.5411 GB, free: 67.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/1.512, allocations: 1.65 MB / 0.5428 GB, free: 67.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003858/1.516, allocations: 1.492 MB / 0.5442 GB, free: 67.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/1.516, allocations: 3.875 kB / 0.5442 GB, free: 67.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01153/1.528, allocations: 3.877 MB / 0.548 GB, free: 66.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/1.528, allocations: 10.69 kB / 0.548 GB, free: 66.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/1.528, allocations: 15.39 kB / 0.548 GB, free: 66.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003224/1.531, allocations: 0.7493 MB / 0.5488 GB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004402/1.536, allocations: 0.5267 MB / 0.5493 GB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.55, allocations: 8.716 MB / 0.5578 GB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003729/1.553, allocations: 121.7 kB / 0.5579 GB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000664/1.554, allocations: 87.94 kB / 0.558 GB, free: 62.7 MB / 410.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.0007017/1.555, allocations: 243.2 kB / 0.5582 GB, free: 62.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.556, allocations: 269.8 kB / 0.5585 GB, free: 62.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/1.566, allocations: 3.636 MB / 0.562 GB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/1.566, allocations: 22.12 kB / 0.562 GB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/1.567, allocations: 13.56 kB / 0.5621 GB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.235e-05/1.567, allocations: 14.33 kB / 0.5621 GB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/1.591, allocations: 7.94 MB / 0.5698 GB, free: 61.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.731e-05/1.591, allocations: 7.766 kB / 0.5698 GB, free: 61.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003536/1.594, allocations: 392.8 kB / 0.5702 GB, free: 61.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00366/1.598, allocations: 0.8071 MB / 0.571 GB, free: 61.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000476/1.598, allocations: 54.91 kB / 0.5711 GB, free: 61.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/1.613, allocations: 10.22 MB / 0.581 GB, free: 54.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/1.613, allocations: 3.969 kB / 0.581 GB, free: 54.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.627, allocations: 5.621 MB / 0.5865 GB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/1.629, allocations: 0.637 MB / 0.5871 GB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.63, allocations: 49.84 kB / 0.5872 GB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003395/1.634, allocations: 123 kB / 0.5873 GB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007867/1.635, allocations: 190 kB / 0.5875 GB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.635, allocations: 59.38 kB / 0.5875 GB, free: 51.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0039/1.639, allocations: 1.682 MB / 0.5892 GB, free: 50.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.639, allocations: 0 / 0.5892 GB, free: 50.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004452/1.643, allocations: 0.8329 MB / 0.59 GB, free: 50.41 MB / 410.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.01336/1.657, allocations: 7.131 MB / 0.597 GB, free: 46.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00851/1.665, allocations: 3.707 MB / 0.6006 GB, free: 45.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.665, allocations: 3.562 kB / 0.6006 GB, free: 45.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005736/1.671, allocations: 2.386 MB / 0.6029 GB, free: 43.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005781/1.677, allocations: 0.75 MB / 0.6037 GB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.698, allocations: 7.501 MB / 0.611 GB, free: 40.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00395/1.702, allocations: 2.845 MB / 0.6138 GB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00393/1.706, allocations: 0.6838 MB / 0.6144 GB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003323/1.709, allocations: 1.389 MB / 0.6158 GB, free: 38.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.874e-06/1.709, allocations: 0 / 0.6158 GB, free: 38.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4644/2.173, allocations: 74.54 MB / 0.6886 GB, free: 62.68 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/2.174, allocations: 204.3 kB / 0.6888 GB, free: 62.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.59/7.763, allocations: 0 / 0.6888 GB, free: 62.44 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat