Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.096e-05, allocations: 4 kB / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4486, allocations: 54.85 MB / 354.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.6312, allocations: 100.9 MB / 455.3 MB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.6315, allocations: 75.97 kB / 455.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6967/1.328, allocations: 95.63 MB / 0.5381 GB, free: 89.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.328, allocations: 4 kB / 0.5381 GB, free: 89.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002155/1.329, allocations: 94.83 kB / 0.5382 GB, free: 89.75 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.02325/1.352, allocations: 4.628 MB / 0.5427 GB, free: 85.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/1.352, allocations: 20.02 kB / 0.5427 GB, free: 85.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02759/1.379, allocations: 3.624 MB / 0.5462 GB, free: 81.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01884/1.398, allocations: 4.879 MB / 0.551 GB, free: 76.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/1.399, allocations: 160.5 kB / 0.5512 GB, free: 76.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003169/1.402, allocations: 296.2 kB / 0.5514 GB, free: 76.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02021/1.422, allocations: 8.431 MB / 0.5597 GB, free: 67.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/1.454, allocations: 11.11 MB / 0.5705 GB, free: 56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002984/1.454, allocations: 31.66 kB / 0.5706 GB, free: 55.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00284/1.457, allocations: 16 kB / 0.5706 GB, free: 55.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002917/1.46, allocations: 1.322 MB / 0.5719 GB, free: 54.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08424/1.544, allocations: 39.38 MB / 0.6103 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007176/1.551, allocations: 4.288 MB / 0.6145 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004423/1.556, allocations: 2.284 MB / 0.6167 GB, free: 7.875 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/1.557, allocations: 1.326 MB / 0.618 GB, free: 6.344 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/1.557, allocations: 64.55 kB / 0.6181 GB, free: 6.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 6.542e-06/1.557, allocations: 0 / 0.6181 GB, free: 6.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=271): time 0.05161/1.609, allocations: 14.35 MB / 0.6321 GB, free: 7.699 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/1.609, allocations: 99.11 kB / 0.6322 GB, free: 7.582 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007153/1.616, allocations: 2.585 MB / 0.6347 GB, free: 4.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006394/1.617, allocations: 25.7 kB / 0.6347 GB, free: 4.949 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003748/1.621, allocations: 3.289 MB / 0.638 GB, free: 1.609 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001899/1.623, allocations: 0.9788 MB / 0.6389 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007679/1.624, allocations: 3.938 kB / 0.6389 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007165/1.624, allocations: 0.583 MB / 0.6395 GB, free: 24 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006539/1.631, allocations: 2.336 MB / 0.6418 GB, free: 13.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.642, allocations: 5.942 MB / 0.6476 GB, free: 5.945 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009798/1.652, allocations: 3.772 MB / 0.6513 GB, free: 2.172 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001442/1.652, allocations: 36 kB / 0.6513 GB, free: 2.137 MB / 458.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02827/1.68, allocations: 8.476 MB / 0.6596 GB, free: 9.648 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/1.68, allocations: 60 kB / 0.6596 GB, free: 9.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002142/1.681, allocations: 128.8 kB / 0.6597 GB, free: 9.465 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006321/1.687, allocations: 1.141 MB / 0.6609 GB, free: 8.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009874/1.697, allocations: 1.482 MB / 0.6623 GB, free: 6.836 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009815/1.707, allocations: 4.482 MB / 0.6667 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006391/1.713, allocations: 219.7 kB / 0.6669 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001716/1.715, allocations: 383.9 kB / 0.6673 GB, free: 1.621 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * 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 (801): * Single equations (assignments): 793 * 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.002288/1.717, allocations: 433.1 kB / 0.6677 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3413/2.059, allocations: 4.187 MB / 0.6718 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/2.06, allocations: 301.9 kB / 0.672 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/2.076, allocations: 4.77 MB / 0.6767 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001695/2.076, allocations: 48.17 kB / 0.6768 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/2.076, allocations: 2 kB / 0.6768 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-05/2.076, allocations: 10.27 kB / 0.6768 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02946/2.106, allocations: 10.61 MB / 0.6871 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/2.106, allocations: 11.12 kB / 0.6871 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003953/2.11, allocations: 445.4 kB / 0.6876 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003426/2.113, allocations: 0.6575 MB / 0.6882 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006371/2.114, allocations: 28.86 kB / 0.6882 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/2.118, allocations: 2.356 MB / 0.6905 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/2.118, allocations: 15.05 kB / 0.6905 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/2.135, allocations: 8.009 MB / 0.6984 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009825/2.136, allocations: 346.1 kB / 0.6987 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/2.137, allocations: 17.52 kB / 0.6987 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/2.14, allocations: 108.8 kB / 0.6988 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008623/2.141, allocations: 169.9 kB / 0.699 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000319/2.142, allocations: 83.7 kB / 0.6991 GB, free: 117.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004163/2.146, allocations: 1.684 MB / 0.7007 GB, free: 116.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.31e-07/2.146, allocations: 0 / 0.7007 GB, free: 116.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007435/2.153, allocations: 0.9426 MB / 0.7016 GB, free: 116.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (222): * Single equations (assignments): 213 * 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.01735/2.171, allocations: 10.91 MB / 0.7123 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01305/2.184, allocations: 5.77 MB / 0.7179 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/2.184, allocations: 2.062 kB / 0.7179 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006763/2.191, allocations: 2.521 MB / 0.7204 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/2.194, allocations: 312.7 kB / 0.7207 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03373/2.228, allocations: 11.29 MB / 0.7317 GB, free: 99.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008772/2.237, allocations: 3.834 MB / 0.7354 GB, free: 96.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01027/2.247, allocations: 2.267 MB / 0.7377 GB, free: 95.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009103/2.256, allocations: 2.15 MB / 0.7398 GB, free: 93.03 MB / 474.7 MB Notification: Performance of SimCode: time 3.546e-06/2.256, allocations: 0 / 0.7398 GB, free: 93.03 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2256/2.482, allocations: 73.76 MB / 0.8118 GB, free: 25.25 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/2.482, allocations: 151.1 kB / 0.8119 GB, free: 25.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.126/7.608, allocations: 0 / 0.8119 GB, free: 25.05 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat