Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.03/2.03, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.948e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.09975, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4441/0.5439, allocations: 95.15 MB / 417 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.5443, allocations: 75.95 kB / 417.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7705/1.315, allocations: 106.3 MB / 0.5111 GB, free: 89.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.315, allocations: 0 / 0.5111 GB, free: 89.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004162/1.315, allocations: 107.7 kB / 0.5112 GB, free: 89.58 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: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.0224/1.338, allocations: 5.259 MB / 0.5163 GB, free: 87.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/1.338, allocations: 14.12 kB / 0.5164 GB, free: 87.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00442/1.342, allocations: 0.9416 MB / 0.5173 GB, free: 87.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05196/1.394, allocations: 6.906 MB / 0.524 GB, free: 87.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02507/1.419, allocations: 6.844 MB / 0.5307 GB, free: 86.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005654/1.42, allocations: 407.9 kB / 0.5311 GB, free: 86.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002984/1.423, allocations: 0.5317 MB / 0.5316 GB, free: 86.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03751/1.461, allocations: 12.29 MB / 0.5436 GB, free: 83.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003662/1.461, allocations: 75.84 kB / 0.5437 GB, free: 83.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002354/1.463, allocations: 251.2 kB / 0.5439 GB, free: 83.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002484/1.466, allocations: 1.129 MB / 0.545 GB, free: 83.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02927/1.495, allocations: 9.804 MB / 0.5546 GB, free: 80.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08508/1.58, allocations: 56.48 MB / 0.6098 GB, free: 36.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01615/1.597, allocations: 4.102 MB / 0.6138 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004642/1.601, allocations: 2.263 MB / 0.616 GB, free: 30.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02467/1.626, allocations: 9.494 MB / 0.6252 GB, free: 22.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/1.626, allocations: 55.02 kB / 0.6253 GB, free: 22.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 7.344e-06/1.626, allocations: 0 / 0.6253 GB, free: 22.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.07688/1.703, allocations: 16.5 MB / 0.6414 GB, free: 7.285 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/1.703, allocations: 209.2 kB / 0.6416 GB, free: 7.039 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.713, allocations: 4.188 MB / 0.6457 GB, free: 2.852 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005212/1.714, allocations: 57.7 kB / 0.6458 GB, free: 2.789 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00365/1.718, allocations: 3.765 MB / 0.6494 GB, free: 15.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001547/1.719, allocations: 0.8287 MB / 0.6502 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007535/1.72, allocations: 132 kB / 0.6504 GB, free: 14.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005781/1.721, allocations: 0.579 MB / 0.6509 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006129/1.727, allocations: 2.176 MB / 0.6531 GB, free: 11.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/1.738, allocations: 6.11 MB / 0.659 GB, free: 3.219 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3509/2.089, allocations: 3.633 MB / 0.6626 GB, free: 94.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001682/2.089, allocations: 39.91 kB / 0.6626 GB, free: 94.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02847/2.117, allocations: 8.796 MB / 0.6712 GB, free: 93.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/2.118, allocations: 68.59 kB / 0.6713 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002985/2.118, allocations: 138.2 kB / 0.6714 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005042/2.123, allocations: 0.9253 MB / 0.6723 GB, free: 93.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01061/2.134, allocations: 1.508 MB / 0.6738 GB, free: 93.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/2.149, allocations: 7.415 MB / 0.681 GB, free: 90.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008071/2.157, allocations: 361.2 kB / 0.6814 GB, free: 90.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/2.158, allocations: 401.9 kB / 0.6817 GB, free: 90.88 MB / 442.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.001937/2.16, allocations: 0.6092 MB / 0.6823 GB, free: 90.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/2.162, allocations: 426.6 kB / 0.6827 GB, free: 90.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/2.172, allocations: 3.528 MB / 0.6862 GB, free: 90.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.623e-05/2.172, allocations: 26.69 kB / 0.6862 GB, free: 90.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/2.172, allocations: 7.875 kB / 0.6862 GB, free: 90.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-05/2.172, allocations: 17.39 kB / 0.6862 GB, free: 90.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02623/2.198, allocations: 9.173 MB / 0.6952 GB, free: 89.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/2.198, allocations: 2.469 kB / 0.6952 GB, free: 89.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/2.202, allocations: 346.8 kB / 0.6955 GB, free: 89.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003756/2.206, allocations: 0.684 MB / 0.6962 GB, free: 89.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004147/2.206, allocations: 36.52 kB / 0.6962 GB, free: 89.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/2.218, allocations: 6.573 MB / 0.7027 GB, free: 85.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/2.218, allocations: 0 / 0.7027 GB, free: 85.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/2.233, allocations: 6.216 MB / 0.7087 GB, free: 83.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003294/2.237, allocations: 0.7392 MB / 0.7094 GB, free: 82.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/2.238, allocations: 34.84 kB / 0.7095 GB, free: 82.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003939/2.242, allocations: 114.3 kB / 0.7096 GB, free: 82.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008054/2.243, allocations: 132.2 kB / 0.7097 GB, free: 82.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/2.243, allocations: 55.06 kB / 0.7098 GB, free: 82.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00823/2.251, allocations: 2.967 MB / 0.7127 GB, free: 81.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.182e-06/2.251, allocations: 0 / 0.7127 GB, free: 81.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008784/2.26, allocations: 1.184 MB / 0.7138 GB, free: 81.64 MB / 442.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.01583/2.276, allocations: 7.082 MB / 0.7207 GB, free: 78.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01361/2.29, allocations: 5.6 MB / 0.7262 GB, free: 76.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/2.29, allocations: 0 / 0.7262 GB, free: 76.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004907/2.295, allocations: 1.936 MB / 0.7281 GB, free: 75.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/2.299, allocations: 0.5358 MB / 0.7286 GB, free: 75.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03564/2.335, allocations: 11.01 MB / 0.7394 GB, free: 71.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009242/2.344, allocations: 4.106 MB / 0.7434 GB, free: 68.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009987/2.354, allocations: 2.097 MB / 0.7454 GB, free: 67.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005763/2.36, allocations: 2.465 MB / 0.7478 GB, free: 65.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/2.36, allocations: 0 / 0.7478 GB, free: 65.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5376/2.898, allocations: 92.35 MB / 0.838 GB, free: 87.11 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/2.898, allocations: 177.2 kB / 0.8382 GB, free: 86.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.092/8.99, allocations: 0 / 0.8382 GB, free: 86.89 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat