Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.684e-05, allocations: 0 / 292.2 MB, free: 8.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 50.41 MB / 342.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5025/0.6175, allocations: 123.7 MB / 466.3 MB, free: 2.742 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.6178, allocations: 93.56 kB / 466.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7648/1.383, allocations: 117.8 MB / 0.5706 GB, free: 96.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.383, allocations: 0 / 0.5706 GB, free: 96.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005566/1.383, allocations: 131.2 kB / 0.5707 GB, free: 96 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.02003/1.403, allocations: 4.942 MB / 0.5755 GB, free: 94.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.403, allocations: 11.25 kB / 0.5755 GB, free: 94.11 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002828/1.406, allocations: 0.6982 MB / 0.5762 GB, free: 94.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007744/1.414, allocations: 1.001 MB / 0.5772 GB, free: 93.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01608/1.43, allocations: 4.602 MB / 0.5817 GB, free: 92.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/1.431, allocations: 388.3 kB / 0.5821 GB, free: 92.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/1.433, allocations: 0.5075 MB / 0.5826 GB, free: 92.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/1.454, allocations: 6.645 MB / 0.5891 GB, free: 89.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000277/1.455, allocations: 14.78 kB / 0.5891 GB, free: 89.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001605/1.456, allocations: 220 kB / 0.5893 GB, free: 89.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002741/1.457, allocations: 229 kB / 0.5895 GB, free: 89.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/1.474, allocations: 5.359 MB / 0.5947 GB, free: 86.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05439/1.528, allocations: 21.43 MB / 0.6157 GB, free: 73.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/1.54, allocations: 8.644 MB / 0.6241 GB, free: 63.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005563/1.545, allocations: 2.21 MB / 0.6263 GB, free: 61.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01718/1.563, allocations: 6.175 MB / 0.6323 GB, free: 55.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/1.563, allocations: 56.56 kB / 0.6323 GB, free: 55.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=220): time 4.799e-06/1.563, allocations: 4 kB / 0.6324 GB, free: 55.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=239): time 0.02806/1.591, allocations: 8.961 MB / 0.6411 GB, free: 46.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.591, allocations: 84.06 kB / 0.6412 GB, free: 46.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007107/1.598, allocations: 2.582 MB / 0.6437 GB, free: 44.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005716/1.599, allocations: 65.7 kB / 0.6438 GB, free: 44.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/1.6, allocations: 2.14 MB / 0.6459 GB, free: 41.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.601, allocations: 0.8168 MB / 0.6467 GB, free: 41.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/1.602, allocations: 60 kB / 0.6467 GB, free: 40.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/1.602, allocations: 428.7 kB / 0.6471 GB, free: 40.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/1.605, allocations: 1.298 MB / 0.6484 GB, free: 39.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003515/1.609, allocations: 2.021 MB / 0.6504 GB, free: 36.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003889/1.612, allocations: 1.642 MB / 0.652 GB, free: 35.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/1.613, allocations: 12 kB / 0.652 GB, free: 35.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01069/1.623, allocations: 4.257 MB / 0.6561 GB, free: 30.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/1.623, allocations: 16 kB / 0.6561 GB, free: 30.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-05/1.623, allocations: 27.94 kB / 0.6562 GB, free: 30.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/1.626, allocations: 0.7541 MB / 0.6569 GB, free: 30.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004856/1.631, allocations: 0.6279 MB / 0.6575 GB, free: 29.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/1.646, allocations: 13.35 MB / 0.6706 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004186/1.65, allocations: 151.8 kB / 0.6707 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006501/1.651, allocations: 124 kB / 0.6708 GB, free: 14.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006977/1.652, allocations: 272.2 kB / 0.6711 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009498/1.652, allocations: 324.1 kB / 0.6714 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.663, allocations: 4.125 MB / 0.6754 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/1.663, allocations: 24 kB / 0.6754 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/1.663, allocations: 8 kB / 0.6754 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.367e-05/1.663, allocations: 11.95 kB / 0.6755 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/1.686, allocations: 9.013 MB / 0.6843 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/1.686, allocations: 4 kB / 0.6843 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003316/1.689, allocations: 387.5 kB / 0.6846 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3246/2.014, allocations: 0.9121 MB / 0.6855 GB, free: 87.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006224/2.014, allocations: 69.86 kB / 0.6856 GB, free: 87.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02305/2.037, allocations: 16.49 MB / 0.7017 GB, free: 76.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/2.037, allocations: 6.562 kB / 0.7017 GB, free: 76.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/2.054, allocations: 6.267 MB / 0.7078 GB, free: 75.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/2.057, allocations: 0.6999 MB / 0.7085 GB, free: 75.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/2.058, allocations: 62.03 kB / 0.7086 GB, free: 75.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003859/2.062, allocations: 142.5 kB / 0.7087 GB, free: 75.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009931/2.063, allocations: 201.1 kB / 0.7089 GB, free: 75.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/2.063, allocations: 72.91 kB / 0.709 GB, free: 75.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005601/2.069, allocations: 1.965 MB / 0.7109 GB, free: 75.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.069, allocations: 0 / 0.7109 GB, free: 75.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00621/2.075, allocations: 1.022 MB / 0.7119 GB, free: 75.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01606/2.091, allocations: 8.174 MB / 0.7199 GB, free: 72.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00977/2.101, allocations: 4.356 MB / 0.7241 GB, free: 71.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/2.101, allocations: 1.812 kB / 0.7241 GB, free: 71.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007126/2.108, allocations: 2.907 MB / 0.727 GB, free: 70.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007122/2.116, allocations: 0.8347 MB / 0.7278 GB, free: 70.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/2.144, allocations: 9.534 MB / 0.7371 GB, free: 66.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006184/2.151, allocations: 3.44 MB / 0.7404 GB, free: 65.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004604/2.155, allocations: 1.965 MB / 0.7424 GB, free: 63.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.983e-06/2.155, allocations: 0 / 0.7424 GB, free: 63.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.686/7.841, allocations: 320.4 MB / 1.055 GB, free: 128.7 MB / 490.7 MB