Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.209e-05, allocations: 5.562 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 50.42 MB / 342.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4803/0.5849, allocations: 105.4 MB / 448.1 MB, free: 4.719 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5852, allocations: 87.2 kB / 448.1 MB, free: 4.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1765/0.7617, allocations: 39.49 MB / 487.6 MB, free: 1.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7618, allocations: 7.938 kB / 487.6 MB, free: 1.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002094/0.762, allocations: 43.94 kB / 487.7 MB, free: 1.617 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.006226/0.7682, allocations: 1.744 MB / 489.4 MB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.7683, allocations: 8.031 kB / 489.4 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008274/0.7691, allocations: 232.1 kB / 489.7 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.7703, allocations: 237.4 kB / 489.9 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004392/0.7747, allocations: 1.273 MB / 491.2 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.775, allocations: 119.1 kB / 491.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005634/0.7755, allocations: 155.9 kB / 491.4 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005883/0.7814, allocations: 1.934 MB / 493.4 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.663e-05/0.7816, allocations: 3.906 kB / 493.4 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.7818, allocations: 67.98 kB / 493.4 MB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.782, allocations: 70.92 kB / 493.5 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005272/0.7873, allocations: 1.521 MB / 495 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02185/0.8092, allocations: 6.863 MB / 0.4901 GB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.8111, allocations: 472.2 kB / 0.4906 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.8121, allocations: 274.1 kB / 0.4908 GB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006134/0.8183, allocations: 1.47 MB / 0.4923 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.8184, allocations: 38.56 kB / 0.4923 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 5.29e-06/0.8184, allocations: 0 / 0.4923 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.01475/0.8332, allocations: 2.829 MB / 0.4951 GB, free: 13.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004866/0.8381, allocations: 2.163 MB / 0.4972 GB, free: 11.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/0.8428, allocations: 1.368 MB / 0.4985 GB, free: 9.984 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.8431, allocations: 37.7 kB / 0.4986 GB, free: 9.941 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.8445, allocations: 1.008 MB / 0.4995 GB, free: 8.922 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/0.8449, allocations: 201.4 kB / 0.4997 GB, free: 8.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.8451, allocations: 28 kB / 0.4998 GB, free: 8.695 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002895/0.8454, allocations: 378.8 kB / 0.5001 GB, free: 8.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.8472, allocations: 491.8 kB / 0.5006 GB, free: 7.836 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00285/0.8501, allocations: 1.383 MB / 0.5019 GB, free: 6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.8528, allocations: 0.7664 MB / 0.5027 GB, free: 5.234 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.49e-05/0.8528, allocations: 12 kB / 0.5027 GB, free: 5.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007392/0.8602, allocations: 1.878 MB / 0.5045 GB, free: 3.328 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/0.8603, allocations: 16 kB / 0.5046 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.107e-05/0.8604, allocations: 35.95 kB / 0.5046 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.8617, allocations: 230.4 kB / 0.5048 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.8649, allocations: 379.6 kB / 0.5052 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.8683, allocations: 1.746 MB / 0.5069 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/0.8713, allocations: 127.5 kB / 0.507 GB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00031/0.8717, allocations: 88 kB / 0.5071 GB, free: 0.582 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 192 * 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: 1 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004073/0.8721, allocations: 220.2 kB / 0.5073 GB, free: 368 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/0.8725, allocations: 142.2 kB / 0.5074 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/0.8757, allocations: 1.043 MB / 0.5084 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.8758, allocations: 4 kB / 0.5084 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.8758, allocations: 4 kB / 0.5085 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.8758, allocations: 3.984 kB / 0.5085 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009087/0.8849, allocations: 3.093 MB / 0.5115 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.885, allocations: 4 kB / 0.5115 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/0.8858, allocations: 99.86 kB / 0.5116 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.887, allocations: 222.4 kB / 0.5118 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.761e-05/0.8871, allocations: 15.95 kB / 0.5118 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/0.8931, allocations: 3.718 MB / 0.5154 GB, free: 7.602 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003263/0.8964, allocations: 2.021 MB / 0.5174 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004227/0.9007, allocations: 1.792 MB / 0.5192 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009859/0.9017, allocations: 299.1 kB / 0.5194 GB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.902, allocations: 19.94 kB / 0.5195 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.9033, allocations: 52 kB / 0.5195 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.9034, allocations: 43.89 kB / 0.5196 GB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.9035, allocations: 20 kB / 0.5196 GB, free: 3.043 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00255/0.9061, allocations: 1.015 MB / 0.5206 GB, free: 2.031 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.91e-07/0.9061, allocations: 0 / 0.5206 GB, free: 2.031 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002832/0.909, allocations: 404 kB / 0.5209 GB, free: 1.637 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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: 2 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.3035/1.213, allocations: 3.461 MB / 0.5243 GB, free: 120.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003955/1.217, allocations: 1.462 MB / 0.5258 GB, free: 120.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.217, allocations: 3.188 kB / 0.5258 GB, free: 120.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/1.218, allocations: 0.7771 MB / 0.5265 GB, free: 120.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/1.221, allocations: 382.5 kB / 0.5269 GB, free: 120.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008145/1.229, allocations: 2.823 MB / 0.5296 GB, free: 119.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/1.231, allocations: 1.49 MB / 0.5311 GB, free: 118.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.233, allocations: 0.626 MB / 0.5317 GB, free: 118.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/1.233, allocations: 1.188 kB / 0.5317 GB, free: 118.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.517/4.749, allocations: 53.25 MB / 0.5837 GB, free: 99.89 MB / 442.7 MB