Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.566e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 50.42 MB / 342.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4616/0.5682, allocations: 104.7 MB / 447.4 MB, free: 5.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.5686, allocations: 88.62 kB / 447.5 MB, free: 5.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1774/0.746, allocations: 41.47 MB / 488.9 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7461, allocations: 0 / 488.9 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002254/0.7463, allocations: 55.94 kB / 489 MB, free: 452 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.007544/0.7539, allocations: 1.988 MB / 491 MB, free: 14.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.754, allocations: 8.031 kB / 491 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009428/0.7549, allocations: 286.4 kB / 491.3 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.7562, allocations: 277 kB / 491.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004676/0.7609, allocations: 1.372 MB / 492.9 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.7612, allocations: 143.8 kB / 493 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000717/0.7619, allocations: 191.9 kB / 493.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006907/0.7688, allocations: 2.335 MB / 495.6 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.769, allocations: 11.89 kB / 495.6 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/0.7693, allocations: 76 kB / 495.7 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.7695, allocations: 87.64 kB / 495.7 MB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005948/0.7754, allocations: 1.792 MB / 497.5 MB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02127/0.7967, allocations: 7.841 MB / 0.4935 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/0.7997, allocations: 1.249 MB / 0.4947 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/0.8019, allocations: 0.808 MB / 0.4955 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/0.8024, allocations: 142 kB / 0.4957 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.8024, allocations: 43.56 kB / 0.4957 GB, free: 13.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 3.547e-06/0.8024, allocations: 0 / 0.4957 GB, free: 13.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.01867/0.8211, allocations: 4.847 MB / 0.5004 GB, free: 8.395 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.8212, allocations: 60.41 kB / 0.5005 GB, free: 8.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/0.8238, allocations: 1.11 MB / 0.5016 GB, free: 7.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002529/0.824, allocations: 45.7 kB / 0.5016 GB, free: 7.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008203/0.8249, allocations: 0.8748 MB / 0.5025 GB, free: 6.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.8254, allocations: 406.1 kB / 0.5029 GB, free: 5.863 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.8255, allocations: 32 kB / 0.5029 GB, free: 5.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.8257, allocations: 370.7 kB / 0.5033 GB, free: 5.461 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.8274, allocations: 0.6248 MB / 0.5039 GB, free: 4.836 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.8292, allocations: 0.9639 MB / 0.5048 GB, free: 3.723 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.8312, allocations: 0.7817 MB / 0.5056 GB, free: 2.941 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.8312, allocations: 4 kB / 0.5056 GB, free: 2.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005473/0.8367, allocations: 2.034 MB / 0.5076 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.8367, allocations: 11.94 kB / 0.5076 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.8368, allocations: 15.98 kB / 0.5076 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.8384, allocations: 403.3 kB / 0.508 GB, free: 460 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/0.841, allocations: 347.5 kB / 0.5083 GB, free: 112 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007704/0.8487, allocations: 4.625 MB / 0.5128 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.8507, allocations: 91.97 kB / 0.5129 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.8509, allocations: 52 kB / 0.513 GB, free: 11.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003884/0.8513, allocations: 180.6 kB / 0.5131 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/0.8517, allocations: 154.1 kB / 0.5133 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005314/0.857, allocations: 1.898 MB / 0.5151 GB, free: 8.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.857, allocations: 12 kB / 0.5151 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.8571, allocations: 4 kB / 0.5151 GB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.8571, allocations: 3.984 kB / 0.5152 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.868, allocations: 4.037 MB / 0.5191 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.8681, allocations: 4 kB / 0.5191 GB, free: 4.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/0.87, allocations: 219.7 kB / 0.5193 GB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00218/0.8722, allocations: 471 kB / 0.5198 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.8724, allocations: 27.98 kB / 0.5198 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2883/1.161, allocations: 6.159 MB / 0.5258 GB, free: 117.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.161, allocations: 2.344 kB / 0.5258 GB, free: 117.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00749/1.168, allocations: 2.907 MB / 0.5286 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/1.17, allocations: 361.3 kB / 0.529 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/1.17, allocations: 27.86 kB / 0.529 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/1.172, allocations: 74.91 kB / 0.5291 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003527/1.172, allocations: 90.14 kB / 0.5292 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.172, allocations: 36.44 kB / 0.5292 GB, free: 117.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002006/1.174, allocations: 0.8443 MB / 0.53 GB, free: 117.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.62e-07/1.174, allocations: 0 / 0.53 GB, free: 117.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002924/1.177, allocations: 461.6 kB / 0.5305 GB, free: 117.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 95 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008438/1.186, allocations: 4.259 MB / 0.5346 GB, free: 115.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005294/1.191, allocations: 2.006 MB / 0.5366 GB, free: 115.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.191, allocations: 0.9688 kB / 0.5366 GB, free: 115.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00377/1.195, allocations: 1.315 MB / 0.5379 GB, free: 114.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.198, allocations: 372.3 kB / 0.5382 GB, free: 114.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.211, allocations: 3.918 MB / 0.5421 GB, free: 113.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/1.213, allocations: 1.669 MB / 0.5437 GB, free: 113 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/1.215, allocations: 0.7344 MB / 0.5444 GB, free: 113 MB / 442.7 MB Notification: Performance of SimCode: time 1.653e-06/1.215, allocations: 2.516 kB / 0.5444 GB, free: 113 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.626/4.841, allocations: 69.31 MB / 0.6121 GB, free: 74.42 MB / 442.7 MB