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.105/2.105, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.202e-05/4.203e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5697, allocations: 88.68 MB / 410.6 MB, free: 0.793 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.5701, allocations: 79.94 kB / 410.6 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3897/0.9598, allocations: 84.67 MB / 495.3 MB, free: 11.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.9599, allocations: 0 / 495.3 MB, free: 11.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002111/0.9601, allocations: 68 kB / 495.4 MB, free: 11.28 MB / 426.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.01407/0.9742, allocations: 3.51 MB / 498.9 MB, free: 7.703 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.9743, allocations: 8.031 kB / 498.9 MB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004108/0.9784, allocations: 0.7791 MB / 499.7 MB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02819/1.007, allocations: 3.512 MB / 0.4914 GB, free: 3.383 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.349/1.356, allocations: 4.186 MB / 0.4955 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005069/1.356, allocations: 297.9 kB / 0.4958 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002875/1.359, allocations: 386.7 kB / 0.4961 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03415/1.393, allocations: 9.805 MB / 0.5057 GB, free: 99.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000305/1.394, allocations: 29.36 kB / 0.5057 GB, free: 99.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002645/1.396, allocations: 176.8 kB / 0.5059 GB, free: 99.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003506/1.4, allocations: 1.163 MB / 0.507 GB, free: 99.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03194/1.432, allocations: 9.172 MB / 0.516 GB, free: 99.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06219/1.494, allocations: 32.45 MB / 0.5477 GB, free: 81.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008344/1.503, allocations: 3.312 MB / 0.5509 GB, free: 79.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/1.505, allocations: 1.069 MB / 0.552 GB, free: 79.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/1.506, allocations: 1.312 MB / 0.5532 GB, free: 78.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.506, allocations: 43.19 kB / 0.5533 GB, free: 78.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 5.711e-06/1.506, allocations: 3.969 kB / 0.5533 GB, free: 78.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.02968/1.536, allocations: 8.684 MB / 0.5618 GB, free: 75.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/1.536, allocations: 96.33 kB / 0.5619 GB, free: 74.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/1.541, allocations: 2.324 MB / 0.5641 GB, free: 74.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003662/1.541, allocations: 49.72 kB / 0.5642 GB, free: 74.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001822/1.543, allocations: 2.726 MB / 0.5668 GB, free: 72.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008352/1.544, allocations: 0.7108 MB / 0.5675 GB, free: 71.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/1.544, allocations: 99.83 kB / 0.5676 GB, free: 71.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002902/1.544, allocations: 0.5184 MB / 0.5681 GB, free: 71.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003222/1.547, allocations: 1.498 MB / 0.5696 GB, free: 70.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005361/1.553, allocations: 4.352 MB / 0.5739 GB, free: 66.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005977/1.559, allocations: 2.616 MB / 0.5764 GB, free: 65.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-05/1.559, allocations: 37.12 kB / 0.5764 GB, free: 65.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01991/1.579, allocations: 5.517 MB / 0.5818 GB, free: 61.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.579, allocations: 48 kB / 0.5819 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/1.579, allocations: 100.1 kB / 0.582 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/1.58, allocations: 195.7 kB / 0.5822 GB, free: 61.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008857/1.589, allocations: 1.094 MB / 0.5832 GB, free: 60.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.591, allocations: 1.666 MB / 0.5849 GB, free: 58.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/1.595, allocations: 218.1 kB / 0.5851 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008388/1.596, allocations: 300.8 kB / 0.5853 GB, free: 58.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * 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 (601): * Single equations (assignments): 594 * 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.0008993/1.597, allocations: 481.6 kB / 0.5858 GB, free: 58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000518/1.597, allocations: 248.7 kB / 0.586 GB, free: 57.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005246/1.603, allocations: 2.496 MB / 0.5885 GB, free: 55.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.206e-05/1.603, allocations: 20 kB / 0.5885 GB, free: 55.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/1.603, allocations: 8 kB / 0.5885 GB, free: 55.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/1.603, allocations: 7.312 kB / 0.5885 GB, free: 55.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/1.623, allocations: 8.127 MB / 0.5965 GB, free: 48.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/1.623, allocations: 12 kB / 0.5965 GB, free: 48.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/1.625, allocations: 252.8 kB / 0.5967 GB, free: 48.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/1.626, allocations: 64.2 kB / 0.5968 GB, free: 48.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/1.626, allocations: 39.56 kB / 0.5968 GB, free: 48.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/1.627, allocations: 1.488 MB / 0.5983 GB, free: 46.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/1.627, allocations: 15.94 kB / 0.5983 GB, free: 46.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007903/1.635, allocations: 4.873 MB / 0.603 GB, free: 41.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/1.637, allocations: 0.5005 MB / 0.6035 GB, free: 41.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/1.638, allocations: 38.16 kB / 0.6036 GB, free: 41.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.639, allocations: 58.2 kB / 0.6036 GB, free: 41.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/1.64, allocations: 125.2 kB / 0.6037 GB, free: 41.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/1.64, allocations: 71.16 kB / 0.6038 GB, free: 41.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003696/1.644, allocations: 1.574 MB / 0.6053 GB, free: 39.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.644, allocations: 4 kB / 0.6053 GB, free: 39.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006274/1.65, allocations: 0.8209 MB / 0.6061 GB, free: 38.85 MB / 426.7 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.00922/1.659, allocations: 8.222 MB / 0.6142 GB, free: 30.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008217/1.668, allocations: 3.643 MB / 0.6177 GB, free: 27.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/1.668, allocations: 4 kB / 0.6177 GB, free: 27.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/1.67, allocations: 1.2 MB / 0.6189 GB, free: 26.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.673, allocations: 304.9 kB / 0.6192 GB, free: 26.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02467/1.698, allocations: 8.425 MB / 0.6274 GB, free: 18.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005573/1.703, allocations: 3.278 MB / 0.6306 GB, free: 16.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007132/1.71, allocations: 1.729 MB / 0.6323 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003912/1.714, allocations: 1.754 MB / 0.634 GB, free: 13.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.954e-06/1.714, allocations: 0 / 0.634 GB, free: 13.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5868/2.301, allocations: 56.54 MB / 0.6892 GB, free: 96.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/2.301, allocations: 171.1 kB / 0.6894 GB, free: 95.87 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.652/6.954, allocations: 0 / 0.6894 GB, free: 95.87 MB / 442.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