Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 270 MB / 282.6 MB, free: 1.816 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.896e-05/3.906e-05, allocations: 4 kB / 347.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4041, allocations: 61.87 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.6064, allocations: 107.6 MB / 0.5045 GB, free: 14.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.6068, allocations: 71.97 kB / 0.5045 GB, free: 14.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8031/1.41, allocations: 115.7 MB / 0.6175 GB, free: 21.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.894e-06/1.41, allocations: 0 / 0.6175 GB, free: 21.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002333/1.41, allocations: 91.98 kB / 0.6176 GB, free: 21.35 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01652/1.427, allocations: 4.307 MB / 0.6218 GB, free: 16.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.427, allocations: 8.031 kB / 0.6218 GB, free: 16.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004395/1.431, allocations: 0.9232 MB / 0.6227 GB, free: 16.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02705/1.458, allocations: 3.616 MB / 0.6262 GB, free: 12.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/1.475, allocations: 4.616 MB / 0.6308 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004596/1.476, allocations: 361.4 kB / 0.6311 GB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002968/1.479, allocations: 475.8 kB / 0.6316 GB, free: 6.914 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03696/1.516, allocations: 11.68 MB / 0.643 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003397/1.516, allocations: 39.66 kB / 0.643 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002812/1.519, allocations: 211.8 kB / 0.6432 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003272/1.522, allocations: 1.326 MB / 0.6445 GB, free: 9.129 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03507/1.558, allocations: 10.85 MB / 0.6551 GB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09347/1.651, allocations: 41.16 MB / 0.6953 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01613/1.667, allocations: 4.657 MB / 0.6998 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005834/1.673, allocations: 2.415 MB / 0.7022 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00184/1.675, allocations: 1.315 MB / 0.7035 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/1.675, allocations: 56.56 kB / 0.7035 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 6.933e-06/1.675, allocations: 3.938 kB / 0.7035 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.4307/2.106, allocations: 15.49 MB / 0.7187 GB, free: 123 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/2.106, allocations: 74.75 kB / 0.7187 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006774/2.113, allocations: 2.8 MB / 0.7215 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005768/2.113, allocations: 66.38 kB / 0.7215 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002813/2.116, allocations: 3.085 MB / 0.7245 GB, free: 121 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001694/2.118, allocations: 0.9777 MB / 0.7255 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007897/2.119, allocations: 115.5 kB / 0.7256 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006026/2.119, allocations: 0.5673 MB / 0.7262 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006288/2.126, allocations: 2.386 MB / 0.7285 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008624/2.134, allocations: 5.595 MB / 0.7339 GB, free: 116 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008265/2.143, allocations: 3.703 MB / 0.7376 GB, free: 116 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/2.143, allocations: 32.16 kB / 0.7376 GB, free: 116 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02432/2.167, allocations: 8.42 MB / 0.7458 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/2.167, allocations: 52.38 kB / 0.7459 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/2.168, allocations: 126.1 kB / 0.746 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00547/2.173, allocations: 1.056 MB / 0.747 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00844/2.182, allocations: 1.345 MB / 0.7483 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/2.192, allocations: 5.081 MB / 0.7533 GB, free: 114 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006268/2.199, allocations: 320.1 kB / 0.7536 GB, free: 114 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/2.2, allocations: 340.4 kB / 0.7539 GB, free: 114 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.color[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 (724): * Single equations (assignments): 717 * Array equations: 6 * 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 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001733/2.202, allocations: 0.5484 MB / 0.7545 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008921/2.203, allocations: 310.3 kB / 0.7548 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/2.217, allocations: 5.304 MB / 0.7599 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001097/2.217, allocations: 45.16 kB / 0.76 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/2.217, allocations: 3.188 kB / 0.76 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.735e-05/2.217, allocations: 14.48 kB / 0.76 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03503/2.253, allocations: 12.99 MB / 0.7727 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/2.253, allocations: 12.59 kB / 0.7727 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003644/2.256, allocations: 422.3 kB / 0.7731 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00494/2.261, allocations: 0.8911 MB / 0.774 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005067/2.262, allocations: 59.62 kB / 0.774 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/2.274, allocations: 4.413 MB / 0.7783 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-05/2.274, allocations: 19.31 kB / 0.7783 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02284/2.296, allocations: 8.967 MB / 0.7871 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/2.298, allocations: 360.5 kB / 0.7874 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000967/2.299, allocations: 58.67 kB / 0.7875 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002817/2.301, allocations: 139.5 kB / 0.7876 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005578/2.302, allocations: 176.4 kB / 0.7878 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/2.302, allocations: 77.67 kB / 0.7879 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004177/2.307, allocations: 1.906 MB / 0.7897 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.453e-06/2.307, allocations: 0 / 0.7897 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007604/2.314, allocations: 1.096 MB / 0.7908 GB, free: 97.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 201 * Array equations: 6 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02034/2.335, allocations: 12.45 MB / 0.803 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01269/2.347, allocations: 5.686 MB / 0.8085 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/2.347, allocations: 0 / 0.8085 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004809/2.352, allocations: 2.191 MB / 0.8107 GB, free: 78.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/2.355, allocations: 399.4 kB / 0.811 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03343/2.389, allocations: 11.6 MB / 0.8224 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007569/2.397, allocations: 3.811 MB / 0.8261 GB, free: 65.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005104/2.402, allocations: 2.161 MB / 0.8282 GB, free: 63.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.402, allocations: 0 / 0.8282 GB, free: 63.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.659/7.061, allocations: 108.2 MB / 0.9339 GB, free: 130.8 MB / 0.5261 GB