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.924/1.924, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.242e-05, allocations: 8 kB / 249.7 MB, free: 15.17 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4254, allocations: 44.48 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2539/0.6794, allocations: 106.6 MB / 400.8 MB, free: 7.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.6797, allocations: 83.94 kB / 400.9 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.601/1.281, allocations: 92.71 MB / 493.6 MB, free: 56.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.281, allocations: 4 kB / 493.6 MB, free: 56.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004122/1.281, allocations: 99.88 kB / 493.7 MB, free: 56.28 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.01312/1.294, allocations: 3.54 MB / 497.3 MB, free: 52.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.294, allocations: 12.03 kB / 497.3 MB, free: 52.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/1.297, allocations: 0.5063 MB / 497.8 MB, free: 52.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00836/1.306, allocations: 2.546 MB / 0.4886 GB, free: 49.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/1.306, allocations: 116 kB / 0.4887 GB, free: 49.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/1.308, allocations: 211.9 kB / 0.4889 GB, free: 49.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01114/1.319, allocations: 3.7 MB / 0.4925 GB, free: 45.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/1.333, allocations: 4.326 MB / 0.4968 GB, free: 41.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/1.333, allocations: 11.84 kB / 0.4968 GB, free: 41.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001051/1.334, allocations: 4 kB / 0.4968 GB, free: 41.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002393/1.335, allocations: 183 kB / 0.497 GB, free: 40.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03769/1.372, allocations: 14.24 MB / 0.5109 GB, free: 26.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005959/1.378, allocations: 4.065 MB / 0.5148 GB, free: 22.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003883/1.382, allocations: 1.752 MB / 0.5165 GB, free: 20.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005562/1.383, allocations: 151 kB / 0.5167 GB, free: 20.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.383, allocations: 56.56 kB / 0.5167 GB, free: 20.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=201): time 4.528e-06/1.383, allocations: 0 / 0.5167 GB, free: 20.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=221): time 0.02163/1.405, allocations: 7.203 MB / 0.5238 GB, free: 12.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/1.405, allocations: 77.41 kB / 0.5238 GB, free: 12.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/1.409, allocations: 1.746 MB / 0.5255 GB, free: 11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005452/1.409, allocations: 25.7 kB / 0.5256 GB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/1.41, allocations: 1.514 MB / 0.5271 GB, free: 9.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.411, allocations: 0.712 MB / 0.5277 GB, free: 8.711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/1.412, allocations: 0 / 0.5277 GB, free: 8.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/1.412, allocations: 403.3 kB / 0.5281 GB, free: 8.309 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/1.414, allocations: 1.195 MB / 0.5293 GB, free: 7.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003124/1.418, allocations: 1.611 MB / 0.5309 GB, free: 5.332 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/1.421, allocations: 1.438 MB / 0.5323 GB, free: 3.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.73e-05/1.421, allocations: 4 kB / 0.5323 GB, free: 3.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00921/1.43, allocations: 3.519 MB / 0.5357 GB, free: 352 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.43, allocations: 12.03 kB / 0.5357 GB, free: 340 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/1.43, allocations: 12 kB / 0.5357 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003148/1.434, allocations: 0.7508 MB / 0.5365 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/1.438, allocations: 0.5266 MB / 0.537 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/1.454, allocations: 8.357 MB / 0.5451 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/1.457, allocations: 67.91 kB / 0.5452 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005432/1.458, allocations: 91.98 kB / 0.5453 GB, free: 6.164 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.0006287/1.458, allocations: 163.5 kB / 0.5455 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009373/1.468, allocations: 3.208 MB / 0.5486 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.469, allocations: 253 kB / 0.5488 GB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/1.479, allocations: 3.419 MB / 0.5522 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/1.479, allocations: 20 kB / 0.5522 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/1.479, allocations: 8 kB / 0.5522 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/1.479, allocations: 11.95 kB / 0.5522 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/1.502, allocations: 7.277 MB / 0.5593 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/1.502, allocations: 4.344 kB / 0.5593 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003572/1.505, allocations: 395.4 kB / 0.5597 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003899/1.509, allocations: 0.793 MB / 0.5605 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004702/1.51, allocations: 27.97 kB / 0.5605 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2927/1.802, allocations: 9.808 MB / 0.5701 GB, free: 82.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/1.803, allocations: 6.281 kB / 0.5701 GB, free: 82.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.815, allocations: 5.392 MB / 0.5753 GB, free: 82.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/1.818, allocations: 0.6007 MB / 0.5759 GB, free: 82.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008734/1.819, allocations: 18.48 kB / 0.5759 GB, free: 82.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/1.821, allocations: 87.98 kB / 0.576 GB, free: 82.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006808/1.822, allocations: 186.7 kB / 0.5762 GB, free: 82.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/1.822, allocations: 65.91 kB / 0.5763 GB, free: 82.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00272/1.825, allocations: 1.311 MB / 0.5776 GB, free: 82.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.825, allocations: 0 / 0.5776 GB, free: 82.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003957/1.829, allocations: 0.7212 MB / 0.5783 GB, free: 82.04 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.01279/1.842, allocations: 6.892 MB / 0.585 GB, free: 80.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008053/1.85, allocations: 3.623 MB / 0.5885 GB, free: 79.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.85, allocations: 0 / 0.5885 GB, free: 79.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005518/1.856, allocations: 2.352 MB / 0.5908 GB, free: 79.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004811/1.86, allocations: 0.533 MB / 0.5913 GB, free: 79.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/1.881, allocations: 7.185 MB / 0.5984 GB, free: 77.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003907/1.885, allocations: 2.796 MB / 0.6011 GB, free: 76.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003356/1.888, allocations: 1.378 MB / 0.6024 GB, free: 76.99 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/1.888, allocations: 0 / 0.6024 GB, free: 76.99 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.409/6.297, allocations: 151.3 MB / 0.7502 GB, free: 99.6 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