Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.635e-05/4.64e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4042, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.564, allocations: 85.73 MB / 494.6 MB, free: 4.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.5643, allocations: 63.95 kB / 494.7 MB, free: 4.758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008295/0.5726, allocations: 2.075 MB / 496.8 MB, free: 2.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5727, allocations: 0 / 496.8 MB, free: 2.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.5727, allocations: 0 / 496.8 MB, free: 2.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005116/0.5732, allocations: 382.4 kB / 497.2 MB, free: 2.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5733, allocations: 12.03 kB / 497.2 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.5734, allocations: 46.55 kB / 497.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.5734, allocations: 7.906 kB / 497.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.5736, allocations: 174.9 kB / 497.4 MB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.5736, allocations: 8.234 kB / 497.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.5737, allocations: 19.95 kB / 497.4 MB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.574, allocations: 125.5 kB / 497.5 MB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.574, allocations: 0 / 497.5 MB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.5741, allocations: 11.94 kB / 497.6 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5741, allocations: 0 / 497.6 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.5742, allocations: 55.92 kB / 497.6 MB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.5753, allocations: 0.5372 MB / 498.1 MB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.5755, allocations: 81.08 kB / 498.2 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.5756, allocations: 33.67 kB / 498.3 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.5756, allocations: 4 kB / 498.3 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.5757, allocations: 38.73 kB / 498.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.5757, allocations: 0 / 498.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000458/0.5761, allocations: 99.39 kB / 498.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.5762, allocations: 77.11 kB / 498.5 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.5763, allocations: 116.9 kB / 498.6 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.5764, allocations: 29.7 kB / 498.6 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.5765, allocations: 193.9 kB / 498.8 MB, free: 420 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.5766, allocations: 35.55 kB / 498.8 MB, free: 384 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.5766, allocations: 0 / 498.8 MB, free: 384 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5767, allocations: 322.8 kB / 499.2 MB, free: 52 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.5768, allocations: 20 kB / 499.2 MB, free: 32 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.5769, allocations: 88.59 kB / 499.3 MB, free: 15.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.577, allocations: 44 kB / 499.3 MB, free: 15.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5771, allocations: 0 / 499.3 MB, free: 15.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004008/0.5775, allocations: 151.1 kB / 499.5 MB, free: 15.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5775, allocations: 8 kB / 499.5 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.5775, allocations: 4 kB / 499.5 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.5778, allocations: 37.95 kB / 499.5 MB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.5779, allocations: 23.98 kB / 499.5 MB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.5803, allocations: 2.528 MB / 0.4903 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.5805, allocations: 16.16 kB / 0.4903 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.5805, allocations: 4.094 kB / 0.4903 GB, free: 12.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.5806, allocations: 116.9 kB / 0.4904 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.5807, allocations: 11.89 kB / 0.4904 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.5808, allocations: 12.03 kB / 0.4904 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5808, allocations: 3.953 kB / 0.4904 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5808, allocations: 0 / 0.4904 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5808, allocations: 0 / 0.4904 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.5812, allocations: 209.5 kB / 0.4906 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5812, allocations: 0 / 0.4906 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.5814, allocations: 15.94 kB / 0.4907 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.5816, allocations: 33.7 kB / 0.4907 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5816, allocations: 0 / 0.4907 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.5839, allocations: 2.54 MB / 0.4932 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5839, allocations: 3.938 kB / 0.4932 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.5844, allocations: 314.2 kB / 0.4935 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.5845, allocations: 85.02 kB / 0.4936 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.5845, allocations: 12.03 kB / 0.4936 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.5847, allocations: 0 / 0.4936 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.5847, allocations: 4 kB / 0.4936 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.5848, allocations: 0 / 0.4936 GB, free: 9.086 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.411e-05/0.5848, allocations: 99.7 kB / 0.4937 GB, free: 8.988 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5849, allocations: 3.938 kB / 0.4937 GB, free: 8.984 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005202/0.5854, allocations: 40.19 kB / 0.4937 GB, free: 8.945 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007973/0.5862, allocations: 0.9169 MB / 0.4946 GB, free: 7.992 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005387/0.5868, allocations: 283.3 kB / 0.4949 GB, free: 7.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5868, allocations: 0 / 0.4949 GB, free: 7.695 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.5871, allocations: 235.6 kB / 0.4951 GB, free: 7.445 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.5876, allocations: 36.38 kB / 0.4951 GB, free: 7.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.5889, allocations: 474.3 kB / 0.4956 GB, free: 6.906 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.5893, allocations: 0.7161 MB / 0.4963 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.5894, allocations: 31.42 kB / 0.4963 GB, free: 6.133 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5894, allocations: 4 kB / 0.4963 GB, free: 6.129 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.657/3.247, allocations: 2.879 MB / 0.4991 GB, free: 3.25 MB / 426.7 MB