Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.164/2.164, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.815e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5405/0.6524, allocations: 94.88 MB / 416.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/0.6528, allocations: 75.95 kB / 416.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7554/1.408, allocations: 97.47 MB / 0.5023 GB, free: 95.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.408, allocations: 1.375 kB / 0.5023 GB, free: 95.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002517/1.409, allocations: 89.75 kB / 0.5023 GB, free: 95.56 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.02639/1.435, allocations: 4.636 MB / 0.5069 GB, free: 93.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/1.435, allocations: 12.88 kB / 0.5069 GB, free: 93.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005232/1.44, allocations: 0.9421 MB / 0.5078 GB, free: 93.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02843/1.469, allocations: 3.624 MB / 0.5113 GB, free: 93.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02023/1.489, allocations: 4.888 MB / 0.5161 GB, free: 92.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006362/1.49, allocations: 380.9 kB / 0.5165 GB, free: 92.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/1.493, allocations: 499.3 kB / 0.517 GB, free: 92.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03821/1.531, allocations: 12.04 MB / 0.5287 GB, free: 91.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003879/1.532, allocations: 42.28 kB / 0.5288 GB, free: 91.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003293/1.535, allocations: 219 kB / 0.529 GB, free: 91.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002937/1.538, allocations: 1.321 MB / 0.5303 GB, free: 91.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/1.572, allocations: 11.21 MB / 0.5412 GB, free: 90.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08611/1.658, allocations: 41.9 MB / 0.5821 GB, free: 64.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/1.674, allocations: 4.888 MB / 0.5869 GB, free: 61.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005045/1.679, allocations: 2.35 MB / 0.5892 GB, free: 58.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01623/1.695, allocations: 6.562 MB / 0.5956 GB, free: 53.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/1.695, allocations: 56.12 kB / 0.5956 GB, free: 53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=228): time 6.893e-06/1.695, allocations: 0 / 0.5956 GB, free: 53 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.05785/1.753, allocations: 13.61 MB / 0.6089 GB, free: 41.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/1.753, allocations: 73.16 kB / 0.609 GB, free: 41.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006435/1.76, allocations: 2.82 MB / 0.6118 GB, free: 38.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005583/1.76, allocations: 53.7 kB / 0.6118 GB, free: 38.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002661/1.763, allocations: 3.278 MB / 0.615 GB, free: 35.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/1.765, allocations: 0.8875 MB / 0.6159 GB, free: 34.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008819/1.766, allocations: 116 kB / 0.616 GB, free: 34.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005688/1.766, allocations: 0.5639 MB / 0.6165 GB, free: 34.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00603/1.772, allocations: 2.332 MB / 0.6188 GB, free: 32.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008512/1.781, allocations: 5.657 MB / 0.6243 GB, free: 25.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008239/1.789, allocations: 3.678 MB / 0.6279 GB, free: 22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/1.789, allocations: 36 kB / 0.628 GB, free: 21.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02503/1.814, allocations: 8.485 MB / 0.6363 GB, free: 13.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.492e-05/1.815, allocations: 60.03 kB / 0.6363 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/1.815, allocations: 127.9 kB / 0.6364 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006413/1.821, allocations: 1.16 MB / 0.6376 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008612/1.83, allocations: 1.372 MB / 0.6389 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008548/1.838, allocations: 4.584 MB / 0.6434 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006364/1.845, allocations: 319.8 kB / 0.6437 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/1.846, allocations: 359.1 kB / 0.644 GB, free: 5.371 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (742): * Single equations (assignments): 734 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.001847/1.848, allocations: 0.5388 MB / 0.6446 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000776/1.849, allocations: 300.1 kB / 0.6448 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.861, allocations: 4.394 MB / 0.6491 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001126/1.862, allocations: 47.81 kB / 0.6492 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.862, allocations: 4 kB / 0.6492 GB, free: 60 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.279e-05/1.862, allocations: 11.95 kB / 0.6492 GB, free: 48 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03507/1.897, allocations: 10.39 MB / 0.6593 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.07e-05/1.897, allocations: 8 kB / 0.6593 GB, free: 5.566 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003896/1.901, allocations: 387.5 kB / 0.6597 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003793/1.905, allocations: 0.6734 MB / 0.6604 GB, free: 4.504 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006227/1.905, allocations: 43.98 kB / 0.6604 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004624/1.91, allocations: 2.412 MB / 0.6628 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.91, allocations: 4 kB / 0.6628 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.348/2.258, allocations: 7.123 MB / 0.6697 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/2.26, allocations: 355 kB / 0.6701 GB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001849/2.261, allocations: 40.56 kB / 0.6701 GB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005341/2.267, allocations: 141.5 kB / 0.6702 GB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001196/2.268, allocations: 132 kB / 0.6704 GB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006215/2.269, allocations: 73.56 kB / 0.6704 GB, free: 99.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009008/2.278, allocations: 1.899 MB / 0.6723 GB, free: 99.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.134e-06/2.278, allocations: 0 / 0.6723 GB, free: 99.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01136/2.289, allocations: 1.071 MB / 0.6733 GB, free: 99.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02936/2.319, allocations: 8.907 MB / 0.682 GB, free: 96.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02105/2.34, allocations: 5.557 MB / 0.6875 GB, free: 96.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/2.34, allocations: 1.203 kB / 0.6875 GB, free: 96.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0104/2.35, allocations: 2.381 MB / 0.6898 GB, free: 96.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005419/2.356, allocations: 414.5 kB / 0.6902 GB, free: 96.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05176/2.408, allocations: 11.03 MB / 0.701 GB, free: 94.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01227/2.42, allocations: 3.825 MB / 0.7047 GB, free: 93.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01356/2.434, allocations: 2.056 MB / 0.7067 GB, free: 93.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007821/2.442, allocations: 2.109 MB / 0.7088 GB, free: 91.82 MB / 442.7 MB Notification: Performance of SimCode: time 2.134e-06/2.442, allocations: 3 kB / 0.7088 GB, free: 91.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1803/2.622, allocations: 76.17 MB / 0.7831 GB, free: 43.89 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/2.622, allocations: 190.3 kB / 0.7833 GB, free: 43.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.087/7.709, allocations: 0 / 0.7833 GB, free: 43.66 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat