Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.RelativeSensor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_RelativeSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.326e-05/4.341e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1416, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5555/0.6971, allocations: 113.2 MB / 0.5113 GB, free: 6.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.6975, allocations: 79.95 kB / 0.5113 GB, free: 6.691 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202/1.899, allocations: 241.3 MB / 0.7469 GB, free: 55.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/1.9, allocations: 0 / 0.7469 GB, free: 55.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008612/1.9, allocations: 363.9 kB / 0.7473 GB, free: 55.54 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5720 * Number of variables: 5720 Notification: Performance of Generate backend data structure: time 0.06073/1.961, allocations: 15.18 MB / 0.7621 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.961, allocations: 8.031 kB / 0.7621 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01383/1.975, allocations: 2.959 MB / 0.765 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05637/2.031, allocations: 8.17 MB / 0.773 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04144/2.073, allocations: 11.86 MB / 0.7846 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001532/2.075, allocations: 1.445 MB / 0.786 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008553/2.083, allocations: 1.91 MB / 0.7878 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.997/3.08, allocations: 40.7 MB / 0.8276 GB, free: 61.99 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001598/3.082, allocations: 147.5 kB / 0.8277 GB, free: 61.99 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008025/3.09, allocations: 0.8615 MB / 0.8286 GB, free: 61.99 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005335/3.095, allocations: 2.196 MB / 0.8307 GB, free: 61.95 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1155/3.211, allocations: 31.76 MB / 0.8617 GB, free: 61.88 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2389/3.45, allocations: 142.4 MB / 1.001 GB, free: 1.844 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1314/3.581, allocations: 23.28 MB / 1.024 GB, free: 10.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0145/3.596, allocations: 6.536 MB / 1.03 GB, free: 4.355 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5049/4.101, allocations: 26.52 MB / 1.056 GB, free: 124.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.456e-05/4.101, allocations: 78.33 kB / 1.056 GB, free: 124.6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=336): time 8.516e-06/4.101, allocations: 0 / 1.056 GB, free: 124.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=450): time 2.137/6.238, allocations: 279.1 MB / 1.328 GB, free: 101 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/6.239, allocations: 279.7 kB / 1.329 GB, free: 100.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02545/6.264, allocations: 8.63 MB / 1.337 GB, free: 97.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002778/6.267, allocations: 99.34 kB / 1.337 GB, free: 97.37 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01103/6.278, allocations: 10.42 MB / 1.347 GB, free: 89.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.007319/6.285, allocations: 1.758 MB / 1.349 GB, free: 88.25 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005694/6.291, allocations: 324 kB / 1.349 GB, free: 88 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002777/6.294, allocations: 1.005 MB / 1.35 GB, free: 87.39 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03441/6.329, allocations: 15.45 MB / 1.365 GB, free: 80.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04092/6.37, allocations: 25.47 MB / 1.39 GB, free: 57.31 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04101/6.411, allocations: 19.43 MB / 1.409 GB, free: 41.02 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000444/6.411, allocations: 100 kB / 1.409 GB, free: 40.92 MB / 0.573 GB Notification: Performance of matching and sorting (n=2100) (initialization): time 0.1034/6.515, allocations: 39.7 MB / 1.448 GB, free: 6.051 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004543/6.515, allocations: 157 kB / 1.448 GB, free: 5.898 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007571/6.516, allocations: 360 kB / 1.449 GB, free: 5.547 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/6.519, allocations: 0.8508 MB / 1.449 GB, free: 4.781 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0405/6.559, allocations: 5.161 MB / 1.455 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4829/7.042, allocations: 5.62 MB / 1.46 GB, free: 94.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03091/7.073, allocations: 2.111 MB / 1.462 GB, free: 94.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005875/7.079, allocations: 0.9746 MB / 1.463 GB, free: 94.38 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1644 * Number of states: 0 () * Number of discrete variables: 58 (relativeSensor.arrow.arrowLine.twoHeadedArrow,relativeSensor.arrow.headAtOrigin,relativeSensor.arrowColor[3],relativeSensor.arrowColor[2],relativeSensor.arrowColor[1],relative_b1.arrow.arrowLine.twoHeadedArrow,relative_b1.arrow.headAtOrigin,relative_b1.arrowColor[3],relative_b1.arrowColor[2],relative_b1.arrowColor[1],relative_b2.arrow.arrowLine.twoHeadedArrow,relative_b2.arrow.headAtOrigin,relative_b2.arrowColor[3],relative_b2.arrowColor[2],relative_b2.arrowColor[1],relative_a2.arrow.arrowLine.twoHeadedArrow,relative_a2.arrow.headAtOrigin,relative_a2.arrowColor[3],relative_a2.arrowColor[2],relative_a2.arrowColor[1],relative_a1.arrow.arrowLine.twoHeadedArrow,relative_a1.arrow.headAtOrigin,relative_a1.arrowColor[3],relative_a1.arrowColor[2],relative_a1.arrowColor[1],BodyBox2.color[3],BodyBox2.color[2],BodyBox2.color[1],BodyBox2.body.sphereColor[3],BodyBox2.body.sphereColor[2],BodyBox2.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2044): * Single equations (assignments): 2034 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009114/7.088, allocations: 1.347 MB / 1.464 GB, free: 94.06 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004562/7.093, allocations: 0.8359 MB / 1.465 GB, free: 94.05 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07191/7.165, allocations: 29.5 MB / 1.494 GB, free: 93.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001942/7.165, allocations: 90.94 kB / 1.494 GB, free: 93.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/7.165, allocations: 10.41 kB / 1.494 GB, free: 93.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/7.165, allocations: 23.02 kB / 1.494 GB, free: 93.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.146/7.311, allocations: 71.02 MB / 1.563 GB, free: 56.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.191e-05/7.311, allocations: 3.688 kB / 1.563 GB, free: 56.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02272/7.334, allocations: 2.039 MB / 1.565 GB, free: 56.58 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/7.336, allocations: 311.8 kB / 1.566 GB, free: 56.51 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00239/7.338, allocations: 80.3 kB / 1.566 GB, free: 56.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006412/7.345, allocations: 4.3 MB / 1.57 GB, free: 53.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/7.345, allocations: 3.438 kB / 1.57 GB, free: 53.25 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1165/7.461, allocations: 49.66 MB / 1.619 GB, free: 23.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003612/7.465, allocations: 0.8048 MB / 1.619 GB, free: 22.77 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006348/7.471, allocations: 71.67 kB / 1.619 GB, free: 22.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02633/7.498, allocations: 1.614 MB / 1.621 GB, free: 21.84 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003908/7.502, allocations: 231.6 kB / 1.621 GB, free: 21.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002238/7.504, allocations: 115.8 kB / 1.621 GB, free: 21.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01568/7.52, allocations: 5.941 MB / 1.627 GB, free: 16.39 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.71e-07/7.52, allocations: 0 / 1.627 GB, free: 16.39 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02556/7.545, allocations: 4.149 MB / 1.631 GB, free: 12.26 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (404): * Single equations (assignments): 394 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5907/8.136, allocations: 52.47 MB / 1.682 GB, free: 129.5 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.1081/8.244, allocations: 33.61 MB / 1.715 GB, free: 128.9 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/8.244, allocations: 3.875 kB / 1.715 GB, free: 128.9 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.04406/8.288, allocations: 14.58 MB / 1.729 GB, free: 122.1 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01423/8.303, allocations: 1.334 MB / 1.731 GB, free: 121.6 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1827/8.485, allocations: 46.43 MB / 1.776 GB, free: 104 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02941/8.515, allocations: 10.98 MB / 1.787 GB, free: 100.5 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.03506/8.55, allocations: 7.17 MB / 1.794 GB, free: 98.5 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02385/8.574, allocations: 7.492 MB / 1.801 GB, free: 91.52 MB / 0.6043 GB Notification: Performance of SimCode: time 1.824e-06/8.574, allocations: 0 / 1.801 GB, free: 91.52 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.005/9.579, allocations: 264 MB / 2.059 GB, free: 42.62 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/9.579, allocations: 182.2 kB / 2.059 GB, free: 42.4 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/20.84, allocations: 0.875 kB / 2.059 GB, free: 42.4 MB / 0.6043 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.RelativeSensor_res.mat does not exist to compare? outputFormat=mat