Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.297/2.297, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.351e-05/4.363e-05, allocations: 4 kB / 255.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 44.5 MB / 300 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/0.63, allocations: 107.4 MB / 407.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6303, allocations: 88.3 kB / 407.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3978/1.028, allocations: 94.09 MB / 0.4898 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.028, allocations: 4 kB / 0.4898 GB, free: 14.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005503/1.029, allocations: 95.86 kB / 0.4899 GB, free: 14.8 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.01555/1.044, allocations: 3.552 MB / 0.4933 GB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.216e-05/1.044, allocations: 15.97 kB / 0.4933 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002372/1.047, allocations: 0.4979 MB / 0.4938 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003048/1.05, allocations: 0.4985 MB / 0.4943 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009367/1.059, allocations: 2.544 MB / 0.4968 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/1.06, allocations: 267 kB / 0.4971 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/1.062, allocations: 355.9 kB / 0.4974 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/1.079, allocations: 4.795 MB / 0.5021 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001929/1.079, allocations: 11.94 kB / 0.5021 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/1.08, allocations: 152 kB / 0.5022 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002907/1.08, allocations: 179.1 kB / 0.5024 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/1.095, allocations: 3.864 MB / 0.5062 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3434/1.438, allocations: 14.94 MB / 0.5208 GB, free: 71.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008234/1.447, allocations: 4.127 MB / 0.5248 GB, free: 69.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00524/1.452, allocations: 1.834 MB / 0.5266 GB, free: 69.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/1.453, allocations: 149.2 kB / 0.5267 GB, free: 69.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/1.453, allocations: 54.12 kB / 0.5268 GB, free: 69.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 5.731e-06/1.453, allocations: 0 / 0.5268 GB, free: 69.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.03309/1.486, allocations: 8.332 MB / 0.5349 GB, free: 68.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.486, allocations: 76.31 kB / 0.535 GB, free: 68.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005928/1.492, allocations: 2.185 MB / 0.5371 GB, free: 68.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006191/1.493, allocations: 67.17 kB / 0.5372 GB, free: 68.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/1.494, allocations: 1.474 MB / 0.5386 GB, free: 67.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001164/1.495, allocations: 0.7356 MB / 0.5393 GB, free: 67.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/1.495, allocations: 55.27 kB / 0.5394 GB, free: 67.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/1.496, allocations: 401.1 kB / 0.5398 GB, free: 67.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/1.499, allocations: 1.242 MB / 0.541 GB, free: 67.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/1.503, allocations: 1.648 MB / 0.5426 GB, free: 66.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/1.507, allocations: 1.487 MB / 0.5441 GB, free: 66.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/1.507, allocations: 5.781 kB / 0.5441 GB, free: 66.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01118/1.518, allocations: 3.706 MB / 0.5477 GB, free: 66.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/1.518, allocations: 10.28 kB / 0.5477 GB, free: 66.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/1.518, allocations: 13.88 kB / 0.5477 GB, free: 66.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003297/1.521, allocations: 0.7585 MB / 0.5484 GB, free: 66.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004484/1.526, allocations: 0.5272 MB / 0.549 GB, free: 66.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.54, allocations: 8.713 MB / 0.5575 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.544, allocations: 117.4 kB / 0.5576 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006893/1.545, allocations: 85.22 kB / 0.5577 GB, free: 62.49 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.0007151/1.545, allocations: 240.8 kB / 0.5579 GB, free: 62.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.546, allocations: 279 kB / 0.5582 GB, free: 62.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/1.557, allocations: 3.634 MB / 0.5617 GB, free: 62.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.761e-05/1.557, allocations: 25.41 kB / 0.5617 GB, free: 62.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.927e-05/1.557, allocations: 10.47 kB / 0.5617 GB, free: 62.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.607e-05/1.557, allocations: 10.08 kB / 0.5618 GB, free: 62.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02631/1.583, allocations: 7.947 MB / 0.5695 GB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-05/1.584, allocations: 0 / 0.5695 GB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004913/1.589, allocations: 399.7 kB / 0.5699 GB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005383/1.594, allocations: 0.8063 MB / 0.5707 GB, free: 61.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006559/1.595, allocations: 54.11 kB / 0.5707 GB, free: 61.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02408/1.619, allocations: 10.22 MB / 0.5807 GB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.619, allocations: 9.469 kB / 0.5807 GB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/1.637, allocations: 5.609 MB / 0.5862 GB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/1.639, allocations: 0.649 MB / 0.5868 GB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.641, allocations: 51.53 kB / 0.5869 GB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/1.644, allocations: 125.9 kB / 0.587 GB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009453/1.645, allocations: 182.6 kB / 0.5872 GB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002448/1.645, allocations: 61.69 kB / 0.5872 GB, free: 51.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004435/1.65, allocations: 1.683 MB / 0.5889 GB, free: 50.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.553e-06/1.65, allocations: 0 / 0.5889 GB, free: 50.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004647/1.654, allocations: 0.8304 MB / 0.5897 GB, free: 50.39 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.01455/1.669, allocations: 7.14 MB / 0.5967 GB, free: 46.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009092/1.678, allocations: 3.706 MB / 0.6003 GB, free: 45.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.678, allocations: 0 / 0.6003 GB, free: 45.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006603/1.685, allocations: 2.385 MB / 0.6026 GB, free: 43.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007561/1.693, allocations: 0.734 MB / 0.6033 GB, free: 43.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/1.721, allocations: 7.456 MB / 0.6106 GB, free: 40.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004699/1.726, allocations: 2.787 MB / 0.6133 GB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004271/1.73, allocations: 1.409 MB / 0.6147 GB, free: 38.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.946e-06/1.73, allocations: 0 / 0.6147 GB, free: 38.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.409/7.139, allocations: 154.9 MB / 0.766 GB, free: 33.58 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat