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.011/2.011, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.316e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3346, allocations: 44.5 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1913/0.5259, allocations: 106.7 MB / 400.9 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.5263, allocations: 87.94 kB / 401 MB, free: 7.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6395/1.166, allocations: 92.86 MB / 493.9 MB, free: 56.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.277e-06/1.166, allocations: 0 / 493.9 MB, free: 56.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004111/1.166, allocations: 99.81 kB / 494 MB, free: 56.1 MB / 362.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.01314/1.179, allocations: 3.551 MB / 497.5 MB, free: 52.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/1.18, allocations: 16.02 kB / 497.5 MB, free: 52.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/1.182, allocations: 0.5025 MB / 498 MB, free: 51.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007917/1.19, allocations: 2.548 MB / 0.4889 GB, free: 49.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/1.191, allocations: 120 kB / 0.489 GB, free: 49.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/1.192, allocations: 211.9 kB / 0.4892 GB, free: 49.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01046/1.202, allocations: 3.696 MB / 0.4928 GB, free: 45.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/1.216, allocations: 4.329 MB / 0.497 GB, free: 40.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/1.216, allocations: 15.78 kB / 0.497 GB, free: 40.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004544/1.216, allocations: 4 kB / 0.497 GB, free: 40.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/1.217, allocations: 179 kB / 0.4972 GB, free: 40.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03228/1.249, allocations: 14.23 MB / 0.5111 GB, free: 26.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005349/1.254, allocations: 4.077 MB / 0.5151 GB, free: 21.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003453/1.258, allocations: 1.748 MB / 0.5168 GB, free: 20.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/1.258, allocations: 155 kB / 0.5169 GB, free: 19.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/1.258, allocations: 52.56 kB / 0.517 GB, free: 19.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=201): time 5.17e-06/1.258, allocations: 0 / 0.517 GB, free: 19.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=221): time 0.01893/1.277, allocations: 7.206 MB / 0.524 GB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/1.277, allocations: 81.34 kB / 0.5241 GB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00345/1.281, allocations: 1.738 MB / 0.5258 GB, free: 10.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003599/1.281, allocations: 29.7 kB / 0.5258 GB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009874/1.282, allocations: 1.514 MB / 0.5273 GB, free: 9.234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000703/1.283, allocations: 0.7043 MB / 0.528 GB, free: 8.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/1.283, allocations: 0 / 0.528 GB, free: 8.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/1.283, allocations: 407.3 kB / 0.5284 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/1.286, allocations: 1.191 MB / 0.5295 GB, free: 6.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/1.288, allocations: 1.607 MB / 0.5311 GB, free: 5.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003267/1.292, allocations: 1.438 MB / 0.5325 GB, free: 3.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/1.292, allocations: 4 kB / 0.5325 GB, free: 3.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008924/1.301, allocations: 3.527 MB / 0.536 GB, free: 152 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/1.301, allocations: 8 kB / 0.536 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/1.301, allocations: 16.25 kB / 0.536 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/1.304, allocations: 0.7509 MB / 0.5367 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004541/1.309, allocations: 0.5227 MB / 0.5372 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/1.324, allocations: 8.349 MB / 0.5454 GB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/1.327, allocations: 71.91 kB / 0.5455 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005323/1.328, allocations: 87.98 kB / 0.5455 GB, free: 5.977 MB / 378.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.0006526/1.328, allocations: 160.2 kB / 0.5457 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009473/1.338, allocations: 3.204 MB / 0.5488 GB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.339, allocations: 249 kB / 0.5491 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/1.349, allocations: 3.423 MB / 0.5524 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/1.35, allocations: 24 kB / 0.5524 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/1.35, allocations: 8 kB / 0.5524 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.136e-05/1.35, allocations: 11.95 kB / 0.5524 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/1.373, allocations: 7.284 MB / 0.5596 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-05/1.373, allocations: 4 kB / 0.5596 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003661/1.376, allocations: 395.8 kB / 0.5599 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003973/1.38, allocations: 0.7969 MB / 0.5607 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005147/1.381, allocations: 27.97 kB / 0.5607 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3034/1.684, allocations: 9.801 MB / 0.5703 GB, free: 82.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/1.685, allocations: 8.188 kB / 0.5703 GB, free: 82.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/1.698, allocations: 5.389 MB / 0.5756 GB, free: 82.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/1.701, allocations: 0.6055 MB / 0.5762 GB, free: 82.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009859/1.702, allocations: 18.66 kB / 0.5762 GB, free: 82.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.704, allocations: 87.25 kB / 0.5763 GB, free: 82.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007049/1.705, allocations: 183.2 kB / 0.5765 GB, free: 82.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/1.705, allocations: 65.75 kB / 0.5765 GB, free: 82.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002965/1.708, allocations: 1.315 MB / 0.5778 GB, free: 82.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.708, allocations: 0 / 0.5778 GB, free: 82.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004148/1.713, allocations: 0.7233 MB / 0.5785 GB, free: 82.03 MB / 394.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.01275/1.725, allocations: 6.882 MB / 0.5852 GB, free: 80.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008298/1.734, allocations: 3.626 MB / 0.5888 GB, free: 79.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.734, allocations: 0 / 0.5888 GB, free: 79.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005601/1.739, allocations: 2.352 MB / 0.5911 GB, free: 79.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004993/1.744, allocations: 0.5325 MB / 0.5916 GB, free: 79.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.766, allocations: 7.188 MB / 0.5986 GB, free: 77.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004348/1.77, allocations: 2.795 MB / 0.6013 GB, free: 76.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003418/1.773, allocations: 1.378 MB / 0.6027 GB, free: 76.98 MB / 394.7 MB Notification: Performance of SimCode: time 2.284e-06/1.773, allocations: 0 / 0.6027 GB, free: 76.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.692/6.465, allocations: 151.3 MB / 0.7504 GB, free: 99.88 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