Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.076e-05, allocations: 4 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 48.69 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4802/0.5935, allocations: 98.07 MB / 414.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.5939, allocations: 78.33 kB / 414.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.227/1.821, allocations: 233.9 MB / 0.6331 GB, free: 12.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.821, allocations: 0 / 0.6331 GB, free: 12.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009714/1.822, allocations: 248 kB / 0.6334 GB, free: 12.05 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: 4446 * Number of variables: 4446 Notification: Performance of Generate backend data structure: time 0.7047/2.527, allocations: 12.34 MB / 0.6454 GB, free: 30.7 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/2.527, allocations: 9.188 kB / 0.6454 GB, free: 30.7 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09792/2.625, allocations: 12.82 MB / 0.6579 GB, free: 29.84 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0481/2.673, allocations: 13.27 MB / 0.6709 GB, free: 29.24 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009428/2.674, allocations: 416.5 kB / 0.6713 GB, free: 29.24 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006837/2.681, allocations: 0.7468 MB / 0.672 GB, free: 29.23 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04441/2.726, allocations: 17.52 MB / 0.6891 GB, free: 29.16 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07105/2.797, allocations: 26 MB / 0.7145 GB, free: 23.16 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009389/2.798, allocations: 145.1 kB / 0.7147 GB, free: 23.14 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00605/2.804, allocations: 70.02 kB / 0.7147 GB, free: 23.14 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006538/2.81, allocations: 2.859 MB / 0.7175 GB, free: 23.11 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6438/3.454, allocations: 121.5 MB / 0.8362 GB, free: 29.74 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02139/3.476, allocations: 10.78 MB / 0.8467 GB, free: 28.45 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0142/3.49, allocations: 7.536 MB / 0.854 GB, free: 28.37 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002384/3.492, allocations: 1.101 MB / 0.8551 GB, free: 27.51 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.332e-05/3.492, allocations: 104.2 kB / 0.8552 GB, free: 27.46 MB / 490.8 MB Notification: Performance of pre-optimization done (n=548): time 1.002e-05/3.492, allocations: 0 / 0.8552 GB, free: 27.46 MB / 490.8 MB Notification: Performance of matching and sorting (n=636): time 0.2068/3.699, allocations: 61.47 MB / 0.9152 GB, free: 15.11 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/3.699, allocations: 381.4 kB / 0.9156 GB, free: 14.73 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02178/3.721, allocations: 8.027 MB / 0.9234 GB, free: 12.47 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001793/3.723, allocations: 28.05 kB / 0.9235 GB, free: 12.44 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007929/3.731, allocations: 8.686 MB / 0.932 GB, free: 5.859 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004118/3.735, allocations: 2.272 MB / 0.9342 GB, free: 4.156 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003139/3.738, allocations: 3.844 kB / 0.9342 GB, free: 4.156 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001819/3.74, allocations: 0.9867 MB / 0.9351 GB, free: 3.559 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01676/3.757, allocations: 6.437 MB / 0.9414 GB, free: 1.199 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0547/3.812, allocations: 16.72 MB / 0.9578 GB, free: 3.699 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02617/3.838, allocations: 9.847 MB / 0.9674 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003608/3.839, allocations: 91.95 kB / 0.9675 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2081) (initialization): time 0.07312/3.912, allocations: 22.95 MB / 0.9899 GB, free: 9.984 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002679/3.912, allocations: 136.2 kB / 0.99 GB, free: 9.852 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005906/3.913, allocations: 312 kB / 0.9903 GB, free: 9.547 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0145/3.927, allocations: 3.325 MB / 0.9935 GB, free: 7.066 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02771/3.955, allocations: 3.876 MB / 0.9973 GB, free: 3.797 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04739/4.002, allocations: 21.38 MB / 1.018 GB, free: 0.7383 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01974/4.022, allocations: 0.6411 MB / 1.019 GB, free: 268 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00945/4.032, allocations: 1.2 MB / 1.02 GB, free: 0 / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1397 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1961): * Single equations (assignments): 1954 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007357/4.039, allocations: 0.9102 MB / 1.021 GB, free: 15.09 MB / 0.5574 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04329/4.082, allocations: 13.17 MB / 1.034 GB, free: 4.109 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004537/4.087, allocations: 0.9063 MB / 1.035 GB, free: 3.191 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4495/4.537, allocations: 13.79 MB / 1.048 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001701/4.537, allocations: 64.98 kB / 1.048 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001079/4.537, allocations: 16.69 kB / 1.048 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001761/4.537, allocations: 32.59 kB / 1.048 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08856/4.626, allocations: 28.81 MB / 1.076 GB, free: 149.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.482e-05/4.626, allocations: 15.94 kB / 1.076 GB, free: 149.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0126/4.638, allocations: 1.226 MB / 1.078 GB, free: 149.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/4.651, allocations: 2.807 MB / 1.08 GB, free: 149.2 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001788/4.653, allocations: 26.2 kB / 1.08 GB, free: 149.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03818/4.691, allocations: 19.79 MB / 1.1 GB, free: 144.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/4.691, allocations: 11.94 kB / 1.1 GB, free: 144.1 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05426/4.745, allocations: 23.36 MB / 1.122 GB, free: 136.1 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00783/4.753, allocations: 1.925 MB / 1.124 GB, free: 135.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004207/4.757, allocations: 15.7 kB / 1.124 GB, free: 135.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01073/4.768, allocations: 348 kB / 1.125 GB, free: 135.6 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002548/4.771, allocations: 400.2 kB / 1.125 GB, free: 135.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001119/4.772, allocations: 161.2 kB / 1.125 GB, free: 135.5 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01444/4.786, allocations: 5.432 MB / 1.131 GB, free: 133.6 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.21e-07/4.786, allocations: 0 / 1.131 GB, free: 133.6 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0214/4.808, allocations: 2.678 MB / 1.133 GB, free: 133.6 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.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 (547): * Single equations (assignments): 540 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(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.05665/4.865, allocations: 24.88 MB / 1.157 GB, free: 122.3 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0386/4.903, allocations: 16.38 MB / 1.173 GB, free: 109 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/4.903, allocations: 0 / 1.173 GB, free: 109 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0175/4.921, allocations: 6.823 MB / 1.18 GB, free: 103.1 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01025/4.931, allocations: 0.9799 MB / 1.181 GB, free: 102.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09362/5.025, allocations: 28.77 MB / 1.209 GB, free: 77.74 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02398/5.049, allocations: 8.9 MB / 1.218 GB, free: 71.37 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.02519/5.074, allocations: 5.106 MB / 1.223 GB, free: 68.06 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01585/5.09, allocations: 6.386 MB / 1.229 GB, free: 62.12 MB / 0.5574 GB Notification: Performance of SimCode: time 2.004e-06/5.09, allocations: 0 / 1.229 GB, free: 62.12 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.244/6.335, allocations: 215.8 MB / 1.44 GB, free: 76.49 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/6.335, allocations: 129 kB / 1.44 GB, free: 76.3 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/17.82, allocations: 1.156 kB / 1.44 GB, free: 76.3 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2_res.mat does not exist to compare? outputFormat=mat