Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.214/3.214, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.289e-05/4.31e-05, allocations: 7.984 kB / 299.6 MB, free: 184 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5302/0.5303, allocations: 54.85 MB / 354.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/0.7588, allocations: 96.47 MB / 450.9 MB, free: 14.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.7592, allocations: 75.95 kB / 451 MB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6437/1.403, allocations: 32.65 MB / 483.6 MB, free: 92.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.526e-06/1.403, allocations: 0 / 483.6 MB, free: 92.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001609/1.403, allocations: 30.16 kB / 483.6 MB, free: 92.62 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.007713/1.411, allocations: 1.657 MB / 485.3 MB, free: 91.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/1.411, allocations: 10.84 kB / 485.3 MB, free: 91.43 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008963/1.412, allocations: 185.8 kB / 485.5 MB, free: 91.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00526/1.417, allocations: 404.9 kB / 485.9 MB, free: 90.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01687/1.434, allocations: 2.903 MB / 488.8 MB, free: 88.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.434, allocations: 62.83 kB / 488.9 MB, free: 88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005199/1.435, allocations: 80 kB / 488.9 MB, free: 87.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005819/1.441, allocations: 1.709 MB / 490.6 MB, free: 86.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007493/1.448, allocations: 2.434 MB / 493.1 MB, free: 83.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/1.448, allocations: 19.84 kB / 493.1 MB, free: 83.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/1.449, allocations: 7.938 kB / 493.1 MB, free: 83.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001069/1.45, allocations: 258.1 kB / 493.4 MB, free: 83.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02573/1.476, allocations: 11.62 MB / 0.4931 GB, free: 71.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/1.477, allocations: 482.8 kB / 0.4936 GB, free: 70.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000893/1.478, allocations: 313.5 kB / 0.4939 GB, free: 70.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/1.479, allocations: 335 kB / 0.4942 GB, free: 70.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/1.479, allocations: 34.56 kB / 0.4942 GB, free: 70.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 5.17e-06/1.479, allocations: 0 / 0.4942 GB, free: 70.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.01919/1.498, allocations: 2.895 MB / 0.4971 GB, free: 67.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/1.498, allocations: 107.2 kB / 0.4972 GB, free: 66.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/1.5, allocations: 0.9216 MB / 0.4981 GB, free: 66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/1.5, allocations: 25.7 kB / 0.4981 GB, free: 65.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008768/1.501, allocations: 0.9198 MB / 0.499 GB, free: 65.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/1.501, allocations: 189.4 kB / 0.4992 GB, free: 64.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/1.502, allocations: 4.031 kB / 0.4992 GB, free: 64.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002412/1.502, allocations: 430.7 kB / 0.4996 GB, free: 64.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/1.503, allocations: 335.9 kB / 0.4999 GB, free: 64.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/1.505, allocations: 1.152 MB / 0.501 GB, free: 62.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/1.506, allocations: 0.6104 MB / 0.5016 GB, free: 61.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.632e-05/1.506, allocations: 12 kB / 0.5016 GB, free: 61.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004601/1.511, allocations: 1.405 MB / 0.503 GB, free: 60.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/1.511, allocations: 19.95 kB / 0.503 GB, free: 60.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.7e-05/1.511, allocations: 32 kB / 0.5031 GB, free: 60.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004048/1.512, allocations: 92.81 kB / 0.5032 GB, free: 60.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/1.515, allocations: 343.9 kB / 0.5035 GB, free: 60 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/1.517, allocations: 1.638 MB / 0.5051 GB, free: 58.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/1.519, allocations: 47.81 kB / 0.5051 GB, free: 58.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/1.519, allocations: 84 kB / 0.5052 GB, free: 58.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (182): * Single equations (assignments): 181 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003849/1.52, allocations: 194.5 kB / 0.5054 GB, free: 57.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/1.52, allocations: 102.7 kB / 0.5055 GB, free: 57.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/1.522, allocations: 0.6168 MB / 0.5061 GB, free: 57.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.522, allocations: 11.95 kB / 0.5061 GB, free: 57.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.522, allocations: 0 / 0.5061 GB, free: 57.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.522, allocations: 7.922 kB / 0.5061 GB, free: 57.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00564/1.528, allocations: 1.846 MB / 0.5079 GB, free: 55.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.528, allocations: 4.469 kB / 0.5079 GB, free: 55.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.529, allocations: 99.81 kB / 0.508 GB, free: 55.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/1.53, allocations: 60.83 kB / 0.5081 GB, free: 55.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/1.53, allocations: 4 kB / 0.5081 GB, free: 55.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/1.532, allocations: 1.662 MB / 0.5097 GB, free: 53.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/1.532, allocations: 4 kB / 0.5097 GB, free: 53.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/1.535, allocations: 1.148 MB / 0.5108 GB, free: 52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006598/1.536, allocations: 207.8 kB / 0.511 GB, free: 51.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/1.536, allocations: 12.05 kB / 0.511 GB, free: 51.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/1.537, allocations: 15.98 kB / 0.5111 GB, free: 51.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.537, allocations: 51.91 kB / 0.5111 GB, free: 51.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/1.537, allocations: 20 kB / 0.5111 GB, free: 51.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001685/1.539, allocations: 0.6323 MB / 0.5117 GB, free: 51.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.539, allocations: 0 / 0.5117 GB, free: 51.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002825/1.542, allocations: 260 kB / 0.512 GB, free: 50.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003322/1.545, allocations: 2.744 MB / 0.5147 GB, free: 47.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002842/1.548, allocations: 0.921 MB / 0.5156 GB, free: 46.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.548, allocations: 4.312 kB / 0.5156 GB, free: 46.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009176/1.549, allocations: 357.2 kB / 0.5159 GB, free: 46.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/1.551, allocations: 137.4 kB / 0.516 GB, free: 46.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009015/1.56, allocations: 2.433 MB / 0.5184 GB, free: 43.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/1.562, allocations: 1.461 MB / 0.5198 GB, free: 42.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002567/1.564, allocations: 393 kB / 0.5202 GB, free: 42.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/1.566, allocations: 0.5462 MB / 0.5208 GB, free: 41.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.774e-06/1.566, allocations: 4 kB / 0.5208 GB, free: 41.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/1.686, allocations: 20.48 MB / 0.5408 GB, free: 21.1 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003437/1.686, allocations: 138.2 kB / 0.5409 GB, free: 20.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.015/5.701, allocations: 4 kB / 0.5409 GB, free: 20.9 MB / 394.7 MB