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 1.923/1.923, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.214e-05, allocations: 7.984 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4355/0.5388, allocations: 88.67 MB / 410.5 MB, free: 0.918 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004158/0.5393, allocations: 75.95 kB / 410.6 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.381/0.9203, allocations: 84.68 MB / 495.3 MB, free: 11.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.9204, allocations: 4 kB / 495.3 MB, free: 11.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002167/0.9206, allocations: 64 kB / 495.3 MB, free: 11.4 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.01518/0.9358, allocations: 3.526 MB / 498.9 MB, free: 7.809 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.9359, allocations: 8.031 kB / 498.9 MB, free: 7.801 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004123/0.94, allocations: 0.7752 MB / 499.7 MB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02799/0.9681, allocations: 3.512 MB / 0.4914 GB, free: 3.492 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.339/1.307, allocations: 4.172 MB / 0.4955 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005735/1.308, allocations: 295.5 kB / 0.4957 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002815/1.311, allocations: 386.6 kB / 0.4961 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03302/1.344, allocations: 9.86 MB / 0.5057 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002807/1.344, allocations: 25.34 kB / 0.5058 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002292/1.346, allocations: 175.4 kB / 0.5059 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003282/1.35, allocations: 1.164 MB / 0.5071 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02847/1.378, allocations: 9.281 MB / 0.5161 GB, free: 99.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06639/1.445, allocations: 32.45 MB / 0.5478 GB, free: 81.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008648/1.453, allocations: 3.332 MB / 0.5511 GB, free: 79.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/1.456, allocations: 1.067 MB / 0.5521 GB, free: 79.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/1.458, allocations: 1.309 MB / 0.5534 GB, free: 78.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/1.458, allocations: 46.81 kB / 0.5534 GB, free: 78.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 6.763e-06/1.458, allocations: 0 / 0.5534 GB, free: 78.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.03315/1.491, allocations: 8.692 MB / 0.5619 GB, free: 74.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/1.491, allocations: 100.6 kB / 0.562 GB, free: 74.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00571/1.497, allocations: 2.327 MB / 0.5643 GB, free: 74.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004067/1.497, allocations: 45.92 kB / 0.5643 GB, free: 73.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002237/1.5, allocations: 2.729 MB / 0.567 GB, free: 72.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001077/1.501, allocations: 0.7101 MB / 0.5677 GB, free: 71.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006295/1.501, allocations: 96.09 kB / 0.5678 GB, free: 71.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004838/1.502, allocations: 0.5185 MB / 0.5683 GB, free: 71.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003986/1.506, allocations: 1.501 MB / 0.5698 GB, free: 70.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005801/1.512, allocations: 4.377 MB / 0.574 GB, free: 66.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005913/1.518, allocations: 2.628 MB / 0.5766 GB, free: 65.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/1.518, allocations: 27.75 kB / 0.5766 GB, free: 65.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01516/1.533, allocations: 5.796 MB / 0.5823 GB, free: 61.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.757e-05/1.533, allocations: 48 kB / 0.5823 GB, free: 61.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/1.533, allocations: 100 kB / 0.5824 GB, free: 61.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/1.534, allocations: 199.7 kB / 0.5826 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006597/1.54, allocations: 1.09 MB / 0.5837 GB, free: 60.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/1.542, allocations: 1.671 MB / 0.5853 GB, free: 58.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004702/1.547, allocations: 226.8 kB / 0.5855 GB, free: 58.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/1.548, allocations: 296.1 kB / 0.5858 GB, free: 58.21 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.001565/1.55, allocations: 471.1 kB / 0.5863 GB, free: 57.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006074/1.551, allocations: 244.8 kB / 0.5865 GB, free: 57.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006359/1.557, allocations: 2.505 MB / 0.5889 GB, free: 55.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.61e-05/1.557, allocations: 25.09 kB / 0.589 GB, free: 55.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.557, allocations: 0 / 0.589 GB, free: 55.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-05/1.557, allocations: 7.828 kB / 0.589 GB, free: 55.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02169/1.579, allocations: 8.148 MB / 0.5969 GB, free: 48.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/1.579, allocations: 16.25 kB / 0.5969 GB, free: 48.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.581, allocations: 254.1 kB / 0.5972 GB, free: 48.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/1.581, allocations: 63.33 kB / 0.5972 GB, free: 48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003317/1.582, allocations: 44.83 kB / 0.5973 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/1.583, allocations: 1.484 MB / 0.5987 GB, free: 46.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/1.583, allocations: 15.94 kB / 0.5988 GB, free: 46.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00832/1.592, allocations: 4.868 MB / 0.6035 GB, free: 41.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.593, allocations: 0.5032 MB / 0.604 GB, free: 41.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006469/1.594, allocations: 39.2 kB / 0.604 GB, free: 40.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.596, allocations: 58.38 kB / 0.6041 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/1.596, allocations: 126.8 kB / 0.6042 GB, free: 40.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.596, allocations: 67.42 kB / 0.6043 GB, free: 40.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00353/1.6, allocations: 1.575 MB / 0.6058 GB, free: 39.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.6, allocations: 0 / 0.6058 GB, free: 39.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005547/1.606, allocations: 0.828 MB / 0.6066 GB, free: 38.57 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.008912/1.614, allocations: 8.218 MB / 0.6146 GB, free: 30.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00805/1.623, allocations: 3.804 MB / 0.6184 GB, free: 26.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.623, allocations: 4 kB / 0.6184 GB, free: 26.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/1.625, allocations: 1.221 MB / 0.6196 GB, free: 25.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/1.628, allocations: 309 kB / 0.6199 GB, free: 25.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02617/1.654, allocations: 8.449 MB / 0.6281 GB, free: 18.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007046/1.661, allocations: 3.272 MB / 0.6313 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007568/1.669, allocations: 1.724 MB / 0.633 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003886/1.673, allocations: 1.754 MB / 0.6347 GB, free: 12.82 MB / 426.7 MB Notification: Performance of SimCode: time 3.026e-06/1.673, allocations: 0 / 0.6347 GB, free: 12.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4612/2.134, allocations: 56.97 MB / 0.6903 GB, free: 96.18 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/2.134, allocations: 164 kB / 0.6905 GB, free: 95.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.536/6.67, allocations: 0 / 0.6905 GB, free: 95.96 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