Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.266/2.266, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.563e-05, allocations: 2.281 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 44.52 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5154/0.6238, allocations: 92.08 MB / 386.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/0.6242, allocations: 88.19 kB / 386.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.574/1.198, allocations: 104 MB / 490.4 MB, free: 13.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.198, allocations: 0 / 490.4 MB, free: 13.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004988/1.199, allocations: 104 kB / 490.5 MB, free: 13 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.02696/1.226, allocations: 5.259 MB / 495.8 MB, free: 7.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/1.226, allocations: 12.03 kB / 495.8 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06504/1.291, allocations: 6.939 MB / 0.491 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3678/1.659, allocations: 6.789 MB / 0.4976 GB, free: 71.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004795/1.659, allocations: 173.3 kB / 0.4978 GB, free: 71.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003199/1.663, allocations: 328.5 kB / 0.4981 GB, free: 71.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02335/1.686, allocations: 7.557 MB / 0.5054 GB, free: 71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03163/1.718, allocations: 11.32 MB / 0.5165 GB, free: 67.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003691/1.718, allocations: 77.08 kB / 0.5166 GB, free: 67.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00193/1.72, allocations: 34.47 kB / 0.5166 GB, free: 67.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00267/1.723, allocations: 1.128 MB / 0.5177 GB, free: 67.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08942/1.812, allocations: 55.96 MB / 0.5723 GB, free: 31.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007182/1.819, allocations: 3.494 MB / 0.5758 GB, free: 29.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00469/1.824, allocations: 2.271 MB / 0.578 GB, free: 28.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006618/1.825, allocations: 333.5 kB / 0.5783 GB, free: 28.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/1.825, allocations: 63.28 kB / 0.5784 GB, free: 28.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 6.312e-06/1.825, allocations: 0 / 0.5784 GB, free: 28.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=228): time 0.07874/1.904, allocations: 19.96 MB / 0.5978 GB, free: 19.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/1.904, allocations: 200.1 kB / 0.598 GB, free: 19.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009831/1.914, allocations: 3.651 MB / 0.6016 GB, free: 17.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005613/1.914, allocations: 29.7 kB / 0.6016 GB, free: 17.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003589/1.918, allocations: 3.814 MB / 0.6054 GB, free: 13.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001443/1.919, allocations: 0.8356 MB / 0.6062 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008687/1.92, allocations: 0 / 0.6062 GB, free: 12.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005066/1.921, allocations: 0.6001 MB / 0.6068 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005677/1.926, allocations: 2.169 MB / 0.6089 GB, free: 10.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008611/1.935, allocations: 6.232 MB / 0.615 GB, free: 2.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009527/1.945, allocations: 3.68 MB / 0.6186 GB, free: 15.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002143/1.945, allocations: 44 kB / 0.6186 GB, free: 15.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03246/1.977, allocations: 8.228 MB / 0.6266 GB, free: 8.395 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002054/1.978, allocations: 68 kB / 0.6267 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003957/1.978, allocations: 148 kB / 0.6268 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02714/2.005, allocations: 0.9512 MB / 0.6278 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04234/2.048, allocations: 1.576 MB / 0.6293 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02732/2.075, allocations: 7.271 MB / 0.6364 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/2.089, allocations: 230.2 kB / 0.6366 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002567/2.091, allocations: 415 kB / 0.637 GB, free: 14.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 42 (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 (832): * Single equations (assignments): 827 * 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 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003735/2.095, allocations: 473.4 kB / 0.6375 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01944/2.115, allocations: 3.765 MB / 0.6412 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00224/2.117, allocations: 398.8 kB / 0.6415 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/2.135, allocations: 3.479 MB / 0.6449 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001204/2.135, allocations: 28.89 kB / 0.645 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.691e-05/2.135, allocations: 8 kB / 0.645 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.408e-05/2.135, allocations: 10.73 kB / 0.645 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04297/2.178, allocations: 8.565 MB / 0.6533 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-05/2.178, allocations: 3.141 kB / 0.6533 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005352/2.184, allocations: 354 kB / 0.6537 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006258/2.19, allocations: 0.6833 MB / 0.6543 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006383/2.191, allocations: 7.938 kB / 0.6544 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4075/2.598, allocations: 6.215 MB / 0.6604 GB, free: 89.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/2.598, allocations: 5.469 kB / 0.6604 GB, free: 89.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/2.617, allocations: 6.316 MB / 0.6666 GB, free: 88.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003104/2.62, allocations: 0.7148 MB / 0.6673 GB, free: 88.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/2.622, allocations: 4.531 kB / 0.6673 GB, free: 88.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004139/2.626, allocations: 80.38 kB / 0.6674 GB, free: 88.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000937/2.627, allocations: 134.4 kB / 0.6675 GB, free: 88.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003119/2.627, allocations: 60.02 kB / 0.6676 GB, free: 88.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007342/2.634, allocations: 2.48 MB / 0.67 GB, free: 88.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.72e-07/2.634, allocations: 3.75 kB / 0.67 GB, free: 88.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00934/2.644, allocations: 1.032 MB / 0.671 GB, free: 88.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (179): * Single equations (assignments): 174 * 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 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01787/2.662, allocations: 7.334 MB / 0.6782 GB, free: 86.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01406/2.676, allocations: 5.467 MB / 0.6835 GB, free: 86.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/2.676, allocations: 2.531 kB / 0.6835 GB, free: 86.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005467/2.681, allocations: 1.94 MB / 0.6854 GB, free: 86.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/2.686, allocations: 445.7 kB / 0.6858 GB, free: 86.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03825/2.724, allocations: 10.83 MB / 0.6964 GB, free: 84.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01028/2.735, allocations: 4.109 MB / 0.7004 GB, free: 83.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01185/2.747, allocations: 2.178 MB / 0.7025 GB, free: 83.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006573/2.753, allocations: 2.44 MB / 0.7049 GB, free: 83.03 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/2.753, allocations: 0 / 0.7049 GB, free: 83.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.251/3.004, allocations: 86.27 MB / 0.7892 GB, free: 26.73 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002996/3.005, allocations: 177.6 kB / 0.7893 GB, free: 26.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.353/10.36, allocations: 4 kB / 0.7893 GB, free: 26.52 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat does not exist to compare? outputFormat=mat