Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.56/2.56, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.985e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4202, allocations: 58.82 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.6205, allocations: 106.6 MB / 488.9 MB, free: 1.902 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.6209, allocations: 75.97 kB / 488.9 MB, free: 1.828 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8495/1.47, allocations: 95.23 MB / 0.5705 GB, free: 105 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.454e-06/1.47, allocations: 4 kB / 0.5705 GB, free: 105 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004271/1.471, allocations: 84 kB / 0.5706 GB, free: 104.9 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01885/1.49, allocations: 4.622 MB / 0.5751 GB, free: 100.2 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.49, allocations: 8.031 kB / 0.5751 GB, free: 100.2 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004192/1.494, allocations: 0.9041 MB / 0.576 GB, free: 99.32 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04917/1.543, allocations: 6.743 MB / 0.5826 GB, free: 92.56 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02343/1.567, allocations: 6.317 MB / 0.5887 GB, free: 86.27 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/1.567, allocations: 336.5 kB / 0.589 GB, free: 85.96 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/1.57, allocations: 439.6 kB / 0.5895 GB, free: 85.56 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03365/1.603, allocations: 10.94 MB / 0.6001 GB, free: 73.68 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003202/1.604, allocations: 63.39 kB / 0.6002 GB, free: 73.62 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001809/1.606, allocations: 216.7 kB / 0.6004 GB, free: 73.43 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002238/1.608, allocations: 1.021 MB / 0.6014 GB, free: 72.41 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02824/1.636, allocations: 8.992 MB / 0.6102 GB, free: 63.41 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06704/1.703, allocations: 47.68 MB / 0.6568 GB, free: 14.37 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/1.721, allocations: 4.076 MB / 0.6607 GB, free: 10.14 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003815/1.725, allocations: 1.787 MB / 0.6625 GB, free: 8.344 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01726/1.742, allocations: 7.513 MB / 0.6698 GB, free: 468 kB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/1.742, allocations: 51.56 kB / 0.6699 GB, free: 404 kB / 458.8 MB Notification: Performance of pre-optimization done (n=180): time 6.602e-06/1.742, allocations: 0 / 0.6699 GB, free: 404 kB / 458.8 MB Notification: Performance of matching and sorting (n=236): time 0.1821/1.924, allocations: 25.7 MB / 0.695 GB, free: 6.652 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.924, allocations: 209.9 kB / 0.6952 GB, free: 6.406 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.935, allocations: 3.781 MB / 0.6989 GB, free: 2.605 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007104/1.935, allocations: 57.7 kB / 0.6989 GB, free: 2.543 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00402/1.94, allocations: 3.242 MB / 0.7021 GB, free: 15.25 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001817/1.941, allocations: 0.879 MB / 0.7029 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009858/1.942, allocations: 127.9 kB / 0.7031 GB, free: 14.24 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005995/1.943, allocations: 0.5706 MB / 0.7036 GB, free: 13.66 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009184/1.952, allocations: 3.363 MB / 0.7069 GB, free: 10.29 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01297/1.965, allocations: 6.955 MB / 0.7137 GB, free: 1.535 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3669/2.332, allocations: 4.75 MB / 0.7183 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/2.332, allocations: 36.09 kB / 0.7184 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.06323/2.396, allocations: 14.99 MB / 0.733 GB, free: 133.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/2.396, allocations: 62.28 kB / 0.7331 GB, free: 133.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/2.396, allocations: 126.8 kB / 0.7332 GB, free: 133.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0416/2.438, allocations: 5.93 MB / 0.739 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009766/2.447, allocations: 1.43 MB / 0.7404 GB, free: 133.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06476/2.512, allocations: 24.97 MB / 0.7648 GB, free: 122.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01236/2.525, allocations: 392.5 kB / 0.7651 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001991/2.527, allocations: 376.7 kB / 0.7655 GB, free: 122.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 741 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002893/2.53, allocations: 0.583 MB / 0.7661 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/2.531, allocations: 407.2 kB / 0.7664 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05982/2.591, allocations: 10.76 MB / 0.777 GB, free: 115.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.637e-05/2.591, allocations: 24.78 kB / 0.777 GB, free: 115.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/2.591, allocations: 14.22 kB / 0.777 GB, free: 115.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.113e-05/2.591, allocations: 12.47 kB / 0.777 GB, free: 115.1 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07/2.661, allocations: 20.14 MB / 0.7967 GB, free: 96.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.223e-05/2.662, allocations: 11.91 kB / 0.7967 GB, free: 96.44 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003841/2.665, allocations: 375.4 kB / 0.797 GB, free: 96.07 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03644/2.702, allocations: 4.998 MB / 0.8019 GB, free: 91.08 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006167/2.702, allocations: 43.98 kB / 0.802 GB, free: 91.04 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04148/2.744, allocations: 20.15 MB / 0.8216 GB, free: 70.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/2.744, allocations: 11.89 kB / 0.8217 GB, free: 70.72 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05265/2.797, allocations: 14.5 MB / 0.8358 GB, free: 55.92 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003593/2.8, allocations: 0.9591 MB / 0.8368 GB, free: 54.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/2.802, allocations: 47.83 kB / 0.8368 GB, free: 54.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005315/2.807, allocations: 164.6 kB / 0.837 GB, free: 54.74 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/2.809, allocations: 153.1 kB / 0.8371 GB, free: 54.59 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004411/2.809, allocations: 68.69 kB / 0.8372 GB, free: 54.53 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008049/2.817, allocations: 2.656 MB / 0.8398 GB, free: 51.86 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.61e-07/2.817, allocations: 0 / 0.8398 GB, free: 51.86 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008988/2.826, allocations: 1.326 MB / 0.8411 GB, free: 50.55 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05467/2.881, allocations: 16.3 MB / 0.857 GB, free: 34.08 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01714/2.898, allocations: 7.652 MB / 0.8644 GB, free: 26.45 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.898, allocations: 4 kB / 0.8645 GB, free: 26.45 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006729/2.905, allocations: 3.035 MB / 0.8674 GB, free: 23.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/2.909, allocations: 488.4 kB / 0.8679 GB, free: 22.94 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/2.944, allocations: 11.42 MB / 0.879 GB, free: 11.43 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007261/2.952, allocations: 3.619 MB / 0.8826 GB, free: 7.805 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008969/2.961, allocations: 1.968 MB / 0.8845 GB, free: 5.84 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005151/2.966, allocations: 2.081 MB / 0.8865 GB, free: 3.758 MB / 0.4949 GB Notification: Performance of SimCode: time 1.563e-06/2.966, allocations: 0 / 0.8865 GB, free: 3.758 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6279/3.594, allocations: 109.3 MB / 0.9932 GB, free: 93.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/3.594, allocations: 182 kB / 0.9934 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.169/9.763, allocations: 3.938 kB / 0.9934 GB, free: 93.18 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat