Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.98/2.98, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.067e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4216, allocations: 54.86 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2181/0.6397, allocations: 99.51 MB / 453.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/0.6401, allocations: 79.95 kB / 454 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8032/1.443, allocations: 70.68 MB / 0.5124 GB, free: 53.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.955e-06/1.443, allocations: 0 / 0.5124 GB, free: 53.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002615/1.444, allocations: 67.98 kB / 0.5125 GB, free: 53.03 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01574/1.459, allocations: 3.346 MB / 0.5157 GB, free: 49.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/1.46, allocations: 12.03 kB / 0.5157 GB, free: 49.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003141/1.463, allocations: 0.4944 MB / 0.5162 GB, free: 49.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02185/1.485, allocations: 2.082 MB / 0.5182 GB, free: 47.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02039/1.505, allocations: 4.065 MB / 0.5222 GB, free: 42.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/1.505, allocations: 143.2 kB / 0.5224 GB, free: 42.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002335/1.508, allocations: 207.9 kB / 0.5226 GB, free: 42.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01638/1.524, allocations: 5.038 MB / 0.5275 GB, free: 37.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02497/1.549, allocations: 7.939 MB / 0.5352 GB, free: 28.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000312/1.55, allocations: 63.39 kB / 0.5353 GB, free: 28.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00213/1.552, allocations: 32 kB / 0.5353 GB, free: 28.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/1.554, allocations: 0.8605 MB / 0.5362 GB, free: 27.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07682/1.631, allocations: 40.96 MB / 0.5762 GB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006769/1.638, allocations: 2.478 MB / 0.5786 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.642, allocations: 1.369 MB / 0.5799 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007363/1.643, allocations: 327.8 kB / 0.5802 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.163e-05/1.643, allocations: 47.27 kB / 0.5803 GB, free: 12.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 6.562e-06/1.643, allocations: 0 / 0.5803 GB, free: 12.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=130): time 0.0552/1.699, allocations: 11.26 MB / 0.5913 GB, free: 1.523 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/1.699, allocations: 196.5 kB / 0.5915 GB, free: 1.285 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/1.709, allocations: 2.793 MB / 0.5942 GB, free: 14.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004359/1.709, allocations: 25.7 kB / 0.5942 GB, free: 14.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004411/1.714, allocations: 2.772 MB / 0.5969 GB, free: 11.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001369/1.715, allocations: 0.5092 MB / 0.5974 GB, free: 11.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008864/1.716, allocations: 0 / 0.5974 GB, free: 11.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008473/1.717, allocations: 0.5335 MB / 0.5979 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006522/1.724, allocations: 1.596 MB / 0.5995 GB, free: 8.984 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/1.734, allocations: 5.092 MB / 0.6045 GB, free: 2.102 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009622/1.744, allocations: 2.845 MB / 0.6072 GB, free: 15.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001768/1.744, allocations: 36 kB / 0.6073 GB, free: 15.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02515/1.77, allocations: 6.004 MB / 0.6131 GB, free: 9.203 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00016/1.77, allocations: 56 kB / 0.6132 GB, free: 9.148 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002828/1.77, allocations: 128.3 kB / 0.6133 GB, free: 9.023 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/1.772, allocations: 349.3 kB / 0.6136 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01173/1.784, allocations: 1.329 MB / 0.6149 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00489/1.789, allocations: 2.254 MB / 0.6171 GB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007508/1.796, allocations: 183.5 kB / 0.6173 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/1.798, allocations: 348 kB / 0.6177 GB, free: 4.457 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 682 * 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.002473/1.801, allocations: 425 kB / 0.6181 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.802, allocations: 284.3 kB / 0.6183 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.813, allocations: 2.247 MB / 0.6205 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.116e-05/1.813, allocations: 16 kB / 0.6205 GB, free: 1.465 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/1.813, allocations: 4 kB / 0.6205 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.777e-05/1.813, allocations: 3.984 kB / 0.6205 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4415/2.255, allocations: 5.593 MB / 0.626 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/2.255, allocations: 5.344 kB / 0.626 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/2.257, allocations: 177 kB / 0.6262 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/2.262, allocations: 0.7105 MB / 0.6269 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003667/2.263, allocations: 10.52 kB / 0.6269 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/2.273, allocations: 4.282 MB / 0.6311 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/2.273, allocations: 6.812 kB / 0.6311 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/2.287, allocations: 4.399 MB / 0.6354 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/2.289, allocations: 0.4986 MB / 0.6359 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/2.29, allocations: 15.89 kB / 0.6359 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003046/2.294, allocations: 52.95 kB / 0.6359 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006045/2.294, allocations: 63.92 kB / 0.636 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/2.294, allocations: 37.62 kB / 0.636 GB, free: 110.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005716/2.3, allocations: 1.851 MB / 0.6378 GB, free: 110 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.42e-07/2.3, allocations: 0 / 0.6378 GB, free: 110 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00747/2.308, allocations: 0.6987 MB / 0.6385 GB, free: 110 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (97): * Single equations (assignments): 93 * 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.01397/2.322, allocations: 5.376 MB / 0.6438 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009939/2.332, allocations: 3.75 MB / 0.6474 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/2.332, allocations: 3.406 kB / 0.6474 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002766/2.335, allocations: 1.08 MB / 0.6485 GB, free: 108.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/2.338, allocations: 290.2 kB / 0.6488 GB, free: 108.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/2.365, allocations: 6.827 MB / 0.6554 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006797/2.372, allocations: 2.835 MB / 0.6582 GB, free: 104.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009457/2.382, allocations: 1.716 MB / 0.6599 GB, free: 104.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004348/2.386, allocations: 1.506 MB / 0.6613 GB, free: 103.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.395e-06/2.386, allocations: 0 / 0.6613 GB, free: 103.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2886/2.675, allocations: 60.51 MB / 0.7204 GB, free: 57.36 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002241/2.675, allocations: 170.2 kB / 0.7206 GB, free: 57.15 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.345/9.02, allocations: 0 / 0.7206 GB, free: 57.15 MB / 458.7 MB