Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.424/3.424, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.565e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.499, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2644/0.7634, allocations: 98.24 MB / 452.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/0.7638, allocations: 75.95 kB / 452.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7149/1.479, allocations: 53.32 MB / 0.4942 GB, free: 71.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.479, allocations: 192 / 0.4942 GB, free: 71.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001386/1.479, allocations: 59.38 kB / 0.4942 GB, free: 71.26 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.00797/1.487, allocations: 2.366 MB / 0.4966 GB, free: 68.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.487, allocations: 8.031 kB / 0.4966 GB, free: 68.83 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001197/1.488, allocations: 360.8 kB / 0.4969 GB, free: 68.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004454/1.493, allocations: 483.8 kB / 0.4974 GB, free: 67.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/1.498, allocations: 1.512 MB / 0.4988 GB, free: 66.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/1.498, allocations: 121.8 kB / 0.499 GB, free: 66.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007885/1.499, allocations: 164 kB / 0.4991 GB, free: 66.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009447/1.509, allocations: 3.382 MB / 0.5024 GB, free: 62.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/1.521, allocations: 4.63 MB / 0.5069 GB, free: 57.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/1.521, allocations: 15.88 kB / 0.507 GB, free: 57.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005229/1.522, allocations: 8 kB / 0.507 GB, free: 57.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/1.523, allocations: 480.8 kB / 0.5074 GB, free: 57.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03823/1.562, allocations: 18.21 MB / 0.5252 GB, free: 38.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/1.564, allocations: 0.6623 MB / 0.5259 GB, free: 38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/1.565, allocations: 303.3 kB / 0.5261 GB, free: 37.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002325/1.567, allocations: 1.742 MB / 0.5278 GB, free: 35.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.567, allocations: 39.12 kB / 0.5279 GB, free: 35.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 4.669e-06/1.567, allocations: 0 / 0.5279 GB, free: 35.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.01998/1.587, allocations: 3.327 MB / 0.5311 GB, free: 32.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.587, allocations: 89.89 kB / 0.5312 GB, free: 32.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/1.59, allocations: 1.353 MB / 0.5325 GB, free: 30.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.59, allocations: 25.7 kB / 0.5326 GB, free: 30.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/1.592, allocations: 1.698 MB / 0.5342 GB, free: 29.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/1.592, allocations: 335.5 kB / 0.5345 GB, free: 28.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/1.592, allocations: 0 / 0.5345 GB, free: 28.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002974/1.593, allocations: 472.5 kB / 0.535 GB, free: 28.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/1.594, allocations: 0.6693 MB / 0.5356 GB, free: 27.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/1.597, allocations: 2.229 MB / 0.5378 GB, free: 24.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/1.6, allocations: 1.198 MB / 0.539 GB, free: 23.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.225e-05/1.6, allocations: 19.94 kB / 0.539 GB, free: 23.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.00733/1.608, allocations: 2.61 MB / 0.5416 GB, free: 20.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/1.608, allocations: 28 kB / 0.5416 GB, free: 20.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.415e-05/1.608, allocations: 56.84 kB / 0.5416 GB, free: 20.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/1.608, allocations: 84 kB / 0.5417 GB, free: 20.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004976/1.613, allocations: 0.6433 MB / 0.5423 GB, free: 19.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001066/1.613, allocations: 111.6 kB / 0.5425 GB, free: 19.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/1.616, allocations: 75.67 kB / 0.5425 GB, free: 19.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/1.616, allocations: 164 kB / 0.5427 GB, free: 19.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (356): * Single equations (assignments): 356 * 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.0005241/1.617, allocations: 266.7 kB / 0.5429 GB, free: 19.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/1.617, allocations: 150.1 kB / 0.5431 GB, free: 19.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/1.62, allocations: 0.9431 MB / 0.544 GB, free: 18.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/1.62, allocations: 8 kB / 0.544 GB, free: 18.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.62, allocations: 4.031 kB / 0.544 GB, free: 18.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/1.62, allocations: 7.984 kB / 0.544 GB, free: 18.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.633, allocations: 4.536 MB / 0.5484 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/1.633, allocations: 16 kB / 0.5485 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/1.634, allocations: 167.7 kB / 0.5486 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-05/1.634, allocations: 27.98 kB / 0.5486 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.748e-05/1.635, allocations: 20 kB / 0.5487 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-05/1.635, allocations: 32.33 kB / 0.5487 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-05/1.635, allocations: 31.88 kB / 0.5487 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/1.637, allocations: 2.351 MB / 0.551 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/1.638, allocations: 235.2 kB / 0.5512 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/1.638, allocations: 27.98 kB / 0.5513 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.64, allocations: 27.98 kB / 0.5513 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/1.64, allocations: 103.5 kB / 0.5514 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/1.64, allocations: 44 kB / 0.5514 GB, free: 9.492 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00227/1.642, allocations: 0.9006 MB / 0.5523 GB, free: 8.594 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.642, allocations: 4 kB / 0.5523 GB, free: 8.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004175/1.647, allocations: 423.9 kB / 0.5527 GB, free: 8.176 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.004123/1.651, allocations: 7.628 MB / 0.5602 GB, free: 32 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004927/1.656, allocations: 1.513 MB / 0.5617 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/1.656, allocations: 4 kB / 0.5617 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/1.657, allocations: 367.6 kB / 0.562 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/1.659, allocations: 182.4 kB / 0.5622 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/1.678, allocations: 4.632 MB / 0.5667 GB, free: 9.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005217/1.683, allocations: 2.207 MB / 0.5689 GB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004578/1.688, allocations: 0.6584 MB / 0.5695 GB, free: 6.176 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003192/1.691, allocations: 1.011 MB / 0.5705 GB, free: 5.164 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/1.691, allocations: 3.938 kB / 0.5705 GB, free: 5.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/1.83, allocations: 32.31 MB / 0.6021 GB, free: 4.891 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002616/1.831, allocations: 136.1 kB / 0.6022 GB, free: 4.695 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.5/6.33, allocations: 0 / 0.6022 GB, free: 4.695 MB / 442.7 MB