Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.GearConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.771e-05, allocations: 4 kB / 299.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3671, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.556, allocations: 103.3 MB / 457.7 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.5563, allocations: 75.95 kB / 457.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9994/1.556, allocations: 159.9 MB / 0.6032 GB, free: 22.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.556, allocations: 3.938 kB / 0.6032 GB, free: 22.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004423/1.556, allocations: 152 kB / 0.6033 GB, free: 22.8 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: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.02819/1.584, allocations: 7.504 MB / 0.6107 GB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.584, allocations: 8.031 kB / 0.6107 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07218/1.657, allocations: 10.06 MB / 0.6205 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03017/1.687, allocations: 8.404 MB / 0.6287 GB, free: 12.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005822/1.688, allocations: 272 kB / 0.629 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004714/1.692, allocations: 495.8 kB / 0.6294 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03635/1.729, allocations: 13.11 MB / 0.6422 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05582/1.785, allocations: 18.79 MB / 0.6606 GB, free: 10.51 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004715/1.785, allocations: 83.22 kB / 0.6607 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004138/1.789, allocations: 47.98 kB / 0.6607 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005298/1.795, allocations: 2.112 MB / 0.6628 GB, free: 8.266 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4837/2.278, allocations: 81.01 MB / 0.7419 GB, free: 49.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/2.292, allocations: 8.067 MB / 0.7498 GB, free: 46.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009566/2.301, allocations: 4.98 MB / 0.7546 GB, free: 44.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004815/2.302, allocations: 67.7 kB / 0.7547 GB, free: 44.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/2.302, allocations: 79.42 kB / 0.7548 GB, free: 44.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=452): time 9.819e-06/2.302, allocations: 0 / 0.7548 GB, free: 44.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=499): time 0.1161/2.418, allocations: 36.51 MB / 0.7904 GB, free: 27.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/2.418, allocations: 233 kB / 0.7906 GB, free: 27.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/2.431, allocations: 5.135 MB / 0.7957 GB, free: 22.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001159/2.432, allocations: 25.7 kB / 0.7957 GB, free: 22.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005176/2.437, allocations: 5.834 MB / 0.8014 GB, free: 17.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002944/2.44, allocations: 1.765 MB / 0.8031 GB, free: 16.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00177/2.442, allocations: 3.188 kB / 0.8031 GB, free: 16.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001101/2.443, allocations: 0.8212 MB / 0.8039 GB, free: 15.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01147/2.455, allocations: 4.642 MB / 0.8084 GB, free: 11.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01636/2.471, allocations: 11.15 MB / 0.8193 GB, free: 13.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/2.49, allocations: 7.242 MB / 0.8264 GB, free: 7.945 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003122/2.49, allocations: 68 kB / 0.8265 GB, free: 7.879 MB / 490.7 MB Notification: Performance of matching and sorting (n=1557) (initialization): time 0.05104/2.541, allocations: 15.85 MB / 0.8419 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002132/2.542, allocations: 104 kB / 0.842 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000455/2.542, allocations: 234.8 kB / 0.8423 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008076/2.55, allocations: 1.71 MB / 0.8439 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01922/2.569, allocations: 2.73 MB / 0.8466 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4299/2.999, allocations: 13.17 MB / 0.8595 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/3.011, allocations: 476.5 kB / 0.8599 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003211/3.015, allocations: 0.6657 MB / 0.8606 GB, free: 105.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1048 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1433): * Single equations (assignments): 1420 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004648/3.019, allocations: 0.6752 MB / 0.8612 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02382/3.043, allocations: 8.688 MB / 0.8697 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/3.045, allocations: 0.5867 MB / 0.8703 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02444/3.07, allocations: 9.14 MB / 0.8792 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002068/3.07, allocations: 93.3 kB / 0.8793 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.197e-05/3.07, allocations: 14.25 kB / 0.8793 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/3.07, allocations: 23.02 kB / 0.8793 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05628/3.127, allocations: 19.7 MB / 0.8986 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.619e-05/3.127, allocations: 11.62 kB / 0.8986 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007512/3.134, allocations: 0.7959 MB / 0.8994 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006603/3.141, allocations: 1.34 MB / 0.9007 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001127/3.142, allocations: 29.56 kB / 0.9007 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/3.162, allocations: 12.12 MB / 0.9125 GB, free: 95.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-05/3.162, allocations: 16.44 kB / 0.9125 GB, free: 95.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03297/3.195, allocations: 16.58 MB / 0.9287 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005069/3.2, allocations: 1.327 MB / 0.93 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002723/3.202, allocations: 15.98 kB / 0.93 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006519/3.209, allocations: 243.8 kB / 0.9303 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00176/3.211, allocations: 299.8 kB / 0.9306 GB, free: 86.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009944/3.212, allocations: 131.8 kB / 0.9307 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008886/3.221, allocations: 3.419 MB / 0.934 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.82e-07/3.221, allocations: 0 / 0.934 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01434/3.235, allocations: 1.746 MB / 0.9357 GB, free: 85.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (383): * Single equations (assignments): 370 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.037/3.272, allocations: 19.44 MB / 0.9547 GB, free: 70.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02508/3.297, allocations: 11.45 MB / 0.9659 GB, free: 60.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/3.297, allocations: 0 / 0.9659 GB, free: 60.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0107/3.308, allocations: 4.674 MB / 0.9705 GB, free: 56.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005771/3.314, allocations: 0.5458 MB / 0.971 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06672/3.381, allocations: 19.61 MB / 0.9901 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01718/3.398, allocations: 6.257 MB / 0.9963 GB, free: 34.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01943/3.417, allocations: 4.28 MB / 1 GB, free: 31.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01042/3.428, allocations: 4.068 MB / 1.004 GB, free: 28.08 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/3.428, allocations: 0 / 1.004 GB, free: 28.08 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7348/4.163, allocations: 140.5 MB / 1.142 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/4.163, allocations: 136 kB / 1.142 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/12.28, allocations: 0 / 1.142 GB, free: 75.27 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat does not exist to compare? outputFormat=mat