Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.733e-05, allocations: 4 kB / 347 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4137, allocations: 61.87 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.5788, allocations: 88.65 MB / 497.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5791, allocations: 63.97 kB / 497.6 MB, free: 1.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02239/0.6015, allocations: 4.935 MB / 0.4908 GB, free: 12.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.6015, allocations: 0 / 0.4908 GB, free: 12.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.6016, allocations: 4 kB / 0.4908 GB, free: 12.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001077/0.6026, allocations: 0.5178 MB / 0.4913 GB, free: 12.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6027, allocations: 11.97 kB / 0.4913 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.571e-05/0.6028, allocations: 62.55 kB / 0.4914 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.6029, allocations: 35.53 kB / 0.4914 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.6033, allocations: 250.5 kB / 0.4916 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.6034, allocations: 20.56 kB / 0.4917 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.6034, allocations: 24 kB / 0.4917 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.604, allocations: 252.9 kB / 0.4919 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.6041, allocations: 11.89 kB / 0.4919 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.6041, allocations: 11.94 kB / 0.4919 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.6041, allocations: 8 kB / 0.4919 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/0.6046, allocations: 135.9 kB / 0.4921 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.607, allocations: 1.31 MB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.6075, allocations: 218.4 kB / 0.4936 GB, free: 9.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.6077, allocations: 79.42 kB / 0.4936 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.6078, allocations: 12 kB / 0.4937 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.6078, allocations: 38.69 kB / 0.4937 GB, free: 9.648 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.414e-06/0.6078, allocations: 0.875 kB / 0.4937 GB, free: 9.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002863/0.6107, allocations: 1.389 MB / 0.495 GB, free: 8.051 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.6108, allocations: 136.5 kB / 0.4952 GB, free: 7.887 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.6111, allocations: 197 kB / 0.4954 GB, free: 7.684 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.6111, allocations: 34.64 kB / 0.4954 GB, free: 7.645 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.6113, allocations: 234.7 kB / 0.4956 GB, free: 7.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.6115, allocations: 114.3 kB / 0.4957 GB, free: 7.301 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.6115, allocations: 12 kB / 0.4957 GB, free: 7.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6116, allocations: 326.8 kB / 0.4961 GB, free: 6.961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.6119, allocations: 68.88 kB / 0.4961 GB, free: 6.891 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.6122, allocations: 208.9 kB / 0.4963 GB, free: 6.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.6126, allocations: 107.8 kB / 0.4964 GB, free: 6.523 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6126, allocations: 0 / 0.4964 GB, free: 6.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000815/0.6134, allocations: 309.4 kB / 0.4967 GB, free: 6.215 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.6134, allocations: 8 kB / 0.4967 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6135, allocations: 4.406 kB / 0.4967 GB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.6135, allocations: 15.94 kB / 0.4967 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/0.6143, allocations: 107.9 kB / 0.4968 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.6143, allocations: 11.94 kB / 0.4969 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/0.6147, allocations: 27.98 kB / 0.4969 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.6148, allocations: 20 kB / 0.4969 GB, free: 6.023 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.6149, allocations: 128.8 kB / 0.497 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.6151, allocations: 35.58 kB / 0.4971 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.6152, allocations: 33.83 kB / 0.4971 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.6152, allocations: 4 kB / 0.4971 GB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6152, allocations: 4 kB / 0.4971 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.6153, allocations: 3.984 kB / 0.4971 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.6172, allocations: 0.935 MB / 0.498 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6172, allocations: 3.984 kB / 0.498 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.618, allocations: 87.89 kB / 0.4981 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.618, allocations: 288 / 0.4981 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.618, allocations: 8 kB / 0.4981 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.6181, allocations: 7.984 kB / 0.4981 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6181, allocations: 3.938 kB / 0.4981 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.6191, allocations: 0.6984 MB / 0.4988 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.6192, allocations: 104.9 kB / 0.4989 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.6193, allocations: 8 kB / 0.4989 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.6198, allocations: 23.98 kB / 0.4989 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6199, allocations: 31.92 kB / 0.499 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.62, allocations: 11.98 kB / 0.499 GB, free: 3.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002053/0.6202, allocations: 153.4 kB / 0.4991 GB, free: 3.598 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6202, allocations: 0 / 0.4991 GB, free: 3.598 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007176/0.6209, allocations: 68 kB / 0.4992 GB, free: 3.531 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/0.6224, allocations: 1.593 MB / 0.5007 GB, free: 1.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006647/0.6231, allocations: 208.3 kB / 0.5009 GB, free: 1.684 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.6232, allocations: 0 / 0.5009 GB, free: 1.684 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.6234, allocations: 99.86 kB / 0.501 GB, free: 1.586 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.6241, allocations: 37.81 kB / 0.5011 GB, free: 1.551 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.6265, allocations: 0.8252 MB / 0.5019 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.627, allocations: 0.78 MB / 0.5026 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.6272, allocations: 91.41 kB / 0.5027 GB, free: 15.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6272, allocations: 0.5625 kB / 0.5027 GB, free: 15.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.391/3.018, allocations: 4.439 MB / 0.5071 GB, free: 11.34 MB / 442.7 MB