Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 205.8 MB / 218.9 MB, free: 9.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.222e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5575/0.6714, allocations: 111.7 MB / 428.8 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.6718, allocations: 87.58 kB / 428.8 MB, free: 8.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5003/1.172, allocations: 93.54 MB / 0.5101 GB, free: 1.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.172, allocations: 0 / 0.5101 GB, free: 1.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005192/1.173, allocations: 107.8 kB / 0.5102 GB, free: 1.395 MB / 426.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.3141/1.487, allocations: 3.529 MB / 0.5137 GB, free: 81.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/1.487, allocations: 9.219 kB / 0.5137 GB, free: 81.56 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002495/1.489, allocations: 0.5021 MB / 0.5142 GB, free: 81.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/1.493, allocations: 0.4996 MB / 0.5147 GB, free: 81.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/1.504, allocations: 2.543 MB / 0.5172 GB, free: 80.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004888/1.504, allocations: 265.6 kB / 0.5174 GB, free: 80.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001824/1.506, allocations: 353.2 kB / 0.5177 GB, free: 80.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/1.526, allocations: 4.805 MB / 0.5224 GB, free: 80.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002477/1.526, allocations: 10.08 kB / 0.5225 GB, free: 80.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001495/1.528, allocations: 149.3 kB / 0.5226 GB, free: 80.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004059/1.528, allocations: 178.4 kB / 0.5228 GB, free: 80.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01882/1.547, allocations: 3.864 MB / 0.5265 GB, free: 80.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05487/1.602, allocations: 14.96 MB / 0.5411 GB, free: 77.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007066/1.609, allocations: 4.123 MB / 0.5452 GB, free: 75.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004631/1.614, allocations: 1.836 MB / 0.547 GB, free: 75.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/1.614, allocations: 141.2 kB / 0.5471 GB, free: 75.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/1.614, allocations: 63.25 kB / 0.5472 GB, free: 75.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=201): time 4.578e-06/1.614, allocations: 1.5 kB / 0.5472 GB, free: 75.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=221): time 0.02945/1.644, allocations: 8.325 MB / 0.5553 GB, free: 73.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/1.644, allocations: 79.97 kB / 0.5554 GB, free: 73.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005833/1.65, allocations: 2.19 MB / 0.5575 GB, free: 72.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005618/1.65, allocations: 60.83 kB / 0.5576 GB, free: 72.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/1.652, allocations: 1.602 MB / 0.5591 GB, free: 71.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.653, allocations: 0.7388 MB / 0.5599 GB, free: 71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/1.654, allocations: 43.47 kB / 0.5599 GB, free: 70.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/1.654, allocations: 395.1 kB / 0.5603 GB, free: 70.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/1.657, allocations: 1.24 MB / 0.5615 GB, free: 70.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003625/1.661, allocations: 1.647 MB / 0.5631 GB, free: 69.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003704/1.664, allocations: 1.487 MB / 0.5645 GB, free: 68.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.34e-05/1.664, allocations: 10.83 kB / 0.5646 GB, free: 68.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01141/1.676, allocations: 3.878 MB / 0.5683 GB, free: 67.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/1.676, allocations: 11.81 kB / 0.5684 GB, free: 67.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/1.676, allocations: 11.78 kB / 0.5684 GB, free: 67.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003197/1.679, allocations: 0.7565 MB / 0.5691 GB, free: 67.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/1.684, allocations: 0.5282 MB / 0.5696 GB, free: 67.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/1.697, allocations: 8.708 MB / 0.5781 GB, free: 61.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/1.701, allocations: 118.8 kB / 0.5782 GB, free: 60.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007225/1.702, allocations: 89.28 kB / 0.5783 GB, free: 60.97 MB / 426.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.0006579/1.702, allocations: 234.7 kB / 0.5785 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009966/1.704, allocations: 275.5 kB / 0.5788 GB, free: 60.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009884/1.713, allocations: 3.64 MB / 0.5824 GB, free: 59.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/1.713, allocations: 24.94 kB / 0.5824 GB, free: 59.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/1.714, allocations: 10.78 kB / 0.5824 GB, free: 59.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-05/1.714, allocations: 13.36 kB / 0.5824 GB, free: 59.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02254/1.736, allocations: 7.944 MB / 0.5902 GB, free: 56.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-05/1.736, allocations: 0 / 0.5902 GB, free: 56.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/1.74, allocations: 396.4 kB / 0.5905 GB, free: 56.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003735/1.744, allocations: 0.8062 MB / 0.5913 GB, free: 55.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005366/1.744, allocations: 60.86 kB / 0.5914 GB, free: 55.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/1.759, allocations: 10.21 MB / 0.6014 GB, free: 48.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.759, allocations: 4.406 kB / 0.6014 GB, free: 48.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.773, allocations: 5.611 MB / 0.6068 GB, free: 46.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/1.776, allocations: 0.6494 MB / 0.6075 GB, free: 45.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/1.777, allocations: 50.94 kB / 0.6075 GB, free: 45.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/1.78, allocations: 124.2 kB / 0.6076 GB, free: 45.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008435/1.781, allocations: 183.8 kB / 0.6078 GB, free: 45.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.781, allocations: 64.05 kB / 0.6079 GB, free: 45.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00419/1.785, allocations: 1.678 MB / 0.6095 GB, free: 44 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.41e-07/1.786, allocations: 0 / 0.6095 GB, free: 44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004795/1.79, allocations: 0.8408 MB / 0.6103 GB, free: 43.16 MB / 426.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.01483/1.805, allocations: 7.131 MB / 0.6173 GB, free: 36.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01009/1.815, allocations: 3.704 MB / 0.6209 GB, free: 33.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.815, allocations: 3.375 kB / 0.6209 GB, free: 33.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006137/1.822, allocations: 2.39 MB / 0.6233 GB, free: 31.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006242/1.828, allocations: 0.7343 MB / 0.624 GB, free: 30.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.85, allocations: 7.498 MB / 0.6313 GB, free: 24.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004262/1.854, allocations: 2.846 MB / 0.6341 GB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003788/1.858, allocations: 0.6755 MB / 0.6347 GB, free: 21.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003301/1.861, allocations: 1.396 MB / 0.6361 GB, free: 20.29 MB / 426.7 MB Notification: Performance of SimCode: time 2.946e-06/1.861, allocations: 0 / 0.6361 GB, free: 20.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5341/2.396, allocations: 74.58 MB / 0.7089 GB, free: 83.62 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/2.396, allocations: 192.9 kB / 0.7091 GB, free: 83.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.635/8.031, allocations: 3.938 kB / 0.7091 GB, free: 83.4 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat