Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.662e-05/4.666e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.517, allocations: 88.68 MB / 410.5 MB, free: 1.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5173, allocations: 82.75 kB / 410.6 MB, free: 1.027 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3881/0.9055, allocations: 84.67 MB / 495.3 MB, free: 11.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.9055, allocations: 4 kB / 495.3 MB, free: 11.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001988/0.9057, allocations: 71.94 kB / 495.4 MB, free: 11.58 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.0131/0.9188, allocations: 3.51 MB / 498.9 MB, free: 8.004 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.9189, allocations: 8.031 kB / 498.9 MB, free: 7.996 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003877/0.9228, allocations: 0.7791 MB / 499.7 MB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02766/0.9505, allocations: 3.508 MB / 0.4914 GB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2948/1.245, allocations: 4.182 MB / 0.4955 GB, free: 101 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005035/1.246, allocations: 295.9 kB / 0.4957 GB, free: 101 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002721/1.249, allocations: 386.2 kB / 0.4961 GB, free: 101 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03384/1.283, allocations: 9.809 MB / 0.5057 GB, free: 99.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002937/1.283, allocations: 23.8 kB / 0.5057 GB, free: 99.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002478/1.285, allocations: 181.6 kB / 0.5059 GB, free: 99.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003376/1.289, allocations: 1.164 MB / 0.507 GB, free: 99.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02819/1.317, allocations: 9.167 MB / 0.516 GB, free: 99.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06557/1.383, allocations: 32.45 MB / 0.5477 GB, free: 81.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008635/1.391, allocations: 3.313 MB / 0.5509 GB, free: 79.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002449/1.394, allocations: 1.064 MB / 0.5519 GB, free: 79.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/1.396, allocations: 1.314 MB / 0.5532 GB, free: 78.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/1.396, allocations: 45.03 kB / 0.5533 GB, free: 78.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 6.783e-06/1.396, allocations: 3.344 kB / 0.5533 GB, free: 78.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.03156/1.427, allocations: 8.687 MB / 0.5617 GB, free: 75.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/1.427, allocations: 96.95 kB / 0.5618 GB, free: 74.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005343/1.433, allocations: 2.323 MB / 0.5641 GB, free: 74.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003821/1.433, allocations: 53.53 kB / 0.5642 GB, free: 74.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002058/1.435, allocations: 2.727 MB / 0.5668 GB, free: 72.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009938/1.436, allocations: 0.7133 MB / 0.5675 GB, free: 71.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005094/1.437, allocations: 93.81 kB / 0.5676 GB, free: 71.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003673/1.437, allocations: 0.522 MB / 0.5681 GB, free: 71.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003633/1.441, allocations: 1.505 MB / 0.5696 GB, free: 70.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00557/1.446, allocations: 4.349 MB / 0.5738 GB, free: 66.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/1.452, allocations: 2.622 MB / 0.5764 GB, free: 65.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/1.452, allocations: 28.34 kB / 0.5764 GB, free: 65.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01412/1.466, allocations: 5.45 MB / 0.5817 GB, free: 62.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.048e-05/1.466, allocations: 51.88 kB / 0.5818 GB, free: 62.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/1.467, allocations: 104 kB / 0.5819 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/1.467, allocations: 195.5 kB / 0.5821 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006501/1.474, allocations: 1.088 MB / 0.5831 GB, free: 60.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/1.475, allocations: 1.678 MB / 0.5848 GB, free: 59.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/1.48, allocations: 217.1 kB / 0.585 GB, free: 58.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009904/1.481, allocations: 297.3 kB / 0.5853 GB, free: 58.7 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.001002/1.482, allocations: 473.8 kB / 0.5857 GB, free: 58.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005559/1.483, allocations: 248.7 kB / 0.586 GB, free: 57.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005585/1.488, allocations: 2.498 MB / 0.5884 GB, free: 55.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.562e-05/1.488, allocations: 25.17 kB / 0.5884 GB, free: 55.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.488, allocations: 0 / 0.5884 GB, free: 55.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/1.488, allocations: 10.47 kB / 0.5884 GB, free: 55.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01987/1.508, allocations: 8.121 MB / 0.5964 GB, free: 48.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-05/1.508, allocations: 15.22 kB / 0.5964 GB, free: 48.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/1.51, allocations: 255 kB / 0.5966 GB, free: 48.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/1.511, allocations: 56.22 kB / 0.5967 GB, free: 48.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002373/1.511, allocations: 48.05 kB / 0.5967 GB, free: 48.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/1.512, allocations: 1.488 MB / 0.5982 GB, free: 46.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.512, allocations: 15.94 kB / 0.5982 GB, free: 46.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008274/1.521, allocations: 4.868 MB / 0.6029 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/1.522, allocations: 0.5019 MB / 0.6034 GB, free: 41.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006322/1.523, allocations: 37.33 kB / 0.6035 GB, free: 41.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.525, allocations: 59.84 kB / 0.6035 GB, free: 41.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003628/1.525, allocations: 127.1 kB / 0.6036 GB, free: 41.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.526, allocations: 69 kB / 0.6037 GB, free: 41.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003563/1.529, allocations: 1.571 MB / 0.6052 GB, free: 39.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.272e-06/1.529, allocations: 0 / 0.6052 GB, free: 39.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005879/1.535, allocations: 0.8296 MB / 0.6061 GB, free: 39.08 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.009019/1.544, allocations: 8.232 MB / 0.6141 GB, free: 30.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008089/1.552, allocations: 3.634 MB / 0.6176 GB, free: 27.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/1.552, allocations: 3.938 kB / 0.6176 GB, free: 27.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002475/1.555, allocations: 1.199 MB / 0.6188 GB, free: 26.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.557, allocations: 304.6 kB / 0.6191 GB, free: 26.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/1.584, allocations: 8.897 MB / 0.6278 GB, free: 18.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006854/1.591, allocations: 3.277 MB / 0.631 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004066/1.595, allocations: 1.797 MB / 0.6328 GB, free: 14.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.753e-06/1.595, allocations: 0 / 0.6328 GB, free: 14.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.515/6.11, allocations: 85.89 MB / 0.7166 GB, free: 94.22 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat