Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.912e-05/4.925e-05, allocations: 4 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 61.86 MB / 408.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.5954, allocations: 106.3 MB / 0.5032 GB, free: 376 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.5957, allocations: 71.97 kB / 0.5032 GB, free: 304 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4826/1.078, allocations: 34.93 MB / 0.5374 GB, free: 102.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.078, allocations: 0 / 0.5374 GB, free: 102.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001117/1.079, allocations: 32.72 kB / 0.5374 GB, free: 102.8 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.005716/1.084, allocations: 1.687 MB / 0.539 GB, free: 101.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.084, allocations: 8.562 kB / 0.539 GB, free: 101.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008046/1.085, allocations: 259.8 kB / 0.5393 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/1.089, allocations: 407 kB / 0.5397 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/1.1, allocations: 2.798 MB / 0.5424 GB, free: 99.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.1, allocations: 114.8 kB / 0.5425 GB, free: 98.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004647/1.1, allocations: 143.8 kB / 0.5427 GB, free: 98.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00922/1.109, allocations: 2.998 MB / 0.5456 GB, free: 95.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.545e-05/1.11, allocations: 11.84 kB / 0.5456 GB, free: 95.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/1.11, allocations: 67.83 kB / 0.5457 GB, free: 95.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007162/1.111, allocations: 282.1 kB / 0.5459 GB, free: 95.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00846/1.119, allocations: 2.143 MB / 0.548 GB, free: 93.08 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/1.138, allocations: 11.56 MB / 0.5593 GB, free: 81.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006556/1.144, allocations: 1.179 MB / 0.5605 GB, free: 80.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008235/1.145, allocations: 396.5 kB / 0.5608 GB, free: 79.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005378/1.151, allocations: 3.023 MB / 0.5638 GB, free: 76.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/1.151, allocations: 39 kB / 0.5638 GB, free: 76.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 4.078e-06/1.151, allocations: 4 kB / 0.5638 GB, free: 76.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.018/1.169, allocations: 3.335 MB / 0.5671 GB, free: 72.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.169, allocations: 89.67 kB / 0.5672 GB, free: 72.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/1.171, allocations: 1.049 MB / 0.5682 GB, free: 71.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/1.171, allocations: 37.7 kB / 0.5682 GB, free: 71.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006109/1.172, allocations: 0.9531 MB / 0.5692 GB, free: 70.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/1.172, allocations: 213 kB / 0.5694 GB, free: 70.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/1.172, allocations: 28 kB / 0.5694 GB, free: 70.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/1.172, allocations: 378.8 kB / 0.5698 GB, free: 70.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008421/1.173, allocations: 391.9 kB / 0.5701 GB, free: 69.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/1.174, allocations: 1.229 MB / 0.5713 GB, free: 68.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.175, allocations: 0.6727 MB / 0.572 GB, free: 67.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/1.176, allocations: 12 kB / 0.572 GB, free: 67.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003321/1.179, allocations: 1.54 MB / 0.5735 GB, free: 65.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/1.179, allocations: 16 kB / 0.5735 GB, free: 65.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/1.179, allocations: 32 kB / 0.5736 GB, free: 65.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/1.179, allocations: 85.48 kB / 0.5736 GB, free: 65.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/1.181, allocations: 367.3 kB / 0.574 GB, free: 65.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/1.183, allocations: 1.697 MB / 0.5756 GB, free: 63.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.185, allocations: 76.06 kB / 0.5757 GB, free: 63.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/1.185, allocations: 84 kB / 0.5758 GB, free: 63.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (192): * Single equations (assignments): 191 * 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.0003131/1.185, allocations: 239.3 kB / 0.576 GB, free: 63.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/1.186, allocations: 126.6 kB / 0.5761 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.187, allocations: 0.6873 MB / 0.5768 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.187, allocations: 4 kB / 0.5768 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.187, allocations: 4 kB / 0.5768 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/1.187, allocations: 3.984 kB / 0.5768 GB, free: 62.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/1.192, allocations: 2.246 MB / 0.579 GB, free: 60 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.193, allocations: 8.031 kB / 0.579 GB, free: 59.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/1.193, allocations: 95.89 kB / 0.5791 GB, free: 59.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/1.194, allocations: 60.83 kB / 0.5792 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/1.194, allocations: 19.98 kB / 0.5792 GB, free: 59.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/1.195, allocations: 1.733 MB / 0.5809 GB, free: 57.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.196, allocations: 7.953 kB / 0.5809 GB, free: 57.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/1.198, allocations: 1.277 MB / 0.5821 GB, free: 56.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/1.198, allocations: 191.6 kB / 0.5823 GB, free: 56.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/1.198, allocations: 12 kB / 0.5823 GB, free: 56.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/1.199, allocations: 27.98 kB / 0.5824 GB, free: 56.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/1.199, allocations: 55.89 kB / 0.5824 GB, free: 56.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/1.199, allocations: 20 kB / 0.5824 GB, free: 56.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00143/1.2, allocations: 0.7456 MB / 0.5832 GB, free: 55.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.2, allocations: 0 / 0.5832 GB, free: 55.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001982/1.202, allocations: 311.9 kB / 0.5835 GB, free: 55.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * 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.002508/1.205, allocations: 2.951 MB / 0.5863 GB, free: 52.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002409/1.207, allocations: 1.01 MB / 0.5873 GB, free: 51.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/1.207, allocations: 0 / 0.5873 GB, free: 51.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007888/1.208, allocations: 374.7 kB / 0.5877 GB, free: 50.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.21, allocations: 179.3 kB / 0.5879 GB, free: 50.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00788/1.218, allocations: 2.747 MB / 0.5905 GB, free: 47.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/1.219, allocations: 1.486 MB / 0.592 GB, free: 46.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.221, allocations: 0.5774 MB / 0.5926 GB, free: 45.55 MB / 442.7 MB Notification: Performance of SimCode: time 1.663e-06/1.221, allocations: 0 / 0.5926 GB, free: 45.55 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.297/4.518, allocations: 29.25 MB / 0.6211 GB, free: 16.31 MB / 442.7 MB