Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.114e-05, allocations: 4 kB / 292.8 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 50.41 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.6172, allocations: 112.3 MB / 455.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.6176, allocations: 80.58 kB / 455.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7235/1.341, allocations: 93.96 MB / 0.5367 GB, free: 90.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.341, allocations: 0 / 0.5367 GB, free: 90.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004688/1.342, allocations: 96.89 kB / 0.5368 GB, free: 90.87 MB / 442.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.01482/1.356, allocations: 3.568 MB / 0.5402 GB, free: 89.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.386e-05/1.357, allocations: 9.219 kB / 0.5402 GB, free: 89.67 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002109/1.359, allocations: 0.4957 MB / 0.5407 GB, free: 89.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/1.362, allocations: 0.4988 MB / 0.5412 GB, free: 89.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008832/1.371, allocations: 2.554 MB / 0.5437 GB, free: 88.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000395/1.371, allocations: 265.1 kB / 0.544 GB, free: 88.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001665/1.373, allocations: 353.7 kB / 0.5443 GB, free: 88.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/1.388, allocations: 4.785 MB / 0.549 GB, free: 88.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000188/1.388, allocations: 13.41 kB / 0.549 GB, free: 88.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/1.389, allocations: 152.5 kB / 0.5491 GB, free: 88.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/1.39, allocations: 170.9 kB / 0.5493 GB, free: 88.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/1.401, allocations: 3.853 MB / 0.5531 GB, free: 88.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03882/1.44, allocations: 14.96 MB / 0.5677 GB, free: 85.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00624/1.446, allocations: 4.117 MB / 0.5717 GB, free: 82.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004171/1.451, allocations: 1.833 MB / 0.5735 GB, free: 81.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/1.451, allocations: 154.3 kB / 0.5736 GB, free: 81.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/1.451, allocations: 58.5 kB / 0.5737 GB, free: 81.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 4.659e-06/1.451, allocations: 0 / 0.5737 GB, free: 81.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.03258/1.484, allocations: 8.328 MB / 0.5818 GB, free: 78.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/1.484, allocations: 79.88 kB / 0.5819 GB, free: 78.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00665/1.49, allocations: 2.195 MB / 0.584 GB, free: 77.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000663/1.491, allocations: 64.3 kB / 0.5841 GB, free: 77.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001871/1.493, allocations: 1.602 MB / 0.5857 GB, free: 76.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001273/1.494, allocations: 0.7383 MB / 0.5864 GB, free: 75.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/1.495, allocations: 43.31 kB / 0.5864 GB, free: 75.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002372/1.495, allocations: 397.1 kB / 0.5868 GB, free: 75.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004286/1.499, allocations: 1.234 MB / 0.588 GB, free: 74.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004602/1.504, allocations: 1.653 MB / 0.5896 GB, free: 73.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/1.509, allocations: 1.49 MB / 0.5911 GB, free: 73.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-05/1.509, allocations: 7.281 kB / 0.5911 GB, free: 73.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01485/1.524, allocations: 3.877 MB / 0.5949 GB, free: 71.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/1.524, allocations: 7.75 kB / 0.5949 GB, free: 71.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-05/1.524, allocations: 18.55 kB / 0.5949 GB, free: 71.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004402/1.529, allocations: 0.7551 MB / 0.5956 GB, free: 71.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005776/1.534, allocations: 0.5239 MB / 0.5961 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/1.555, allocations: 8.711 MB / 0.6046 GB, free: 65.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005192/1.56, allocations: 120.2 kB / 0.6048 GB, free: 65.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007235/1.561, allocations: 88.77 kB / 0.6048 GB, free: 65.38 MB / 442.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.0008637/1.561, allocations: 236.2 kB / 0.6051 GB, free: 65.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/1.563, allocations: 278 kB / 0.6053 GB, free: 65.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.577, allocations: 3.63 MB / 0.6089 GB, free: 63.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/1.577, allocations: 21.69 kB / 0.6089 GB, free: 63.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/1.577, allocations: 7.906 kB / 0.6089 GB, free: 63.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.357e-05/1.577, allocations: 11.11 kB / 0.6089 GB, free: 63.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03232/1.61, allocations: 7.95 MB / 0.6167 GB, free: 60.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/1.61, allocations: 4 kB / 0.6167 GB, free: 60.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004424/1.614, allocations: 396.4 kB / 0.6171 GB, free: 59.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003636/1.618, allocations: 0.8081 MB / 0.6179 GB, free: 59.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/1.618, allocations: 58.52 kB / 0.6179 GB, free: 59.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/1.633, allocations: 10.22 MB / 0.6279 GB, free: 49.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.633, allocations: 5.781 kB / 0.6279 GB, free: 49.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.645, allocations: 5.611 MB / 0.6334 GB, free: 44.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.648, allocations: 0.6438 MB / 0.634 GB, free: 43.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009369/1.649, allocations: 51.94 kB / 0.6341 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/1.651, allocations: 121.3 kB / 0.6342 GB, free: 43.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006111/1.652, allocations: 191.4 kB / 0.6344 GB, free: 43.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/1.652, allocations: 59.47 kB / 0.6344 GB, free: 43.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003672/1.656, allocations: 1.68 MB / 0.6361 GB, free: 41.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.656, allocations: 0 / 0.6361 GB, free: 41.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00418/1.66, allocations: 0.8317 MB / 0.6369 GB, free: 41.02 MB / 442.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.01316/1.673, allocations: 7.141 MB / 0.6438 GB, free: 34.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008348/1.682, allocations: 3.71 MB / 0.6475 GB, free: 31.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.682, allocations: 4 kB / 0.6475 GB, free: 31.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005618/1.688, allocations: 2.384 MB / 0.6498 GB, free: 28.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005875/1.693, allocations: 0.7379 MB / 0.6505 GB, free: 28.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.714, allocations: 7.51 MB / 0.6578 GB, free: 21.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003356/1.717, allocations: 2.847 MB / 0.6606 GB, free: 19.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003609/1.721, allocations: 0.6692 MB / 0.6613 GB, free: 19.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003121/1.724, allocations: 1.394 MB / 0.6626 GB, free: 17.88 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/1.724, allocations: 0 / 0.6626 GB, free: 17.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5139/2.238, allocations: 74.52 MB / 0.7354 GB, free: 94.32 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/2.238, allocations: 193.1 kB / 0.7356 GB, free: 94.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.724/7.962, allocations: 0 / 0.7356 GB, free: 94.09 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat does not exist to compare? outputFormat=mat