Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.647/2.647, allocations: 270 MB / 283.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.868e-05, allocations: 4 kB / 348.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4414, allocations: 61.87 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2579/0.6994, allocations: 107.6 MB / 0.5059 GB, free: 14.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.6997, allocations: 75.95 kB / 0.5059 GB, free: 14.72 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8057/1.505, allocations: 115.7 MB / 0.6189 GB, free: 21.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.474e-06/1.506, allocations: 0 / 0.6189 GB, free: 21.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002565/1.506, allocations: 95.98 kB / 0.619 GB, free: 21.31 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.01648/1.522, allocations: 4.295 MB / 0.6232 GB, free: 16.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.522, allocations: 12.03 kB / 0.6232 GB, free: 16.94 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00458/1.527, allocations: 0.9232 MB / 0.6241 GB, free: 16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02684/1.554, allocations: 3.62 MB / 0.6277 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.571, allocations: 4.608 MB / 0.6322 GB, free: 7.711 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004536/1.572, allocations: 365.4 kB / 0.6325 GB, free: 7.352 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003203/1.575, allocations: 475.8 kB / 0.633 GB, free: 6.887 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03782/1.613, allocations: 11.68 MB / 0.6444 GB, free: 10.67 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00031/1.613, allocations: 35.66 kB / 0.6444 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002815/1.616, allocations: 215.8 kB / 0.6446 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003458/1.619, allocations: 1.322 MB / 0.6459 GB, free: 9.102 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03518/1.655, allocations: 10.86 MB / 0.6565 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09645/1.751, allocations: 41.16 MB / 0.6967 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01639/1.768, allocations: 4.646 MB / 0.7012 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005883/1.774, allocations: 2.404 MB / 0.7036 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/1.776, allocations: 1.327 MB / 0.7049 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.189e-05/1.776, allocations: 56.5 kB / 0.7049 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 7.103e-06/1.776, allocations: 0 / 0.7049 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.4462/2.222, allocations: 15.49 MB / 0.7201 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/2.222, allocations: 73.69 kB / 0.7201 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007322/2.229, allocations: 2.797 MB / 0.7229 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005622/2.23, allocations: 62.83 kB / 0.7229 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002924/2.233, allocations: 3.126 MB / 0.726 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001591/2.235, allocations: 0.97 MB / 0.7269 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008457/2.236, allocations: 117.1 kB / 0.727 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000613/2.236, allocations: 0.5615 MB / 0.7276 GB, free: 120 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005971/2.242, allocations: 2.383 MB / 0.7299 GB, free: 120 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/2.253, allocations: 5.597 MB / 0.7354 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/2.264, allocations: 3.708 MB / 0.739 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001817/2.264, allocations: 32.5 kB / 0.739 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.03385/2.298, allocations: 8.516 MB / 0.7473 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/2.298, allocations: 53.03 kB / 0.7474 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002441/2.299, allocations: 112 kB / 0.7475 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007379/2.306, allocations: 1.061 MB / 0.7485 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01127/2.317, allocations: 1.343 MB / 0.7499 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/2.329, allocations: 5.073 MB / 0.7548 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006398/2.335, allocations: 314.3 kB / 0.7551 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/2.336, allocations: 343.2 kB / 0.7554 GB, free: 113.9 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.001559/2.338, allocations: 0.5486 MB / 0.756 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008804/2.339, allocations: 313.9 kB / 0.7563 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/2.353, allocations: 5.3 MB / 0.7614 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.872e-05/2.354, allocations: 50.27 kB / 0.7615 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/2.354, allocations: 3.375 kB / 0.7615 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.996e-05/2.354, allocations: 14.19 kB / 0.7615 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03401/2.388, allocations: 13 MB / 0.7742 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-05/2.388, allocations: 9.75 kB / 0.7742 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003494/2.391, allocations: 420.3 kB / 0.7746 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004774/2.396, allocations: 0.8849 MB / 0.7755 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003659/2.396, allocations: 65.94 kB / 0.7755 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009098/2.406, allocations: 4.415 MB / 0.7799 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/2.406, allocations: 20.91 kB / 0.7799 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/2.424, allocations: 8.957 MB / 0.7886 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/2.425, allocations: 360.5 kB / 0.789 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008359/2.426, allocations: 60.91 kB / 0.789 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/2.428, allocations: 141.7 kB / 0.7892 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005194/2.429, allocations: 168.8 kB / 0.7893 GB, free: 99.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/2.429, allocations: 79.12 kB / 0.7894 GB, free: 99.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004139/2.433, allocations: 1.911 MB / 0.7913 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.743e-06/2.433, allocations: 0 / 0.7913 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007195/2.441, allocations: 1.09 MB / 0.7923 GB, free: 97.07 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.01981/2.46, allocations: 12.46 MB / 0.8045 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01254/2.473, allocations: 5.684 MB / 0.81 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.97e-05/2.473, allocations: 0 / 0.81 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005411/2.479, allocations: 2.188 MB / 0.8122 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/2.482, allocations: 406.2 kB / 0.8126 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03113/2.513, allocations: 11.07 MB / 0.8234 GB, free: 68.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006963/2.52, allocations: 3.807 MB / 0.8271 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008456/2.529, allocations: 2.153 MB / 0.8292 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00475/2.534, allocations: 2.115 MB / 0.8313 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.613e-06/2.534, allocations: 0 / 0.8313 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1935/2.727, allocations: 77.01 MB / 0.9065 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003116/2.728, allocations: 163.8 kB / 0.9066 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.069/7.797, allocations: 0 / 0.9066 GB, free: 6.332 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat