Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.556e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.411, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.6009, allocations: 102.1 MB / 456.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.6012, allocations: 87.89 kB / 456.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7897/1.391, allocations: 115.8 MB / 0.5589 GB, free: 69.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.391, allocations: 0 / 0.5589 GB, free: 69.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004457/1.391, allocations: 123.1 kB / 0.5591 GB, free: 69.12 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: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.02516/1.417, allocations: 5.937 MB / 0.5649 GB, free: 63.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/1.417, allocations: 12.03 kB / 0.5649 GB, free: 63.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0496/1.466, allocations: 6.997 MB / 0.5717 GB, free: 56.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02682/1.493, allocations: 7.793 MB / 0.5793 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004015/1.494, allocations: 188 kB / 0.5795 GB, free: 48.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003021/1.497, allocations: 347.8 kB / 0.5798 GB, free: 47.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01965/1.516, allocations: 8.209 MB / 0.5878 GB, free: 39.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03114/1.548, allocations: 12.41 MB / 0.6 GB, free: 25.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000412/1.548, allocations: 87.23 kB / 0.6 GB, free: 25.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002455/1.551, allocations: 36 kB / 0.6001 GB, free: 25.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002735/1.553, allocations: 1.321 MB / 0.6014 GB, free: 24.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09951/1.653, allocations: 59.42 MB / 0.6594 GB, free: 11.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/1.664, allocations: 4.881 MB / 0.6642 GB, free: 6.359 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006827/1.671, allocations: 3.219 MB / 0.6673 GB, free: 3.129 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/1.672, allocations: 0.6877 MB / 0.668 GB, free: 2.332 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/1.672, allocations: 72.47 kB / 0.6681 GB, free: 2.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=254): time 8.526e-06/1.672, allocations: 0 / 0.6681 GB, free: 2.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.4582/2.13, allocations: 29.91 MB / 0.6973 GB, free: 110.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/2.13, allocations: 272.6 kB / 0.6975 GB, free: 110.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008819/2.139, allocations: 3.919 MB / 0.7013 GB, free: 109.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009668/2.14, allocations: 29.2 kB / 0.7014 GB, free: 109.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003857/2.144, allocations: 4.112 MB / 0.7054 GB, free: 107.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001948/2.146, allocations: 1.155 MB / 0.7065 GB, free: 106.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009569/2.147, allocations: 0 / 0.7065 GB, free: 106.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005023/2.148, allocations: 0.6437 MB / 0.7071 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007272/2.155, allocations: 3.149 MB / 0.7102 GB, free: 105.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00994/2.165, allocations: 7.495 MB / 0.7175 GB, free: 98.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/2.175, allocations: 4.823 MB / 0.7223 GB, free: 97.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001573/2.175, allocations: 46.31 kB / 0.7223 GB, free: 97.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.03303/2.208, allocations: 11.6 MB / 0.7336 GB, free: 93.49 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/2.209, allocations: 69.5 kB / 0.7337 GB, free: 93.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002223/2.209, allocations: 154.1 kB / 0.7338 GB, free: 93.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008879/2.218, allocations: 2.169 MB / 0.736 GB, free: 93.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/2.229, allocations: 1.799 MB / 0.7377 GB, free: 91.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02829/2.258, allocations: 13.61 MB / 0.751 GB, free: 79.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009243/2.267, allocations: 301.8 kB / 0.7513 GB, free: 79.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001947/2.269, allocations: 470.8 kB / 0.7517 GB, free: 78.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 700 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (956): * Single equations (assignments): 951 * Array equations: 3 * 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: 2 {(7,46.9%) 20,(7,46.9%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00233/2.271, allocations: 498.1 kB / 0.7522 GB, free: 78.47 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01877/2.29, allocations: 6.835 MB / 0.7589 GB, free: 72.72 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001771/2.292, allocations: 462 kB / 0.7593 GB, free: 72.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02032/2.312, allocations: 6.762 MB / 0.7659 GB, free: 66.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.358e-05/2.312, allocations: 32 kB / 0.766 GB, free: 66.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.088e-05/2.313, allocations: 12 kB / 0.766 GB, free: 66.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.065e-05/2.313, allocations: 18.2 kB / 0.766 GB, free: 66.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04279/2.355, allocations: 14.69 MB / 0.7803 GB, free: 54.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.122e-05/2.356, allocations: 4 kB / 0.7803 GB, free: 54.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004999/2.361, allocations: 0.5101 MB / 0.7808 GB, free: 54.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008391/2.369, allocations: 1.86 MB / 0.7827 GB, free: 52.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008699/2.37, allocations: 18.7 kB / 0.7827 GB, free: 52.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02477/2.395, allocations: 11.94 MB / 0.7943 GB, free: 42.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/2.395, allocations: 11.94 kB / 0.7943 GB, free: 42.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02543/2.42, allocations: 11.73 MB / 0.8058 GB, free: 30.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003725/2.424, allocations: 0.9948 MB / 0.8068 GB, free: 29.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/2.426, allocations: 23.94 kB / 0.8068 GB, free: 29.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004834/2.431, allocations: 167.7 kB / 0.807 GB, free: 29.44 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/2.432, allocations: 201.6 kB / 0.8071 GB, free: 29.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003696/2.432, allocations: 87.98 kB / 0.8072 GB, free: 29.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005834/2.438, allocations: 2.659 MB / 0.8098 GB, free: 26.51 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.21e-07/2.438, allocations: 0 / 0.8098 GB, free: 26.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009857/2.448, allocations: 1.287 MB / 0.8111 GB, free: 25.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * Array equations: 3 * 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: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0273/2.475, allocations: 13.75 MB / 0.8245 GB, free: 11.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02182/2.497, allocations: 8.486 MB / 0.8328 GB, free: 2.695 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/2.497, allocations: 4 kB / 0.8328 GB, free: 2.691 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01169/2.509, allocations: 3.777 MB / 0.8365 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/2.514, allocations: 0.4931 MB / 0.837 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3948/2.909, allocations: 13.79 MB / 0.8504 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/2.92, allocations: 4.52 MB / 0.8549 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01235/2.932, allocations: 2.514 MB / 0.8573 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007382/2.939, allocations: 2.783 MB / 0.86 GB, free: 120.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.886e-06/2.939, allocations: 2.875 kB / 0.86 GB, free: 120.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.254/3.194, allocations: 109.7 MB / 0.9671 GB, free: 50.61 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/3.194, allocations: 135.2 kB / 0.9673 GB, free: 50.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/9.872, allocations: 4 kB / 0.9673 GB, free: 50.41 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat