Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.92e-05, allocations: 4 kB / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 48.69 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5125/0.6721, allocations: 94.73 MB / 411.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.6725, allocations: 82.08 kB / 411.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7661/1.439, allocations: 103.7 MB / 0.5028 GB, free: 83.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.439, allocations: 2.156 kB / 0.5028 GB, free: 83.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004623/1.439, allocations: 108.1 kB / 0.5029 GB, free: 83.64 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: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.02441/1.464, allocations: 5.25 MB / 0.508 GB, free: 81.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.464, allocations: 12.75 kB / 0.5081 GB, free: 81.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05134/1.515, allocations: 6.903 MB / 0.5148 GB, free: 81.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02457/1.54, allocations: 6.854 MB / 0.5215 GB, free: 80.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/1.54, allocations: 171.2 kB / 0.5217 GB, free: 80.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003005/1.543, allocations: 328.9 kB / 0.522 GB, free: 80.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01907/1.562, allocations: 7.206 MB / 0.529 GB, free: 80.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03004/1.592, allocations: 11.14 MB / 0.5399 GB, free: 74.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003585/1.593, allocations: 75.27 kB / 0.54 GB, free: 74.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00208/1.595, allocations: 34.38 kB / 0.54 GB, free: 74.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002618/1.597, allocations: 1.12 MB / 0.5411 GB, free: 74.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08419/1.682, allocations: 55.4 MB / 0.5952 GB, free: 28.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00668/1.688, allocations: 3.405 MB / 0.5985 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004091/1.693, allocations: 2.151 MB / 0.6006 GB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000577/1.693, allocations: 337.8 kB / 0.6009 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.693, allocations: 63.62 kB / 0.601 GB, free: 22.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 6.472e-06/1.693, allocations: 0 / 0.601 GB, free: 22.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.06476/1.758, allocations: 18.71 MB / 0.6193 GB, free: 4.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/1.758, allocations: 201.2 kB / 0.6195 GB, free: 4.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008508/1.767, allocations: 3.672 MB / 0.623 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005756/1.767, allocations: 25.7 kB / 0.6231 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004844/1.772, allocations: 3.805 MB / 0.6268 GB, free: 12.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001666/1.774, allocations: 0.8212 MB / 0.6276 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008086/1.775, allocations: 0 / 0.6276 GB, free: 11.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006904/1.775, allocations: 0.5951 MB / 0.6282 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006027/1.781, allocations: 2.137 MB / 0.6303 GB, free: 9.191 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/1.793, allocations: 6.178 MB / 0.6363 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3507/2.143, allocations: 3.62 MB / 0.6398 GB, free: 87.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001721/2.144, allocations: 40.53 kB / 0.6399 GB, free: 87.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.03051/2.174, allocations: 8.145 MB / 0.6478 GB, free: 86.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/2.174, allocations: 70.03 kB / 0.6479 GB, free: 86.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004784/2.175, allocations: 144.8 kB / 0.648 GB, free: 86.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007129/2.182, allocations: 0.9378 MB / 0.6489 GB, free: 86.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01474/2.197, allocations: 1.556 MB / 0.6505 GB, free: 86.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/2.216, allocations: 7.082 MB / 0.6574 GB, free: 83.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/2.227, allocations: 227.7 kB / 0.6576 GB, free: 83.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002175/2.23, allocations: 418.3 kB / 0.658 GB, free: 83.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (824): * Single equations (assignments): 819 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002845/2.233, allocations: 470.4 kB / 0.6584 GB, free: 83.72 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01421/2.247, allocations: 3.673 MB / 0.662 GB, free: 83.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/2.248, allocations: 400.5 kB / 0.6624 GB, free: 83.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/2.259, allocations: 3.405 MB / 0.6657 GB, free: 83.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.441e-05/2.259, allocations: 22.77 kB / 0.6658 GB, free: 83.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-05/2.259, allocations: 11.8 kB / 0.6658 GB, free: 83.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.706e-05/2.259, allocations: 7.969 kB / 0.6658 GB, free: 83.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/2.285, allocations: 8.359 MB / 0.6739 GB, free: 82.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/2.285, allocations: 6.156 kB / 0.6739 GB, free: 82.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003454/2.289, allocations: 348.9 kB / 0.6743 GB, free: 82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003776/2.292, allocations: 0.6715 MB / 0.6749 GB, free: 81.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004613/2.293, allocations: 10 kB / 0.6749 GB, free: 81.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/2.304, allocations: 6.195 MB / 0.681 GB, free: 77.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/2.304, allocations: 11.73 kB / 0.681 GB, free: 77.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/2.318, allocations: 6.184 MB / 0.687 GB, free: 75.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/2.32, allocations: 0.7108 MB / 0.6877 GB, free: 74.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/2.321, allocations: 3.719 kB / 0.6877 GB, free: 74.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/2.324, allocations: 81.27 kB / 0.6878 GB, free: 74.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000549/2.325, allocations: 135.4 kB / 0.6879 GB, free: 74.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/2.325, allocations: 58.09 kB / 0.688 GB, free: 74.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005565/2.331, allocations: 2.496 MB / 0.6904 GB, free: 73.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.331, allocations: 0 / 0.6904 GB, free: 73.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008292/2.339, allocations: 1.022 MB / 0.6914 GB, free: 73.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (172): * Single equations (assignments): 167 * 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.01447/2.353, allocations: 7.127 MB / 0.6984 GB, free: 70.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01326/2.367, allocations: 5.382 MB / 0.7037 GB, free: 68.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/2.367, allocations: 0 / 0.7037 GB, free: 68.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005051/2.372, allocations: 1.905 MB / 0.7055 GB, free: 67.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/2.376, allocations: 441.8 kB / 0.7059 GB, free: 67.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03888/2.415, allocations: 10.77 MB / 0.7165 GB, free: 61.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01031/2.426, allocations: 4.096 MB / 0.7205 GB, free: 57.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0109/2.437, allocations: 2.179 MB / 0.7226 GB, free: 56.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006196/2.443, allocations: 2.426 MB / 0.725 GB, free: 54.34 MB / 426.7 MB Notification: Performance of SimCode: time 2.044e-06/2.443, allocations: 0 / 0.725 GB, free: 54.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6003/3.043, allocations: 85.77 MB / 0.8087 GB, free: 79.43 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/3.044, allocations: 140.1 kB / 0.8088 GB, free: 79.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.157/9.201, allocations: 3.375 kB / 0.8088 GB, free: 79.23 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat