Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.03/2.03, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.221e-05, allocations: 0 / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 48.71 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.573, allocations: 88.23 MB / 404.6 MB, free: 4.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.5733, allocations: 84.03 kB / 404.6 MB, free: 4.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3936/0.967, allocations: 83.14 MB / 487.8 MB, free: 4.094 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.9671, allocations: 0 / 487.8 MB, free: 4.094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002814/0.9674, allocations: 71.94 kB / 487.9 MB, free: 4.023 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.0154/0.9828, allocations: 3.507 MB / 491.4 MB, free: 464 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.9829, allocations: 12.03 kB / 491.4 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.311/1.294, allocations: 3.503 MB / 494.9 MB, free: 93.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01785/1.312, allocations: 4.182 MB / 499.1 MB, free: 93.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/1.312, allocations: 126.9 kB / 499.2 MB, free: 93.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/1.315, allocations: 222.5 kB / 499.4 MB, free: 93.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01842/1.333, allocations: 7.028 MB / 0.4946 GB, free: 93.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02737/1.361, allocations: 9.208 MB / 0.5036 GB, free: 92.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002436/1.361, allocations: 23.94 kB / 0.5036 GB, free: 92.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002431/1.364, allocations: 15.75 kB / 0.5036 GB, free: 92.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002852/1.366, allocations: 1.16 MB / 0.5047 GB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06131/1.428, allocations: 29.72 MB / 0.5337 GB, free: 76.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006268/1.434, allocations: 2.946 MB / 0.5366 GB, free: 74.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002952/1.437, allocations: 1.03 MB / 0.5376 GB, free: 74.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/1.439, allocations: 1.306 MB / 0.5389 GB, free: 73.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/1.439, allocations: 54.98 kB / 0.539 GB, free: 73.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=189): time 8.606e-06/1.439, allocations: 0 / 0.539 GB, free: 73.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=195): time 0.03565/1.475, allocations: 8.01 MB / 0.5468 GB, free: 70.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/1.475, allocations: 90.11 kB / 0.5469 GB, free: 70.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005582/1.481, allocations: 2.237 MB / 0.549 GB, free: 69.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000409/1.481, allocations: 28.98 kB / 0.5491 GB, free: 69.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002943/1.484, allocations: 2.828 MB / 0.5518 GB, free: 67.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.485, allocations: 0.7021 MB / 0.5525 GB, free: 66.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006108/1.486, allocations: 2.188 kB / 0.5525 GB, free: 66.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007217/1.487, allocations: 0.5832 MB / 0.5531 GB, free: 66.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004917/1.492, allocations: 1.49 MB / 0.5546 GB, free: 65.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007695/1.5, allocations: 4.616 MB / 0.5591 GB, free: 60.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007727/1.507, allocations: 2.679 MB / 0.5617 GB, free: 58.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001093/1.508, allocations: 32 kB / 0.5617 GB, free: 58.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01448/1.522, allocations: 5.494 MB / 0.5671 GB, free: 54.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.725e-05/1.522, allocations: 55.95 kB / 0.5671 GB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/1.522, allocations: 116.2 kB / 0.5672 GB, free: 53.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004703/1.523, allocations: 200.5 kB / 0.5674 GB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006854/1.53, allocations: 1.173 MB / 0.5686 GB, free: 52.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/1.531, allocations: 1.632 MB / 0.5702 GB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00479/1.536, allocations: 126.7 kB / 0.5703 GB, free: 50.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.538, allocations: 326.6 kB / 0.5706 GB, free: 50.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (648): * Single equations (assignments): 641 * 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.001229/1.539, allocations: 388.2 kB / 0.571 GB, free: 50.21 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006251/1.545, allocations: 2.134 MB / 0.5731 GB, free: 48.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008015/1.546, allocations: 252.7 kB / 0.5733 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006047/1.552, allocations: 2.43 MB / 0.5757 GB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-05/1.552, allocations: 25.48 kB / 0.5757 GB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.552, allocations: 3.891 kB / 0.5757 GB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/1.552, allocations: 3.422 kB / 0.5757 GB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/1.571, allocations: 6.923 MB / 0.5825 GB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/1.571, allocations: 12.94 kB / 0.5825 GB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/1.573, allocations: 257.1 kB / 0.5827 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/1.573, allocations: 60.12 kB / 0.5828 GB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003208/1.573, allocations: 23.23 kB / 0.5828 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/1.575, allocations: 1.431 MB / 0.5842 GB, free: 38.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-05/1.575, allocations: 15.94 kB / 0.5842 GB, free: 38.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007415/1.582, allocations: 4.864 MB / 0.589 GB, free: 33.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/1.584, allocations: 0.4976 MB / 0.5894 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006596/1.585, allocations: 12 kB / 0.5895 GB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.586, allocations: 39.05 kB / 0.5895 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/1.586, allocations: 133.9 kB / 0.5896 GB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.587, allocations: 68.22 kB / 0.5897 GB, free: 32.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002853/1.59, allocations: 1.458 MB / 0.5911 GB, free: 31.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.59, allocations: 4 kB / 0.5911 GB, free: 31.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005661/1.595, allocations: 0.7083 MB / 0.5918 GB, free: 30.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (144): * Single equations (assignments): 137 * 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.008479/1.604, allocations: 8.337 MB / 0.5999 GB, free: 22.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00776/1.612, allocations: 3.704 MB / 0.6036 GB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/1.612, allocations: 8.312 kB / 0.6036 GB, free: 18.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002267/1.614, allocations: 1.194 MB / 0.6047 GB, free: 17.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.616, allocations: 218.7 kB / 0.6049 GB, free: 17.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/1.641, allocations: 8.321 MB / 0.6131 GB, free: 9.637 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007398/1.649, allocations: 3.269 MB / 0.6163 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007913/1.657, allocations: 1.829 MB / 0.6181 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004043/1.661, allocations: 1.761 MB / 0.6198 GB, free: 2.762 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/1.661, allocations: 0 / 0.6198 GB, free: 2.762 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4969/2.158, allocations: 54.25 MB / 0.6727 GB, free: 92.58 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/2.158, allocations: 129.4 kB / 0.6729 GB, free: 92.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.202/6.36, allocations: 0 / 0.6729 GB, free: 92.39 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat