Running command: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.426e-05, allocations: 4 kB / 347.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4096, allocations: 61.87 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.5803, allocations: 93.46 MB / 0.4906 GB, free: 13.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.5806, allocations: 63.97 kB / 0.4907 GB, free: 13.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05748/0.6381, allocations: 13.88 MB / 0.5042 GB, free: 15.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6381, allocations: 4 kB / 0.5042 GB, free: 15.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.101e-05/0.6382, allocations: 27.94 kB / 0.5043 GB, free: 15.01 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002415/0.6407, allocations: 0.9001 MB / 0.5051 GB, free: 14.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.6407, allocations: 16.03 kB / 0.5051 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003614/0.6411, allocations: 143.6 kB / 0.5053 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/0.6414, allocations: 102.7 kB / 0.5054 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.6428, allocations: 0.5398 MB / 0.5059 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.6429, allocations: 69.98 kB / 0.506 GB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.6431, allocations: 92 kB / 0.5061 GB, free: 13.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.6455, allocations: 0.8463 MB / 0.5069 GB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-05/0.6456, allocations: 19.84 kB / 0.5069 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.6457, allocations: 40 kB / 0.507 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.6457, allocations: 20 kB / 0.507 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.6475, allocations: 479.7 kB / 0.5074 GB, free: 11.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006363/0.6539, allocations: 3.647 MB / 0.511 GB, free: 7.801 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.6547, allocations: 205.3 kB / 0.5112 GB, free: 7.586 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.655, allocations: 96.86 kB / 0.5113 GB, free: 7.488 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.6553, allocations: 247.3 kB / 0.5115 GB, free: 7.191 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.6553, allocations: 42.5 kB / 0.5116 GB, free: 7.141 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 2.936e-06/0.6553, allocations: 0 / 0.5116 GB, free: 7.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.003205/0.6585, allocations: 1.18 MB / 0.5127 GB, free: 5.859 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.6586, allocations: 55.41 kB / 0.5128 GB, free: 5.793 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/0.6593, allocations: 339.1 kB / 0.5131 GB, free: 5.457 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.6594, allocations: 41.64 kB / 0.5131 GB, free: 5.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.6597, allocations: 0.4928 MB / 0.5136 GB, free: 4.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.6599, allocations: 138.1 kB / 0.5137 GB, free: 4.773 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.66, allocations: 12 kB / 0.5137 GB, free: 4.762 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6601, allocations: 334.8 kB / 0.5141 GB, free: 4.426 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.6604, allocations: 101.1 kB / 0.5142 GB, free: 4.324 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.6609, allocations: 289.2 kB / 0.5144 GB, free: 3.961 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.6613, allocations: 163.4 kB / 0.5146 GB, free: 3.801 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6613, allocations: 4 kB / 0.5146 GB, free: 3.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001093/0.6624, allocations: 449.6 kB / 0.515 GB, free: 3.348 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.6625, allocations: 8 kB / 0.515 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.6625, allocations: 4 kB / 0.515 GB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.6628, allocations: 49.52 kB / 0.5151 GB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.6636, allocations: 131.8 kB / 0.5152 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005127/0.6642, allocations: 0.5524 MB / 0.5157 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.6646, allocations: 20 kB / 0.5158 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.6647, allocations: 35.98 kB / 0.5158 GB, free: 2.523 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.6648, allocations: 132.8 kB / 0.5159 GB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.665, allocations: 59.36 kB / 0.516 GB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009099/0.6659, allocations: 319.2 kB / 0.5163 GB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.6659, allocations: 4 kB / 0.5163 GB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6659, allocations: 0 / 0.5163 GB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.6659, allocations: 3.938 kB / 0.5163 GB, free: 2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.6683, allocations: 1.04 MB / 0.5173 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.6683, allocations: 0 / 0.5173 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/0.6691, allocations: 83.89 kB / 0.5174 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.6693, allocations: 28.84 kB / 0.5174 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.6694, allocations: 16.16 kB / 0.5174 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004653/0.6699, allocations: 0.5485 MB / 0.518 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6699, allocations: 0 / 0.518 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.6711, allocations: 0.5949 MB / 0.5186 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.6713, allocations: 124.4 kB / 0.5187 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.6714, allocations: 12 kB / 0.5187 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.6717, allocations: 8 kB / 0.5187 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.6718, allocations: 28 kB / 0.5187 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.6719, allocations: 15.98 kB / 0.5187 GB, free: 15.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004511/0.6723, allocations: 261.2 kB / 0.519 GB, free: 15.06 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6723, allocations: 0 / 0.519 GB, free: 15.06 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008315/0.6732, allocations: 135.9 kB / 0.5191 GB, free: 14.93 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/0.6749, allocations: 1.501 MB / 0.5206 GB, free: 13.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000892/0.6758, allocations: 298.2 kB / 0.5209 GB, free: 13.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6758, allocations: 0 / 0.5209 GB, free: 13.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.6762, allocations: 132 kB / 0.521 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006815/0.6769, allocations: 69.53 kB / 0.5211 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.6811, allocations: 1.523 MB / 0.5225 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.6819, allocations: 0.9756 MB / 0.5235 GB, free: 10.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/0.6825, allocations: 295.3 kB / 0.5238 GB, free: 10 MB / 458.7 MB Notification: Performance of SimCode: time 2.054e-06/0.6825, allocations: 4 kB / 0.5238 GB, free: 9.996 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.275/3.957, allocations: 14.14 MB / 0.5376 GB, free: 119 MB / 458.7 MB