Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.625/2.625, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.081e-05, allocations: 4.938 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4101, allocations: 54.85 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.6078, allocations: 101.5 MB / 461.4 MB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004455/0.6084, allocations: 79.95 kB / 461.5 MB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9748/1.583, allocations: 131.2 MB / 0.5788 GB, free: 98.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.915e-06/1.583, allocations: 0 / 0.5788 GB, free: 98.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006773/1.584, allocations: 137.5 kB / 0.5789 GB, free: 98.35 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: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.04114/1.625, allocations: 6.874 MB / 0.5856 GB, free: 95.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/1.625, allocations: 7.781 kB / 0.5856 GB, free: 95.18 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006868/1.632, allocations: 1.119 MB / 0.5867 GB, free: 94.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07716/1.709, allocations: 9.412 MB / 0.5959 GB, free: 89.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03035/1.74, allocations: 8.993 MB / 0.6047 GB, free: 82.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005587/1.74, allocations: 482.7 kB / 0.6052 GB, free: 82.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003657/1.744, allocations: 0.6484 MB / 0.6058 GB, free: 81.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05385/1.798, allocations: 16.15 MB / 0.6216 GB, free: 64.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004668/1.798, allocations: 83.23 kB / 0.6216 GB, free: 64.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003188/1.802, allocations: 305.4 kB / 0.6219 GB, free: 64.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003572/1.805, allocations: 1.528 MB / 0.6234 GB, free: 62.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04302/1.848, allocations: 13.84 MB / 0.6369 GB, free: 48.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4956/2.344, allocations: 70.53 MB / 0.7058 GB, free: 63.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03431/2.378, allocations: 7.328 MB / 0.713 GB, free: 63.26 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01079/2.389, allocations: 5.244 MB / 0.7181 GB, free: 63.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04347/2.433, allocations: 17.91 MB / 0.7356 GB, free: 60.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/2.433, allocations: 65.95 kB / 0.7357 GB, free: 60.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=310): time 7.925e-06/2.433, allocations: 2.031 kB / 0.7357 GB, free: 60.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=404): time 0.2371/2.67, allocations: 51.52 MB / 0.786 GB, free: 43.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/2.67, allocations: 327.3 kB / 0.7863 GB, free: 43.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/2.681, allocations: 4.902 MB / 0.7911 GB, free: 39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001549/2.683, allocations: 85.7 kB / 0.7911 GB, free: 38.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00398/2.687, allocations: 4.415 MB / 0.7955 GB, free: 34.95 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002927/2.69, allocations: 1.465 MB / 0.7969 GB, free: 33.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/2.692, allocations: 168 kB / 0.797 GB, free: 33.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005808/2.692, allocations: 0.6636 MB / 0.7977 GB, free: 32.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01211/2.704, allocations: 4.911 MB / 0.8025 GB, free: 28.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01535/2.72, allocations: 9.255 MB / 0.8115 GB, free: 17.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01561/2.735, allocations: 6.701 MB / 0.8181 GB, free: 12.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001537/2.736, allocations: 44 kB / 0.8181 GB, free: 12.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.06115/2.797, allocations: 17.99 MB / 0.8357 GB, free: 11.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/2.797, allocations: 72 kB / 0.8358 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002607/2.797, allocations: 152 kB / 0.8359 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02641/2.824, allocations: 4.771 MB / 0.8406 GB, free: 6.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01555/2.839, allocations: 2.02 MB / 0.8425 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06637/2.906, allocations: 25.42 MB / 0.8673 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/2.919, allocations: 0.6046 MB / 0.8679 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003051/2.922, allocations: 497.4 kB / 0.8684 GB, free: 9.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 54 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1001): * Single equations (assignments): 995 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(14,44.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004558/2.927, allocations: 0.7272 MB / 0.8691 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/2.929, allocations: 0.5438 MB / 0.8697 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05305/2.982, allocations: 13.34 MB / 0.8827 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.723e-05/2.982, allocations: 41.5 kB / 0.8827 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.734e-05/2.982, allocations: 20 kB / 0.8827 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/2.982, allocations: 19.89 kB / 0.8828 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08682/3.069, allocations: 23.74 MB / 0.9059 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.399e-05/3.069, allocations: 0 / 0.9059 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008476/3.078, allocations: 0.7021 MB / 0.9066 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3801/3.458, allocations: 4.514 MB / 0.911 GB, free: 169 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001485/3.459, allocations: 67.8 kB / 0.9111 GB, free: 169 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06242/3.522, allocations: 24.59 MB / 0.9351 GB, free: 165.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/3.522, allocations: 3.938 kB / 0.9351 GB, free: 165.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05784/3.58, allocations: 20.05 MB / 0.9547 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005652/3.586, allocations: 1.457 MB / 0.9561 GB, free: 158.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002663/3.588, allocations: 72.36 kB / 0.9562 GB, free: 158.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008106/3.596, allocations: 355.7 kB / 0.9565 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002131/3.599, allocations: 252.9 kB / 0.9568 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000939/3.6, allocations: 103.6 kB / 0.9569 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008807/3.608, allocations: 3.475 MB / 0.9603 GB, free: 157 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.52e-07/3.608, allocations: 0 / 0.9603 GB, free: 157 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01234/3.621, allocations: 1.925 MB / 0.9621 GB, free: 156.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (315): * Single equations (assignments): 309 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05981/3.681, allocations: 20.91 MB / 0.9826 GB, free: 148.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03546/3.716, allocations: 12.65 MB / 0.9949 GB, free: 141.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/3.716, allocations: 2.094 kB / 0.9949 GB, free: 141.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01907/3.735, allocations: 6.144 MB / 1.001 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006789/3.742, allocations: 0.7007 MB / 1.002 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05426/3.796, allocations: 17.52 MB / 1.019 GB, free: 120.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/3.809, allocations: 5.101 MB / 1.024 GB, free: 117 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01348/3.822, allocations: 2.97 MB / 1.027 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008275/3.83, allocations: 3.189 MB / 1.03 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.004e-06/3.83, allocations: 0 / 1.03 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7445/4.575, allocations: 150 MB / 1.176 GB, free: 156.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/4.575, allocations: 182.1 kB / 1.176 GB, free: 155.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/12.4, allocations: 3.938 kB / 1.176 GB, free: 155.8 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat does not exist to compare? outputFormat=mat