Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.989e-05, allocations: 4 kB / 225.1 MB, free: 2.203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.275, allocations: 38.76 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.4328, allocations: 86.56 MB / 350.4 MB, free: 3.012 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/0.4332, allocations: 83.95 kB / 350.5 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6441/1.077, allocations: 106.1 MB / 456.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.077, allocations: 0 / 456.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003483/1.078, allocations: 111.9 kB / 456.7 MB, free: 16.8 MB / 314.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.02052/1.098, allocations: 5.259 MB / 462 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/1.098, allocations: 8.031 kB / 462 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003511/1.102, allocations: 0.9309 MB / 462.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04946/1.151, allocations: 6.897 MB / 469.8 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02531/1.177, allocations: 6.789 MB / 476.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006079/1.177, allocations: 410.7 kB / 477 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003016/1.18, allocations: 0.5349 MB / 477.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.038/1.218, allocations: 12.29 MB / 489.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004739/1.219, allocations: 71.34 kB / 489.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002186/1.221, allocations: 255.9 kB / 490.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002691/1.224, allocations: 1.125 MB / 491.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03309/1.257, allocations: 9.794 MB / 0.4893 GB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3495/1.607, allocations: 56.48 MB / 0.5445 GB, free: 23.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/1.623, allocations: 4.099 MB / 0.5485 GB, free: 22.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004657/1.627, allocations: 2.26 MB / 0.5507 GB, free: 22.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0229/1.65, allocations: 9.497 MB / 0.56 GB, free: 18.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/1.65, allocations: 51 kB / 0.56 GB, free: 18.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=191): time 6.623e-06/1.65, allocations: 7.344 kB / 0.56 GB, free: 18.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.07223/1.723, allocations: 16.49 MB / 0.5761 GB, free: 12.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/1.723, allocations: 205 kB / 0.5763 GB, free: 12.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.733, allocations: 4.191 MB / 0.5804 GB, free: 11.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005595/1.733, allocations: 61.23 kB / 0.5805 GB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003547/1.737, allocations: 3.757 MB / 0.5841 GB, free: 8.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.738, allocations: 0.8358 MB / 0.585 GB, free: 7.684 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008165/1.739, allocations: 129.4 kB / 0.5851 GB, free: 7.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004356/1.74, allocations: 0.5851 MB / 0.5856 GB, free: 7.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005375/1.745, allocations: 2.186 MB / 0.5878 GB, free: 6.414 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008154/1.753, allocations: 6.117 MB / 0.5938 GB, free: 104 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01399/1.767, allocations: 3.912 MB / 0.5976 GB, free: 14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001599/1.767, allocations: 40 kB / 0.5976 GB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.03295/1.8, allocations: 8.792 MB / 0.6062 GB, free: 6.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/1.801, allocations: 64 kB / 0.6063 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000419/1.801, allocations: 140 kB / 0.6064 GB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007393/1.809, allocations: 0.9391 MB / 0.6073 GB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01556/1.824, allocations: 1.505 MB / 0.6088 GB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02432/1.849, allocations: 7.413 MB / 0.616 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/1.861, allocations: 356 kB / 0.6164 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002242/1.863, allocations: 395.7 kB / 0.6167 GB, free: 12.7 MB / 378.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.003151/1.867, allocations: 0.618 MB / 0.6173 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/1.868, allocations: 430.5 kB / 0.6178 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/1.882, allocations: 3.515 MB / 0.6212 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.464e-05/1.882, allocations: 24 kB / 0.6212 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/1.882, allocations: 8 kB / 0.6212 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.44e-05/1.882, allocations: 9.75 kB / 0.6212 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03047/1.913, allocations: 9.188 MB / 0.6302 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/1.913, allocations: 3.438 kB / 0.6302 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003499/1.916, allocations: 343.2 kB / 0.6305 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004053/1.921, allocations: 0.6834 MB / 0.6312 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004745/1.921, allocations: 36 kB / 0.6312 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2911/2.212, allocations: 6.549 MB / 0.6376 GB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/2.212, allocations: 6.25 kB / 0.6376 GB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/2.228, allocations: 6.208 MB / 0.6437 GB, free: 83.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00293/2.231, allocations: 0.7475 MB / 0.6444 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/2.232, allocations: 39.47 kB / 0.6445 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003816/2.236, allocations: 108.3 kB / 0.6446 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007667/2.237, allocations: 132.7 kB / 0.6447 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/2.237, allocations: 57.7 kB / 0.6447 GB, free: 83.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007826/2.245, allocations: 2.957 MB / 0.6476 GB, free: 83.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.245, allocations: 0 / 0.6476 GB, free: 83.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008112/2.253, allocations: 1.185 MB / 0.6488 GB, free: 83.56 MB / 378.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.01659/2.27, allocations: 7.079 MB / 0.6557 GB, free: 82.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01344/2.283, allocations: 5.608 MB / 0.6612 GB, free: 81.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/2.283, allocations: 0 / 0.6612 GB, free: 81.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004928/2.288, allocations: 1.947 MB / 0.6631 GB, free: 81.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004976/2.293, allocations: 0.5183 MB / 0.6636 GB, free: 81.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03628/2.329, allocations: 11 MB / 0.6743 GB, free: 78.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008449/2.338, allocations: 4.113 MB / 0.6784 GB, free: 77.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.009475/2.348, allocations: 2.1 MB / 0.6804 GB, free: 77.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006424/2.354, allocations: 2.459 MB / 0.6828 GB, free: 75.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.805e-06/2.354, allocations: 0.9844 kB / 0.6828 GB, free: 75.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5118/2.866, allocations: 92.3 MB / 0.7729 GB, free: 60.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/2.866, allocations: 202.3 kB / 0.7731 GB, free: 59.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.207/9.073, allocations: 0 / 0.7731 GB, free: 59.88 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat does not exist to compare? outputFormat=mat