Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.06e-05, allocations: 4 kB / 255.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 44.51 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.6185, allocations: 107.3 MB / 407.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.6188, allocations: 84.86 kB / 407.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3989/1.018, allocations: 93.93 MB / 0.4895 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.018, allocations: 0 / 0.4895 GB, free: 15.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004839/1.018, allocations: 103.8 kB / 0.4896 GB, free: 15 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.01481/1.033, allocations: 3.549 MB / 0.4931 GB, free: 11.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.033, allocations: 12.03 kB / 0.4931 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002312/1.036, allocations: 0.4979 MB / 0.4936 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/1.039, allocations: 0.5024 MB / 0.4941 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009291/1.048, allocations: 2.544 MB / 0.4966 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004409/1.049, allocations: 263.1 kB / 0.4968 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/1.05, allocations: 355.9 kB / 0.4972 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/1.065, allocations: 4.802 MB / 0.5019 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/1.065, allocations: 4 kB / 0.5019 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000615/1.066, allocations: 148 kB / 0.502 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002755/1.066, allocations: 175.1 kB / 0.5022 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/1.08, allocations: 3.864 MB / 0.5059 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.326/1.406, allocations: 14.96 MB / 0.5205 GB, free: 72.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007752/1.414, allocations: 4.127 MB / 0.5246 GB, free: 70.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005107/1.419, allocations: 1.835 MB / 0.5264 GB, free: 70.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/1.419, allocations: 147.7 kB / 0.5265 GB, free: 70.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/1.419, allocations: 54.78 kB / 0.5266 GB, free: 70.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.528e-06/1.419, allocations: 0 / 0.5266 GB, free: 70.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.03124/1.451, allocations: 8.331 MB / 0.5347 GB, free: 69.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/1.451, allocations: 72.44 kB / 0.5348 GB, free: 69.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005232/1.456, allocations: 2.188 MB / 0.5369 GB, free: 69.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005763/1.457, allocations: 65.23 kB / 0.537 GB, free: 69.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/1.458, allocations: 1.477 MB / 0.5384 GB, free: 69.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.459, allocations: 0.7411 MB / 0.5391 GB, free: 68.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/1.459, allocations: 45.14 kB / 0.5392 GB, free: 68.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/1.46, allocations: 400.6 kB / 0.5396 GB, free: 68.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/1.462, allocations: 1.237 MB / 0.5408 GB, free: 68.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00335/1.466, allocations: 1.653 MB / 0.5424 GB, free: 67.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/1.469, allocations: 1.486 MB / 0.5438 GB, free: 67.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/1.469, allocations: 9.859 kB / 0.5438 GB, free: 67.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01001/1.479, allocations: 3.701 MB / 0.5475 GB, free: 67.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/1.48, allocations: 14.03 kB / 0.5475 GB, free: 67.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/1.48, allocations: 12.62 kB / 0.5475 GB, free: 67.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/1.483, allocations: 0.7574 MB / 0.5482 GB, free: 67.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004273/1.487, allocations: 0.5238 MB / 0.5487 GB, free: 67.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/1.501, allocations: 8.719 MB / 0.5572 GB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/1.504, allocations: 113.9 kB / 0.5574 GB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000621/1.505, allocations: 86.97 kB / 0.5574 GB, free: 63.73 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.0006378/1.506, allocations: 235 kB / 0.5577 GB, free: 63.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009651/1.507, allocations: 281.8 kB / 0.5579 GB, free: 63.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009669/1.516, allocations: 3.636 MB / 0.5615 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/1.516, allocations: 18.84 kB / 0.5615 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/1.516, allocations: 7.75 kB / 0.5615 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-05/1.516, allocations: 13.5 kB / 0.5615 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02251/1.539, allocations: 7.947 MB / 0.5693 GB, free: 62.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/1.539, allocations: 3.75 kB / 0.5693 GB, free: 62.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003386/1.542, allocations: 396.7 kB / 0.5697 GB, free: 62.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003592/1.546, allocations: 0.8032 MB / 0.5704 GB, free: 62.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004055/1.547, allocations: 58.58 kB / 0.5705 GB, free: 62.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/1.561, allocations: 10.22 MB / 0.5805 GB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.561, allocations: 7.281 kB / 0.5805 GB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.574, allocations: 5.61 MB / 0.586 GB, free: 52.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/1.576, allocations: 0.6475 MB / 0.5866 GB, free: 52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.578, allocations: 51 kB / 0.5866 GB, free: 51.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/1.581, allocations: 123.9 kB / 0.5868 GB, free: 51.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007964/1.582, allocations: 180.8 kB / 0.5869 GB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/1.582, allocations: 69.94 kB / 0.587 GB, free: 51.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003985/1.586, allocations: 1.67 MB / 0.5886 GB, free: 51.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.586, allocations: 3.844 kB / 0.5886 GB, free: 51.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004601/1.591, allocations: 0.8401 MB / 0.5895 GB, free: 51.15 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.01437/1.605, allocations: 7.131 MB / 0.5964 GB, free: 47.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009157/1.614, allocations: 3.709 MB / 0.6 GB, free: 45.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.614, allocations: 3.25 kB / 0.6 GB, free: 45.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006055/1.62, allocations: 2.382 MB / 0.6024 GB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0062/1.627, allocations: 0.7338 MB / 0.6031 GB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/1.648, allocations: 7.447 MB / 0.6104 GB, free: 41.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003527/1.652, allocations: 2.788 MB / 0.6131 GB, free: 40.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003159/1.655, allocations: 1.411 MB / 0.6145 GB, free: 39.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/1.655, allocations: 5.625 kB / 0.6145 GB, free: 39.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.703/6.358, allocations: 154.9 MB / 0.7657 GB, free: 34.53 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat