Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.323e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3837, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.5795, allocations: 109.4 MB / 0.5062 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.5799, allocations: 79.95 kB / 0.5063 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6238/1.204, allocations: 74.19 MB / 0.5787 GB, free: 62.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.204, allocations: 0 / 0.5787 GB, free: 62.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000229/1.204, allocations: 67.94 kB / 0.5788 GB, free: 62.19 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01193/1.216, allocations: 3.385 MB / 0.5821 GB, free: 58.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.216, allocations: 12.03 kB / 0.5821 GB, free: 58.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002323/1.218, allocations: 0.651 MB / 0.5827 GB, free: 58.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/1.234, allocations: 2.085 MB / 0.5848 GB, free: 55.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/1.249, allocations: 3.94 MB / 0.5886 GB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/1.249, allocations: 266.9 kB / 0.5889 GB, free: 51.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001799/1.251, allocations: 351.8 kB / 0.5892 GB, free: 51.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02254/1.273, allocations: 8.885 MB / 0.5979 GB, free: 41.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/1.273, allocations: 55.47 kB / 0.5979 GB, free: 41.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/1.275, allocations: 179.9 kB / 0.5981 GB, free: 41.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001765/1.276, allocations: 0.8838 MB / 0.599 GB, free: 40.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/1.296, allocations: 7.006 MB / 0.6058 GB, free: 33.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.059/1.355, allocations: 42.95 MB / 0.6478 GB, free: 5.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/1.369, allocations: 3.27 MB / 0.6509 GB, free: 1.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004745/1.374, allocations: 1.435 MB / 0.6523 GB, free: 140 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/1.386, allocations: 4.432 MB / 0.6567 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/1.386, allocations: 55.11 kB / 0.6567 GB, free: 11.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=121): time 5.2e-06/1.386, allocations: 0 / 0.6567 GB, free: 11.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=129): time 0.04152/1.427, allocations: 9.595 MB / 0.6661 GB, free: 1.711 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/1.428, allocations: 163 kB / 0.6663 GB, free: 1.516 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007918/1.435, allocations: 3.294 MB / 0.6695 GB, free: 14.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003589/1.436, allocations: 41.7 kB / 0.6695 GB, free: 14.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002887/1.439, allocations: 2.693 MB / 0.6721 GB, free: 11.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009107/1.44, allocations: 0.517 MB / 0.6726 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006117/1.44, allocations: 112 kB / 0.6728 GB, free: 10.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004775/1.441, allocations: 0.5378 MB / 0.6733 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004456/1.445, allocations: 1.643 MB / 0.6749 GB, free: 8.625 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007647/1.453, allocations: 5.033 MB / 0.6798 GB, free: 1.863 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007017/1.46, allocations: 2.866 MB / 0.6826 GB, free: 15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/1.46, allocations: 40 kB / 0.6826 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01807/1.478, allocations: 6.152 MB / 0.6886 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.478, allocations: 58.03 kB / 0.6887 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001981/1.479, allocations: 131.9 kB / 0.6888 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/1.48, allocations: 336.6 kB / 0.6891 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008352/1.488, allocations: 1.283 MB / 0.6904 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/1.492, allocations: 2.298 MB / 0.6926 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005813/1.498, allocations: 283.6 kB / 0.6929 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001219/1.499, allocations: 328 kB / 0.6932 GB, free: 3.965 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 662 * Array equations: 3 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001399/1.5, allocations: 0.5401 MB / 0.6938 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008232/1.501, allocations: 311.9 kB / 0.6941 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008392/1.51, allocations: 2.346 MB / 0.6963 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/1.51, allocations: 12 kB / 0.6964 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.51, allocations: 4 kB / 0.6964 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/1.51, allocations: 7.984 kB / 0.6964 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/1.531, allocations: 5.919 MB / 0.7021 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/1.531, allocations: 7.922 kB / 0.7022 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.533, allocations: 171.7 kB / 0.7023 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004136/1.537, allocations: 0.7108 MB / 0.703 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002828/1.537, allocations: 27.98 kB / 0.703 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/1.547, allocations: 4.443 MB / 0.7074 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.547, allocations: 3.984 kB / 0.7074 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.559, allocations: 4.424 MB / 0.7117 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.561, allocations: 377 kB / 0.7121 GB, free: 368 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000716/1.561, allocations: 16 kB / 0.7121 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/1.564, allocations: 75.91 kB / 0.7121 GB, free: 276 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/1.564, allocations: 68.64 kB / 0.7122 GB, free: 208 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.564, allocations: 32 kB / 0.7122 GB, free: 176 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.3585/1.923, allocations: 2.28 MB / 0.7145 GB, free: 136 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.473e-06/1.923, allocations: 1.094 kB / 0.7145 GB, free: 136 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006204/1.929, allocations: 0.8313 MB / 0.7153 GB, free: 136 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * 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: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0114/1.94, allocations: 5.344 MB / 0.7205 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008594/1.949, allocations: 3.791 MB / 0.7242 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.949, allocations: 2.938 kB / 0.7242 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/1.951, allocations: 1.076 MB / 0.7253 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/1.954, allocations: 356.8 kB / 0.7256 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/1.977, allocations: 7.423 MB / 0.7328 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004986/1.982, allocations: 2.858 MB / 0.7356 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003479/1.985, allocations: 1.574 MB / 0.7372 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/1.985, allocations: 0 / 0.7372 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.725/5.711, allocations: 82.15 MB / 0.8174 GB, free: 75.73 MB / 0.5105 GB