Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.259e-05, allocations: 11.98 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4186, allocations: 54.85 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.6076, allocations: 102.4 MB / 462.3 MB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.608, allocations: 79.95 kB / 462.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7893/1.397, allocations: 106.6 MB / 0.5556 GB, free: 101.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.397, allocations: 0 / 0.5556 GB, free: 101.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003877/1.398, allocations: 108.1 kB / 0.5557 GB, free: 101.4 MB / 458.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.02163/1.419, allocations: 5.267 MB / 0.5608 GB, free: 99.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.42, allocations: 7.75 kB / 0.5608 GB, free: 99.26 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004252/1.424, allocations: 0.9329 MB / 0.5617 GB, free: 99.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05/1.474, allocations: 6.937 MB / 0.5685 GB, free: 98.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02508/1.499, allocations: 6.873 MB / 0.5752 GB, free: 97.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004205/1.499, allocations: 407.9 kB / 0.5756 GB, free: 97.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002715/1.502, allocations: 0.5345 MB / 0.5761 GB, free: 96.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03625/1.538, allocations: 12.66 MB / 0.5885 GB, free: 90.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003356/1.539, allocations: 82.27 kB / 0.5886 GB, free: 90.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00146/1.54, allocations: 257.9 kB / 0.5888 GB, free: 90.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002156/1.542, allocations: 1.128 MB / 0.5899 GB, free: 89.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.031/1.574, allocations: 10.29 MB / 0.6 GB, free: 84.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08605/1.66, allocations: 57.09 MB / 0.6557 GB, free: 27.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/1.677, allocations: 4.364 MB / 0.66 GB, free: 22.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004974/1.683, allocations: 2.374 MB / 0.6623 GB, free: 20.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02506/1.708, allocations: 9.97 MB / 0.6721 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.424e-05/1.708, allocations: 59.81 kB / 0.6721 GB, free: 10.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=192): time 7.665e-06/1.708, allocations: 3.891 kB / 0.6721 GB, free: 10.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=218): time 0.07676/1.785, allocations: 16.17 MB / 0.6879 GB, free: 10.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/1.785, allocations: 205.2 kB / 0.6881 GB, free: 9.961 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/1.797, allocations: 4.188 MB / 0.6922 GB, free: 5.773 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006131/1.797, allocations: 53.7 kB / 0.6922 GB, free: 5.715 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00496/1.802, allocations: 3.769 MB / 0.6959 GB, free: 1.945 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00168/1.804, allocations: 0.8265 MB / 0.6967 GB, free: 1.125 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009084/1.805, allocations: 128 kB / 0.6969 GB, free: 1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006348/1.806, allocations: 0.5829 MB / 0.6974 GB, free: 420 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.389/2.195, allocations: 2.186 MB / 0.6996 GB, free: 107.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/2.205, allocations: 6.12 MB / 0.7055 GB, free: 102.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/2.216, allocations: 3.643 MB / 0.7091 GB, free: 102.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002948/2.216, allocations: 37.84 kB / 0.7091 GB, free: 102.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.03177/2.248, allocations: 8.813 MB / 0.7177 GB, free: 101.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/2.249, allocations: 65.12 kB / 0.7178 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003645/2.249, allocations: 140 kB / 0.7179 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005531/2.254, allocations: 0.9348 MB / 0.7188 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/2.265, allocations: 1.511 MB / 0.7203 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/2.28, allocations: 7.409 MB / 0.7276 GB, free: 98.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008262/2.288, allocations: 352.8 kB / 0.7279 GB, free: 98.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/2.29, allocations: 401.8 kB / 0.7283 GB, free: 97.98 MB / 474.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.002174/2.292, allocations: 0.6169 MB / 0.7289 GB, free: 97.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/2.293, allocations: 430.9 kB / 0.7293 GB, free: 97.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/2.304, allocations: 3.535 MB / 0.7327 GB, free: 96.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-05/2.304, allocations: 26.28 kB / 0.7328 GB, free: 96.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/2.304, allocations: 7.5 kB / 0.7328 GB, free: 96.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.201e-05/2.304, allocations: 11.39 kB / 0.7328 GB, free: 96.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02931/2.334, allocations: 9.233 MB / 0.7418 GB, free: 92.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.766e-05/2.334, allocations: 0 / 0.7418 GB, free: 92.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/2.337, allocations: 342.2 kB / 0.7421 GB, free: 92.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003975/2.341, allocations: 0.6847 MB / 0.7428 GB, free: 92.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005162/2.342, allocations: 38.84 kB / 0.7428 GB, free: 92.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/2.354, allocations: 6.544 MB / 0.7492 GB, free: 88.47 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/2.354, allocations: 6.578 kB / 0.7492 GB, free: 88.47 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/2.368, allocations: 6.253 MB / 0.7553 GB, free: 85.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002968/2.371, allocations: 0.7456 MB / 0.7561 GB, free: 85.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001119/2.372, allocations: 32.25 kB / 0.7561 GB, free: 85.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/2.375, allocations: 109.5 kB / 0.7562 GB, free: 85.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004963/2.376, allocations: 135.7 kB / 0.7563 GB, free: 85.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/2.376, allocations: 57.19 kB / 0.7564 GB, free: 85.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006697/2.383, allocations: 2.954 MB / 0.7593 GB, free: 84.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.864e-06/2.383, allocations: 0 / 0.7593 GB, free: 84.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008185/2.391, allocations: 1.188 MB / 0.7604 GB, free: 84.18 MB / 474.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.01489/2.406, allocations: 7.117 MB / 0.7674 GB, free: 80.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0136/2.42, allocations: 5.637 MB / 0.7729 GB, free: 78.56 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/2.42, allocations: 0 / 0.7729 GB, free: 78.56 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00466/2.424, allocations: 1.956 MB / 0.7748 GB, free: 77.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/2.428, allocations: 0.5294 MB / 0.7753 GB, free: 77.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/2.462, allocations: 11.02 MB / 0.7861 GB, free: 68.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006778/2.469, allocations: 4.096 MB / 0.7901 GB, free: 65.35 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009166/2.478, allocations: 2.098 MB / 0.7921 GB, free: 64.01 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005165/2.483, allocations: 2.455 MB / 0.7945 GB, free: 61.74 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/2.483, allocations: 0 / 0.7945 GB, free: 61.74 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5967/3.08, allocations: 92.35 MB / 0.8847 GB, free: 91.15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003104/3.08, allocations: 187.7 kB / 0.8849 GB, free: 90.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.516/9.596, allocations: 0 / 0.8849 GB, free: 90.92 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat