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.029/2.029, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.522e-05, allocations: 0 / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 48.71 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4945/0.6132, allocations: 94.7 MB / 411 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.6136, allocations: 86.81 kB / 411.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7647/1.378, allocations: 103.9 MB / 0.5029 GB, free: 83.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.378, allocations: 0 / 0.5029 GB, free: 83.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004469/1.379, allocations: 108.8 kB / 0.503 GB, free: 83.48 MB / 410.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.0238/1.403, allocations: 5.261 MB / 0.5082 GB, free: 81.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.403, allocations: 13.94 kB / 0.5082 GB, free: 81.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05043/1.453, allocations: 6.896 MB / 0.5149 GB, free: 80.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0255/1.479, allocations: 6.856 MB / 0.5216 GB, free: 80.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003761/1.479, allocations: 173.5 kB / 0.5218 GB, free: 80.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/1.482, allocations: 329.6 kB / 0.5221 GB, free: 80.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02098/1.503, allocations: 7.218 MB / 0.5291 GB, free: 80.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/1.535, allocations: 11.14 MB / 0.54 GB, free: 74.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003811/1.535, allocations: 72.34 kB / 0.5401 GB, free: 74.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002457/1.538, allocations: 33.78 kB / 0.5401 GB, free: 74.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002512/1.54, allocations: 1.134 MB / 0.5412 GB, free: 74.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07963/1.62, allocations: 55.34 MB / 0.5953 GB, free: 28.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006204/1.626, allocations: 3.392 MB / 0.5986 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004103/1.63, allocations: 2.17 MB / 0.6007 GB, free: 22.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005729/1.631, allocations: 336.9 kB / 0.601 GB, free: 22.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/1.631, allocations: 51.88 kB / 0.6011 GB, free: 22.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=200): time 6.612e-06/1.631, allocations: 0 / 0.6011 GB, free: 22.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=227): time 0.06348/1.694, allocations: 19.6 MB / 0.6202 GB, free: 3.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/1.694, allocations: 209.9 kB / 0.6204 GB, free: 3.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008299/1.703, allocations: 3.668 MB / 0.624 GB, free: 15.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000577/1.703, allocations: 29.7 kB / 0.624 GB, free: 15.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004845/1.708, allocations: 3.817 MB / 0.6277 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001695/1.71, allocations: 0.8288 MB / 0.6286 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008133/1.711, allocations: 0 / 0.6286 GB, free: 10.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006624/1.712, allocations: 0.599 MB / 0.6291 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005932/1.717, allocations: 2.153 MB / 0.6312 GB, free: 8.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3283/2.046, allocations: 6.204 MB / 0.6373 GB, free: 85.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/2.056, allocations: 3.643 MB / 0.6409 GB, free: 85.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000181/2.057, allocations: 40.69 kB / 0.6409 GB, free: 85.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.02806/2.085, allocations: 8.194 MB / 0.6489 GB, free: 85.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/2.085, allocations: 66.97 kB / 0.649 GB, free: 85.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003109/2.085, allocations: 145 kB / 0.6491 GB, free: 85.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005149/2.09, allocations: 0.9521 MB / 0.65 GB, free: 85.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/2.101, allocations: 1.574 MB / 0.6516 GB, free: 85.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/2.115, allocations: 7.268 MB / 0.6587 GB, free: 82.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007973/2.123, allocations: 236.1 kB / 0.6589 GB, free: 82.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00193/2.125, allocations: 408.5 kB / 0.6593 GB, free: 82.7 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 (831): * Single equations (assignments): 826 * 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.002012/2.127, allocations: 484.2 kB / 0.6597 GB, free: 82.45 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01074/2.138, allocations: 3.724 MB / 0.6634 GB, free: 82.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/2.139, allocations: 400.7 kB / 0.6638 GB, free: 82.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/2.149, allocations: 3.44 MB / 0.6671 GB, free: 82.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.58e-05/2.149, allocations: 31 kB / 0.6671 GB, free: 82.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/2.149, allocations: 8.578 kB / 0.6672 GB, free: 82.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.114e-05/2.149, allocations: 12.33 kB / 0.6672 GB, free: 82.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/2.175, allocations: 8.484 MB / 0.6755 GB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/2.175, allocations: 7.156 kB / 0.6755 GB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003516/2.178, allocations: 355.6 kB / 0.6758 GB, free: 80.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003779/2.182, allocations: 0.6698 MB / 0.6765 GB, free: 80.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004187/2.182, allocations: 8.906 kB / 0.6765 GB, free: 80.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/2.193, allocations: 6.211 MB / 0.6825 GB, free: 76.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/2.193, allocations: 15.09 kB / 0.6825 GB, free: 76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/2.207, allocations: 6.247 MB / 0.6886 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002909/2.21, allocations: 0.7156 MB / 0.6893 GB, free: 72.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/2.212, allocations: 11.56 kB / 0.6894 GB, free: 72.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003644/2.215, allocations: 83.7 kB / 0.6894 GB, free: 72.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008227/2.216, allocations: 143.4 kB / 0.6896 GB, free: 72.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/2.217, allocations: 59.05 kB / 0.6896 GB, free: 72.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006491/2.223, allocations: 2.487 MB / 0.6921 GB, free: 71.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.192e-06/2.223, allocations: 0 / 0.6921 GB, free: 71.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009104/2.232, allocations: 1.033 MB / 0.6931 GB, free: 71.8 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 (178): * Single equations (assignments): 173 * 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.01547/2.248, allocations: 7.253 MB / 0.7001 GB, free: 68.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01302/2.261, allocations: 5.419 MB / 0.7054 GB, free: 66.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/2.261, allocations: 2.281 kB / 0.7054 GB, free: 66.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004758/2.266, allocations: 1.92 MB / 0.7073 GB, free: 65.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004186/2.27, allocations: 439.5 kB / 0.7077 GB, free: 65.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/2.305, allocations: 10.81 MB / 0.7183 GB, free: 58.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01073/2.316, allocations: 4.107 MB / 0.7223 GB, free: 55.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01018/2.327, allocations: 2.172 MB / 0.7244 GB, free: 54.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005654/2.332, allocations: 2.445 MB / 0.7268 GB, free: 52.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.694e-06/2.332, allocations: 0 / 0.7268 GB, free: 52.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5848/2.917, allocations: 86.19 MB / 0.811 GB, free: 80.34 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/2.917, allocations: 145.1 kB / 0.8111 GB, free: 80.16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.052/8.969, allocations: 3.938 kB / 0.8111 GB, free: 80.15 MB / 442.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