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.965/1.965, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.337e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5293, allocations: 88.68 MB / 410.5 MB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5297, allocations: 86.94 kB / 410.6 MB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3823/0.912, allocations: 84.66 MB / 495.2 MB, free: 11.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.9121, allocations: 0 / 495.2 MB, free: 11.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001952/0.9123, allocations: 68 kB / 495.3 MB, free: 11.72 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.013/0.9253, allocations: 3.506 MB / 498.8 MB, free: 8.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.9254, allocations: 16.03 kB / 498.8 MB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003425/0.9288, allocations: 0.7829 MB / 499.6 MB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02742/0.9563, allocations: 3.508 MB / 0.4913 GB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2951/1.251, allocations: 4.179 MB / 0.4954 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005159/1.252, allocations: 297.7 kB / 0.4957 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00271/1.255, allocations: 389.9 kB / 0.4961 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03271/1.287, allocations: 9.86 MB / 0.5057 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002191/1.288, allocations: 23.8 kB / 0.5057 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002208/1.29, allocations: 178.7 kB / 0.5059 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003245/1.293, allocations: 1.163 MB / 0.507 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03585/1.329, allocations: 9.28 MB / 0.5161 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07842/1.408, allocations: 32.45 MB / 0.5478 GB, free: 81.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008789/1.416, allocations: 3.337 MB / 0.551 GB, free: 79.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/1.419, allocations: 1.062 MB / 0.5521 GB, free: 79.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/1.421, allocations: 1.313 MB / 0.5534 GB, free: 78.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/1.421, allocations: 47.56 kB / 0.5534 GB, free: 78.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 6.322e-06/1.421, allocations: 3.75 kB / 0.5534 GB, free: 78.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.03064/1.451, allocations: 8.693 MB / 0.5619 GB, free: 75.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/1.451, allocations: 92.27 kB / 0.562 GB, free: 74.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004742/1.456, allocations: 2.324 MB / 0.5643 GB, free: 74.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003828/1.457, allocations: 48.98 kB / 0.5643 GB, free: 74.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002011/1.459, allocations: 2.728 MB / 0.567 GB, free: 72.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009617/1.46, allocations: 0.7115 MB / 0.5677 GB, free: 71.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/1.46, allocations: 91.23 kB / 0.5677 GB, free: 71.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003162/1.46, allocations: 0.5273 MB / 0.5683 GB, free: 71.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003633/1.464, allocations: 1.501 MB / 0.5697 GB, free: 70.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005502/1.47, allocations: 4.38 MB / 0.574 GB, free: 66.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00561/1.475, allocations: 2.618 MB / 0.5766 GB, free: 65.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.537e-05/1.475, allocations: 33.66 kB / 0.5766 GB, free: 65.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01431/1.49, allocations: 5.734 MB / 0.5822 GB, free: 62.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.701e-05/1.49, allocations: 51.94 kB / 0.5822 GB, free: 61.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/1.49, allocations: 107.5 kB / 0.5823 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004375/1.491, allocations: 191.1 kB / 0.5825 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006231/1.497, allocations: 1.092 MB / 0.5836 GB, free: 60.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/1.498, allocations: 1.67 MB / 0.5852 GB, free: 59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004318/1.503, allocations: 212.8 kB / 0.5854 GB, free: 58.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009112/1.504, allocations: 300.8 kB / 0.5857 GB, free: 58.52 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.0009599/1.505, allocations: 475.1 kB / 0.5862 GB, free: 58.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005319/1.505, allocations: 252.7 kB / 0.5864 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005391/1.511, allocations: 2.501 MB / 0.5888 GB, free: 55.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.318e-05/1.511, allocations: 21.17 kB / 0.5889 GB, free: 55.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.511, allocations: 3.938 kB / 0.5889 GB, free: 55.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/1.511, allocations: 6.375 kB / 0.5889 GB, free: 55.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/1.531, allocations: 8.159 MB / 0.5968 GB, free: 48.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.531, allocations: 8 kB / 0.5969 GB, free: 48.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00215/1.533, allocations: 256.5 kB / 0.5971 GB, free: 48.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/1.534, allocations: 55.89 kB / 0.5972 GB, free: 48.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/1.534, allocations: 45.19 kB / 0.5972 GB, free: 48.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/1.535, allocations: 1.497 MB / 0.5987 GB, free: 46.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/1.535, allocations: 15.94 kB / 0.5987 GB, free: 46.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007689/1.543, allocations: 4.864 MB / 0.6034 GB, free: 41.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/1.545, allocations: 0.4988 MB / 0.6039 GB, free: 41.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005584/1.545, allocations: 44.98 kB / 0.604 GB, free: 41.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.547, allocations: 53.8 kB / 0.604 GB, free: 41.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/1.547, allocations: 126.9 kB / 0.6041 GB, free: 41.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.547, allocations: 71.94 kB / 0.6042 GB, free: 41.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003252/1.551, allocations: 1.57 MB / 0.6057 GB, free: 39.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.551, allocations: 0 / 0.6057 GB, free: 39.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005251/1.556, allocations: 0.8271 MB / 0.6065 GB, free: 38.87 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.009004/1.565, allocations: 8.229 MB / 0.6146 GB, free: 30.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008089/1.573, allocations: 3.799 MB / 0.6183 GB, free: 27.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/1.573, allocations: 0 / 0.6183 GB, free: 27.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002597/1.576, allocations: 1.219 MB / 0.6195 GB, free: 26.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/1.578, allocations: 316.4 kB / 0.6198 GB, free: 25.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02509/1.604, allocations: 8.903 MB / 0.6285 GB, free: 17.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005479/1.609, allocations: 3.277 MB / 0.6317 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003727/1.613, allocations: 1.797 MB / 0.6334 GB, free: 13.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/1.613, allocations: 0 / 0.6334 GB, free: 13.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.283/5.896, allocations: 86.64 MB / 0.718 GB, free: 94.03 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