Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.175e-05, allocations: 0 / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09709, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.535, allocations: 92.75 MB / 392.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.5354, allocations: 84.27 kB / 392.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4431/0.9785, allocations: 106.4 MB / 499.2 MB, free: 4.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.9786, allocations: 0 / 499.2 MB, free: 4.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005439/0.9791, allocations: 108 kB / 499.3 MB, free: 4.672 MB / 378.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.02916/1.008, allocations: 5.259 MB / 0.4927 GB, free: 15.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.702e-05/1.008, allocations: 8.031 kB / 0.4927 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005547/1.014, allocations: 0.9387 MB / 0.4936 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06313/1.077, allocations: 6.935 MB / 0.5004 GB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02706/1.104, allocations: 6.808 MB / 0.5071 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006532/1.105, allocations: 406.7 kB / 0.5074 GB, free: 168 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3276/1.433, allocations: 0.5304 MB / 0.508 GB, free: 63.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04364/1.476, allocations: 12.66 MB / 0.5203 GB, free: 60.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004886/1.477, allocations: 75.53 kB / 0.5204 GB, free: 60.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002591/1.479, allocations: 256.7 kB / 0.5206 GB, free: 60.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002718/1.482, allocations: 1.128 MB / 0.5217 GB, free: 60.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03092/1.513, allocations: 10.29 MB / 0.5318 GB, free: 60.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08298/1.596, allocations: 57.08 MB / 0.5875 GB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/1.614, allocations: 4.375 MB / 0.5918 GB, free: 37.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004741/1.619, allocations: 2.372 MB / 0.5941 GB, free: 36.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02431/1.643, allocations: 9.969 MB / 0.6039 GB, free: 31.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/1.643, allocations: 58.86 kB / 0.6039 GB, free: 31.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 5.531e-06/1.643, allocations: 0 / 0.6039 GB, free: 31.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.07017/1.713, allocations: 16.17 MB / 0.6197 GB, free: 25.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/1.713, allocations: 201 kB / 0.6199 GB, free: 25.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009555/1.723, allocations: 4.186 MB / 0.624 GB, free: 22.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004934/1.723, allocations: 53.7 kB / 0.624 GB, free: 22.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003112/1.727, allocations: 3.764 MB / 0.6277 GB, free: 18.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001192/1.728, allocations: 0.8314 MB / 0.6285 GB, free: 18.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006837/1.729, allocations: 129.1 kB / 0.6286 GB, free: 18.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004541/1.729, allocations: 0.5876 MB / 0.6292 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005104/1.734, allocations: 2.187 MB / 0.6314 GB, free: 15.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009264/1.743, allocations: 6.127 MB / 0.6373 GB, free: 7.895 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008958/1.752, allocations: 3.643 MB / 0.6409 GB, free: 4.836 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/1.753, allocations: 40 kB / 0.6409 GB, free: 4.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.03003/1.783, allocations: 9.024 MB / 0.6498 GB, free: 13.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/1.783, allocations: 67.94 kB / 0.6498 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002127/1.783, allocations: 144.1 kB / 0.65 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004615/1.788, allocations: 0.9264 MB / 0.6509 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009877/1.798, allocations: 1.512 MB / 0.6523 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.813, allocations: 7.418 MB / 0.6596 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007308/1.82, allocations: 350.7 kB / 0.6599 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.822, allocations: 395.7 kB / 0.6603 GB, free: 3.742 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * 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 (795): * Single equations (assignments): 790 * 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.001556/1.823, allocations: 0.6086 MB / 0.6609 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.824, allocations: 426.5 kB / 0.6613 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3047/2.129, allocations: 3.553 MB / 0.6648 GB, free: 85.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-05/2.129, allocations: 23.38 kB / 0.6648 GB, free: 85.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/2.129, allocations: 7.469 kB / 0.6648 GB, free: 85.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-05/2.129, allocations: 8.766 kB / 0.6648 GB, free: 85.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03199/2.161, allocations: 9.227 MB / 0.6738 GB, free: 84.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-05/2.161, allocations: 8.219 kB / 0.6738 GB, free: 84.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003546/2.165, allocations: 341.5 kB / 0.6741 GB, free: 84.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004086/2.169, allocations: 0.6886 MB / 0.6748 GB, free: 84.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005065/2.17, allocations: 36.97 kB / 0.6748 GB, free: 84.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/2.182, allocations: 6.552 MB / 0.6812 GB, free: 81.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/2.182, allocations: 0 / 0.6812 GB, free: 81.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/2.197, allocations: 6.257 MB / 0.6874 GB, free: 81.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003055/2.2, allocations: 0.7378 MB / 0.6881 GB, free: 81.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/2.201, allocations: 32.8 kB / 0.6881 GB, free: 81.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003783/2.205, allocations: 112.2 kB / 0.6882 GB, free: 81.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008012/2.206, allocations: 130.8 kB / 0.6883 GB, free: 81.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/2.206, allocations: 61.14 kB / 0.6884 GB, free: 81.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007578/2.214, allocations: 2.947 MB / 0.6913 GB, free: 80.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.383e-06/2.214, allocations: 3.875 kB / 0.6913 GB, free: 80.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007859/2.222, allocations: 1.185 MB / 0.6924 GB, free: 80.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (169): * Single equations (assignments): 164 * 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.01538/2.237, allocations: 7.116 MB / 0.6994 GB, free: 79.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01341/2.251, allocations: 5.642 MB / 0.7049 GB, free: 79.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/2.251, allocations: 0 / 0.7049 GB, free: 79.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004974/2.256, allocations: 1.955 MB / 0.7068 GB, free: 79.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004405/2.26, allocations: 0.5294 MB / 0.7073 GB, free: 79.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03366/2.294, allocations: 11.01 MB / 0.7181 GB, free: 75.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007449/2.301, allocations: 4.103 MB / 0.7221 GB, free: 73.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009686/2.311, allocations: 2.104 MB / 0.7241 GB, free: 73.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005735/2.317, allocations: 2.457 MB / 0.7265 GB, free: 71.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/2.317, allocations: 0 / 0.7265 GB, free: 71.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2334/2.55, allocations: 92.32 MB / 0.8167 GB, free: 5.637 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2973/2.848, allocations: 199.3 kB / 0.8169 GB, free: 102.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.096/8.944, allocations: 0 / 0.8169 GB, free: 102.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat does not exist to compare? outputFormat=mat