Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.988e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 48.72 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.554, allocations: 94.59 MB / 416.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.5543, allocations: 71.97 kB / 416.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8823/1.437, allocations: 131.8 MB / 0.5355 GB, free: 88.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.437, allocations: 0 / 0.5355 GB, free: 88.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000443/1.437, allocations: 133.3 kB / 0.5356 GB, free: 88.87 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2384 * Number of variables: 2384 Notification: Performance of Generate backend data structure: time 0.02847/1.466, allocations: 6.663 MB / 0.5421 GB, free: 86.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/1.466, allocations: 11.19 kB / 0.5421 GB, free: 86.24 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005999/1.472, allocations: 1.185 MB / 0.5433 GB, free: 86.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05266/1.524, allocations: 7.138 MB / 0.5503 GB, free: 85.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02755/1.552, allocations: 7.434 MB / 0.5575 GB, free: 84.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007325/1.553, allocations: 0.4967 MB / 0.558 GB, free: 84.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004184/1.557, allocations: 0.6631 MB / 0.5586 GB, free: 83.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04961/1.607, allocations: 15.98 MB / 0.5743 GB, free: 75.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004361/1.607, allocations: 90.59 kB / 0.5743 GB, free: 75.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002824/1.61, allocations: 327.1 kB / 0.5747 GB, free: 75.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003295/1.613, allocations: 1.55 MB / 0.5762 GB, free: 75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03964/1.653, allocations: 12.66 MB / 0.5885 GB, free: 64.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1171/1.77, allocations: 72.94 MB / 0.6598 GB, free: 6.227 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.404/2.174, allocations: 6.418 MB / 0.666 GB, free: 96.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008894/2.183, allocations: 3.68 MB / 0.6696 GB, free: 95.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02804/2.211, allocations: 9.276 MB / 0.6787 GB, free: 94.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.599e-05/2.212, allocations: 62.97 kB / 0.6787 GB, free: 94.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=269): time 7.294e-06/2.212, allocations: 1.438 kB / 0.6787 GB, free: 94.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=311): time 0.1206/2.332, allocations: 25.87 MB / 0.704 GB, free: 89.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/2.332, allocations: 239.3 kB / 0.7042 GB, free: 89.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01794/2.35, allocations: 6.098 MB / 0.7102 GB, free: 86.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001037/2.351, allocations: 68.92 kB / 0.7103 GB, free: 86.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005231/2.357, allocations: 4.837 MB / 0.715 GB, free: 83.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002342/2.359, allocations: 1.174 MB / 0.7161 GB, free: 82.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001926/2.361, allocations: 179.5 kB / 0.7163 GB, free: 82.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009199/2.362, allocations: 0.6854 MB / 0.717 GB, free: 81.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009608/2.372, allocations: 3.494 MB / 0.7204 GB, free: 80.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0136/2.385, allocations: 8.72 MB / 0.7289 GB, free: 72.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/2.399, allocations: 5.487 MB / 0.7343 GB, free: 70.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002612/2.399, allocations: 58.67 kB / 0.7343 GB, free: 70.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.04068/2.44, allocations: 13.01 MB / 0.747 GB, free: 66.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003928/2.44, allocations: 90.19 kB / 0.7471 GB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006963/2.441, allocations: 187.3 kB / 0.7473 GB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/2.453, allocations: 1.702 MB / 0.7489 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/2.467, allocations: 2.131 MB / 0.751 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/2.489, allocations: 11.34 MB / 0.7621 GB, free: 56.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0123/2.501, allocations: 0.5319 MB / 0.7626 GB, free: 55.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002543/2.504, allocations: 0.5422 MB / 0.7631 GB, free: 55.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 850 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1104): * Single equations (assignments): 1099 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004025/2.508, allocations: 0.7926 MB / 0.7639 GB, free: 54.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/2.51, allocations: 0.59 MB / 0.7645 GB, free: 53.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02145/2.531, allocations: 6.698 MB / 0.771 GB, free: 48.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.427e-05/2.532, allocations: 32 kB / 0.7711 GB, free: 48.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/2.532, allocations: 8 kB / 0.7711 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-05/2.532, allocations: 14.2 kB / 0.7711 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04904/2.581, allocations: 15.12 MB / 0.7859 GB, free: 36.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.623e-05/2.581, allocations: 4 kB / 0.7859 GB, free: 36.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00607/2.587, allocations: 0.568 MB / 0.7864 GB, free: 35.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006816/2.594, allocations: 1.408 MB / 0.7878 GB, free: 34.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/2.595, allocations: 55.33 kB / 0.7878 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/2.617, allocations: 10.5 MB / 0.7981 GB, free: 25.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/2.617, allocations: 4 kB / 0.7981 GB, free: 25.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02978/2.646, allocations: 11.73 MB / 0.8096 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0051/2.652, allocations: 1.153 MB / 0.8107 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002922/2.655, allocations: 58.91 kB / 0.8107 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006729/2.661, allocations: 212.3 kB / 0.8109 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001375/2.663, allocations: 186.2 kB / 0.8111 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000956/2.664, allocations: 84.77 kB / 0.8112 GB, free: 13.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01255/2.676, allocations: 4.348 MB / 0.8155 GB, free: 9.102 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.515e-06/2.676, allocations: 4 kB / 0.8155 GB, free: 9.098 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01363/2.69, allocations: 1.659 MB / 0.8171 GB, free: 7.445 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 249 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4118/3.102, allocations: 13.1 MB / 0.8299 GB, free: 99.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02492/3.127, allocations: 8.397 MB / 0.8381 GB, free: 99.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/3.127, allocations: 1.156 kB / 0.8381 GB, free: 99.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01157/3.139, allocations: 3.299 MB / 0.8413 GB, free: 99.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00758/3.146, allocations: 0.711 MB / 0.842 GB, free: 99.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06158/3.208, allocations: 15.38 MB / 0.857 GB, free: 96.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01467/3.223, allocations: 5.024 MB / 0.8619 GB, free: 95.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01627/3.239, allocations: 2.971 MB / 0.8648 GB, free: 95.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0117/3.251, allocations: 3.225 MB / 0.868 GB, free: 93.66 MB / 458.7 MB Notification: Performance of SimCode: time 2.445e-06/3.251, allocations: 0 / 0.868 GB, free: 93.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6613/3.912, allocations: 131.2 MB / 0.9961 GB, free: 79.75 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/3.912, allocations: 171 kB / 0.9962 GB, free: 79.53 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/12.2, allocations: 0 / 0.9962 GB, free: 79.53 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat