Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.644/2.644, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.587e-05/4.583e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4184, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.6091, allocations: 101.8 MB / 484.1 MB, free: 6.543 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.6094, allocations: 75.95 kB / 484.2 MB, free: 6.469 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8465/1.456, allocations: 85.5 MB / 0.5564 GB, free: 111.7 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.266e-06/1.456, allocations: 3.562 kB / 0.5564 GB, free: 111.7 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000189/1.456, allocations: 75.86 kB / 0.5564 GB, free: 111.7 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01407/1.47, allocations: 3.514 MB / 0.5599 GB, free: 110 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/1.47, allocations: 14.47 kB / 0.5599 GB, free: 110 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004161/1.475, allocations: 0.7795 MB / 0.5606 GB, free: 109.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02715/1.502, allocations: 3.507 MB / 0.5641 GB, free: 109.4 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01701/1.519, allocations: 4.211 MB / 0.5682 GB, free: 107 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004405/1.519, allocations: 294.3 kB / 0.5685 GB, free: 106.8 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002866/1.522, allocations: 395.8 kB / 0.5688 GB, free: 106.4 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03097/1.553, allocations: 9.823 MB / 0.5784 GB, free: 96.23 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002568/1.553, allocations: 31.72 kB / 0.5785 GB, free: 96.2 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002754/1.556, allocations: 174.2 kB / 0.5786 GB, free: 96.06 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002864/1.559, allocations: 1.171 MB / 0.5798 GB, free: 94.89 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02662/1.586, allocations: 9.177 MB / 0.5887 GB, free: 85.71 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06826/1.654, allocations: 32.56 MB / 0.6205 GB, free: 52.5 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009081/1.663, allocations: 3.307 MB / 0.6238 GB, free: 48.96 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002792/1.666, allocations: 1.061 MB / 0.6248 GB, free: 47.89 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/1.668, allocations: 1.306 MB / 0.6261 GB, free: 46.38 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.29e-05/1.668, allocations: 55.75 kB / 0.6261 GB, free: 46.31 MB / 458.8 MB Notification: Performance of pre-optimization done (n=187): time 7.555e-06/1.668, allocations: 0 / 0.6261 GB, free: 46.31 MB / 458.8 MB Notification: Performance of matching and sorting (n=193): time 0.03413/1.702, allocations: 8.694 MB / 0.6346 GB, free: 37.53 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/1.702, allocations: 94.42 kB / 0.6347 GB, free: 37.41 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00582/1.708, allocations: 2.355 MB / 0.637 GB, free: 35.04 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004044/1.709, allocations: 45.7 kB / 0.6371 GB, free: 34.99 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002342/1.711, allocations: 2.747 MB / 0.6397 GB, free: 32.23 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001107/1.712, allocations: 0.7094 MB / 0.6404 GB, free: 31.53 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005917/1.713, allocations: 99.52 kB / 0.6405 GB, free: 31.44 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004075/1.713, allocations: 0.5129 MB / 0.641 GB, free: 30.92 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/1.717, allocations: 1.505 MB / 0.6425 GB, free: 29.41 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006031/1.723, allocations: 4.371 MB / 0.6468 GB, free: 23.59 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005812/1.729, allocations: 2.628 MB / 0.6493 GB, free: 20.96 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/1.729, allocations: 28 kB / 0.6494 GB, free: 20.93 MB / 458.8 MB Notification: Performance of matching and sorting (n=656) (initialization): time 0.01531/1.745, allocations: 5.538 MB / 0.6548 GB, free: 15.38 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.723e-05/1.745, allocations: 52.06 kB / 0.6548 GB, free: 15.33 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/1.745, allocations: 104 kB / 0.6549 GB, free: 15.23 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005007/1.745, allocations: 192.8 kB / 0.6551 GB, free: 15.04 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006896/1.752, allocations: 1.092 MB / 0.6562 GB, free: 13.94 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/1.754, allocations: 1.671 MB / 0.6578 GB, free: 12.14 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004899/1.759, allocations: 223.4 kB / 0.658 GB, free: 11.93 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.761, allocations: 296 kB / 0.6583 GB, free: 11.64 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * Number of states: 0 () * Number of discrete variables: 27 (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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (604): * Single equations (assignments): 597 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001576/1.762, allocations: 488.1 kB / 0.6588 GB, free: 11.16 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006053/1.763, allocations: 248.7 kB / 0.659 GB, free: 10.91 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006573/1.769, allocations: 2.503 MB / 0.6614 GB, free: 8.379 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-05/1.77, allocations: 26.97 kB / 0.6615 GB, free: 8.355 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.77, allocations: 0 / 0.6615 GB, free: 8.355 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/1.77, allocations: 7.969 kB / 0.6615 GB, free: 8.348 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/1.794, allocations: 8.125 MB / 0.6694 GB, free: 56 kB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/1.794, allocations: 8 kB / 0.6694 GB, free: 48 kB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/1.796, allocations: 259.7 kB / 0.6697 GB, free: 15.79 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/1.797, allocations: 57.36 kB / 0.6697 GB, free: 15.73 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000339/1.797, allocations: 47.42 kB / 0.6698 GB, free: 15.69 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/1.799, allocations: 1.499 MB / 0.6712 GB, free: 14.05 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-05/1.799, allocations: 16 kB / 0.6712 GB, free: 14.04 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/1.81, allocations: 4.874 MB / 0.676 GB, free: 8.742 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/1.812, allocations: 0.5016 MB / 0.6765 GB, free: 8.219 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008243/1.813, allocations: 39.05 kB / 0.6765 GB, free: 8.184 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.815, allocations: 59.95 kB / 0.6766 GB, free: 8.125 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006225/1.815, allocations: 124.6 kB / 0.6767 GB, free: 8.004 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.816, allocations: 71.03 kB / 0.6768 GB, free: 7.941 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004813/1.821, allocations: 1.6 MB / 0.6783 GB, free: 6.328 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.31e-07/1.821, allocations: 3.938 kB / 0.6783 GB, free: 6.324 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007056/1.828, allocations: 0.8242 MB / 0.6791 GB, free: 5.5 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (142): * Single equations (assignments): 135 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01264/1.84, allocations: 8.232 MB / 0.6872 GB, free: 12.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01026/1.851, allocations: 3.65 MB / 0.6907 GB, free: 9.297 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.057e-05/1.851, allocations: 4 kB / 0.6907 GB, free: 9.293 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003219/1.854, allocations: 1.206 MB / 0.6919 GB, free: 8.082 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/1.857, allocations: 309.8 kB / 0.6922 GB, free: 7.777 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03241/1.89, allocations: 8.459 MB / 0.7005 GB, free: 15.13 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008968/1.899, allocations: 3.279 MB / 0.7037 GB, free: 11.82 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008684/1.907, allocations: 1.726 MB / 0.7054 GB, free: 10.08 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005101/1.912, allocations: 1.765 MB / 0.7071 GB, free: 8.316 MB / 0.4949 GB Notification: Performance of SimCode: time 2.264e-06/1.913, allocations: 0 / 0.7071 GB, free: 8.316 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5041/2.417, allocations: 56.89 MB / 0.7627 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/2.417, allocations: 166.7 kB / 0.7628 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.594/7.011, allocations: 0 / 0.7628 GB, free: 127.1 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat