Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.704/1.704, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.342e-05, allocations: 0 / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2793, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.4771, allocations: 102.1 MB / 365.9 MB, free: 3.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/0.4775, allocations: 83.95 kB / 366 MB, free: 3.508 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.582/1.059, allocations: 94.37 MB / 460.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/1.06, allocations: 0 / 460.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004446/1.06, allocations: 95.88 kB / 460.5 MB, free: 14.5 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.01357/1.074, allocations: 3.54 MB / 464 MB, free: 10.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.074, allocations: 8.031 kB / 464 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002193/1.076, allocations: 0.4978 MB / 464.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/1.079, allocations: 0.5028 MB / 465 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008705/1.088, allocations: 2.497 MB / 467.5 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003697/1.088, allocations: 267 kB / 467.8 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/1.09, allocations: 351.9 kB / 468.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/1.106, allocations: 4.812 MB / 472.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002446/1.106, allocations: 11.94 kB / 473 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001312/1.107, allocations: 152 kB / 473.1 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002379/1.108, allocations: 175 kB / 473.3 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/1.121, allocations: 3.885 MB / 477.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04721/1.169, allocations: 14.89 MB / 492.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008409/1.177, allocations: 4.153 MB / 496.2 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005327/1.182, allocations: 1.835 MB / 498 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/1.183, allocations: 147 kB / 498.2 MB, free: 7.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.702e-05/1.183, allocations: 56.56 kB / 498.2 MB, free: 7.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.589e-06/1.183, allocations: 0 / 498.2 MB, free: 7.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.2801/1.463, allocations: 8.328 MB / 0.4947 GB, free: 56.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/1.463, allocations: 77.78 kB / 0.4948 GB, free: 56.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00627/1.47, allocations: 2.159 MB / 0.4969 GB, free: 55.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005539/1.47, allocations: 65.14 kB / 0.4969 GB, free: 55.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/1.472, allocations: 1.469 MB / 0.4984 GB, free: 55.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.473, allocations: 0.7386 MB / 0.4991 GB, free: 55.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/1.473, allocations: 42.97 kB / 0.4991 GB, free: 55.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/1.473, allocations: 408.6 kB / 0.4995 GB, free: 54.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/1.477, allocations: 1.235 MB / 0.5007 GB, free: 54.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/1.48, allocations: 1.666 MB / 0.5024 GB, free: 54.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003848/1.484, allocations: 1.488 MB / 0.5038 GB, free: 54.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.358e-05/1.484, allocations: 3.562 kB / 0.5038 GB, free: 54.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01068/1.495, allocations: 3.741 MB / 0.5075 GB, free: 54.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/1.495, allocations: 11.28 kB / 0.5075 GB, free: 54.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/1.495, allocations: 11.31 kB / 0.5075 GB, free: 54.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/1.498, allocations: 0.7472 MB / 0.5082 GB, free: 54.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/1.503, allocations: 0.5359 MB / 0.5087 GB, free: 54.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.517, allocations: 8.707 MB / 0.5172 GB, free: 50.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/1.52, allocations: 122.3 kB / 0.5174 GB, free: 50.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006795/1.521, allocations: 86.69 kB / 0.5174 GB, free: 50.32 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.000705/1.522, allocations: 234.8 kB / 0.5177 GB, free: 50.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009822/1.523, allocations: 281.1 kB / 0.5179 GB, free: 50.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/1.534, allocations: 3.635 MB / 0.5215 GB, free: 49.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/1.534, allocations: 28.53 kB / 0.5215 GB, free: 49.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/1.534, allocations: 6.531 kB / 0.5215 GB, free: 49.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.49e-05/1.534, allocations: 15.06 kB / 0.5215 GB, free: 49.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02375/1.558, allocations: 7.935 MB / 0.5293 GB, free: 49.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.856e-05/1.558, allocations: 3.844 kB / 0.5293 GB, free: 49.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003489/1.561, allocations: 394.2 kB / 0.5297 GB, free: 49.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003851/1.565, allocations: 0.8041 MB / 0.5304 GB, free: 49.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005398/1.566, allocations: 56.94 kB / 0.5305 GB, free: 49.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/1.581, allocations: 10.21 MB / 0.5405 GB, free: 41.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.581, allocations: 13.84 kB / 0.5405 GB, free: 41.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/1.595, allocations: 5.614 MB / 0.546 GB, free: 39.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00256/1.598, allocations: 0.6491 MB / 0.5466 GB, free: 38.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/1.599, allocations: 49.72 kB / 0.5467 GB, free: 38.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003292/1.602, allocations: 123.9 kB / 0.5468 GB, free: 38.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000888/1.603, allocations: 183.3 kB / 0.5469 GB, free: 38.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002975/1.603, allocations: 67.47 kB / 0.547 GB, free: 38.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004346/1.608, allocations: 1.662 MB / 0.5486 GB, free: 38.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.283e-06/1.608, allocations: 0 / 0.5486 GB, free: 38.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004587/1.612, allocations: 0.829 MB / 0.5494 GB, free: 38.1 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.01529/1.628, allocations: 7.137 MB / 0.5564 GB, free: 34.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009419/1.637, allocations: 3.783 MB / 0.5601 GB, free: 32.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.637, allocations: 0 / 0.5601 GB, free: 32.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006297/1.644, allocations: 2.432 MB / 0.5625 GB, free: 31.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006096/1.65, allocations: 0.7383 MB / 0.5632 GB, free: 31.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/1.673, allocations: 7.424 MB / 0.5705 GB, free: 28.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004652/1.678, allocations: 2.792 MB / 0.5732 GB, free: 26.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003637/1.681, allocations: 1.397 MB / 0.5745 GB, free: 24.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.843e-06/1.681, allocations: 0 / 0.5745 GB, free: 24.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.65/6.331, allocations: 154.3 MB / 0.7253 GB, free: 15.25 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat