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.857/1.857, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.783e-05, allocations: 3.984 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 44.5 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4388/0.5395, allocations: 92.76 MB / 392.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5398, allocations: 85.62 kB / 392.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4113/0.9512, allocations: 106.4 MB / 499.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.9512, allocations: 0 / 499.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004101/0.9516, allocations: 112 kB / 499.3 MB, free: 0.8125 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.02192/0.9736, allocations: 5.255 MB / 0.4928 GB, free: 11.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.9737, allocations: 8.031 kB / 0.4928 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003831/0.9775, allocations: 0.931 MB / 0.4937 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05222/1.03, allocations: 6.939 MB / 0.5004 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0255/1.055, allocations: 6.808 MB / 0.5071 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000507/1.056, allocations: 410.7 kB / 0.5075 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002534/1.058, allocations: 0.5426 MB / 0.508 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3402/1.399, allocations: 12.59 MB / 0.5203 GB, free: 71.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004573/1.399, allocations: 77.47 kB / 0.5204 GB, free: 71.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00222/1.401, allocations: 258.9 kB / 0.5206 GB, free: 71.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003902/1.405, allocations: 1.128 MB / 0.5217 GB, free: 71.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03582/1.441, allocations: 10.08 MB / 0.5316 GB, free: 71.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07664/1.518, allocations: 57.09 MB / 0.5873 GB, free: 37.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01695/1.535, allocations: 4.344 MB / 0.5916 GB, free: 36.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004378/1.539, allocations: 2.377 MB / 0.5939 GB, free: 35.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02135/1.561, allocations: 9.974 MB / 0.6036 GB, free: 30.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.561, allocations: 55.72 kB / 0.6037 GB, free: 30.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 6.602e-06/1.561, allocations: 0 / 0.6037 GB, free: 30.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.06635/1.627, allocations: 16.16 MB / 0.6195 GB, free: 24.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/1.627, allocations: 210.4 kB / 0.6197 GB, free: 24.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008235/1.635, allocations: 4.172 MB / 0.6237 GB, free: 22.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004836/1.636, allocations: 57.05 kB / 0.6238 GB, free: 22.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002994/1.639, allocations: 3.773 MB / 0.6275 GB, free: 19.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.64, allocations: 0.8226 MB / 0.6283 GB, free: 19.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005105/1.641, allocations: 133.3 kB / 0.6284 GB, free: 18.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003773/1.641, allocations: 0.59 MB / 0.629 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004673/1.646, allocations: 2.188 MB / 0.6311 GB, free: 17.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006935/1.653, allocations: 6.084 MB / 0.6371 GB, free: 11.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00758/1.66, allocations: 3.647 MB / 0.6406 GB, free: 10.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.239e-05/1.661, allocations: 40.16 kB / 0.6407 GB, free: 10.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02206/1.683, allocations: 8.409 MB / 0.6489 GB, free: 4.258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/1.683, allocations: 67.38 kB / 0.6489 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000149/1.683, allocations: 140.9 kB / 0.6491 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005827/1.689, allocations: 0.9406 MB / 0.65 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01401/1.703, allocations: 1.499 MB / 0.6515 GB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/1.725, allocations: 7.404 MB / 0.6587 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/1.737, allocations: 360.2 kB / 0.659 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/1.739, allocations: 394.8 kB / 0.6594 GB, free: 10.4 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.002511/1.742, allocations: 0.6158 MB / 0.66 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00171/1.743, allocations: 430.4 kB / 0.6604 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/1.76, allocations: 3.542 MB / 0.6639 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.43e-05/1.76, allocations: 24 kB / 0.6639 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-05/1.76, allocations: 8 kB / 0.6639 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.692e-05/1.761, allocations: 13.47 kB / 0.6639 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3223/2.083, allocations: 9.476 MB / 0.6732 GB, free: 83.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-05/2.083, allocations: 1.062 kB / 0.6732 GB, free: 83.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003688/2.087, allocations: 343.4 kB / 0.6735 GB, free: 83.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003961/2.091, allocations: 0.6871 MB / 0.6742 GB, free: 83.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003595/2.091, allocations: 34.19 kB / 0.6742 GB, free: 83.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/2.103, allocations: 6.552 MB / 0.6806 GB, free: 80.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.103, allocations: 3.844 kB / 0.6806 GB, free: 80.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/2.119, allocations: 6.252 MB / 0.6867 GB, free: 80.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002631/2.122, allocations: 0.7415 MB / 0.6874 GB, free: 79.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007881/2.122, allocations: 31.98 kB / 0.6875 GB, free: 79.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/2.125, allocations: 111.5 kB / 0.6876 GB, free: 79.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000509/2.126, allocations: 129.9 kB / 0.6877 GB, free: 79.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/2.126, allocations: 59.86 kB / 0.6878 GB, free: 79.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006209/2.132, allocations: 2.95 MB / 0.6906 GB, free: 79.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/2.132, allocations: 0 / 0.6906 GB, free: 79.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007874/2.14, allocations: 1.191 MB / 0.6918 GB, free: 79.77 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.0139/2.154, allocations: 7.113 MB / 0.6988 GB, free: 78.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01224/2.166, allocations: 5.424 MB / 0.704 GB, free: 78.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/2.166, allocations: 3.781 kB / 0.7041 GB, free: 78.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004435/2.171, allocations: 1.922 MB / 0.7059 GB, free: 77.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/2.175, allocations: 0.529 MB / 0.7064 GB, free: 77.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/2.206, allocations: 11 MB / 0.7172 GB, free: 76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007034/2.213, allocations: 4.107 MB / 0.7212 GB, free: 75.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008884/2.222, allocations: 2.098 MB / 0.7232 GB, free: 75.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004854/2.227, allocations: 2.457 MB / 0.7256 GB, free: 74.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/2.227, allocations: 2.031 kB / 0.7256 GB, free: 74.44 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1979/2.425, allocations: 91.66 MB / 0.8152 GB, free: 14.26 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/2.425, allocations: 198.7 kB / 0.8153 GB, free: 14.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.838/8.263, allocations: 4 kB / 0.8153 GB, free: 14.03 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