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.949/1.949, allocations: 209.3 MB / 221.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.943e-05/3.971e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4708/0.5774, allocations: 98.5 MB / 420.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.5777, allocations: 71.97 kB / 420.4 MB, free: 7.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267/1.845, allocations: 239.9 MB / 0.6448 GB, free: 10.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.826e-06/1.845, allocations: 0 / 0.6448 GB, free: 10.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001207/1.846, allocations: 260 kB / 0.6451 GB, free: 10.32 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.8373/2.683, allocations: 12.33 MB / 0.6571 GB, free: 28.04 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/2.683, allocations: 9.25 kB / 0.6571 GB, free: 28.04 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01304/2.696, allocations: 2.196 MB / 0.6593 GB, free: 27.89 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1024/2.799, allocations: 12.82 MB / 0.6718 GB, free: 27.03 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05282/2.852, allocations: 13.29 MB / 0.6848 GB, free: 26.43 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001533/2.853, allocations: 0.9557 MB / 0.6857 GB, free: 26.4 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007888/2.861, allocations: 1.271 MB / 0.6869 GB, free: 26.39 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1075/2.969, allocations: 29.9 MB / 0.7161 GB, free: 20.23 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001337/2.97, allocations: 150.8 kB / 0.7163 GB, free: 20.22 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007869/2.978, allocations: 0.5887 MB / 0.7168 GB, free: 20.22 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007185/2.985, allocations: 2.859 MB / 0.7196 GB, free: 20.18 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0844/3.07, allocations: 24.3 MB / 0.7434 GB, free: 14.92 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6941/3.764, allocations: 127.7 MB / 0.8681 GB, free: 21.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06388/3.828, allocations: 13.95 MB / 0.8817 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01631/3.844, allocations: 7.963 MB / 0.8895 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0538/3.898, allocations: 19.82 MB / 0.9089 GB, free: 17.7 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/3.898, allocations: 103.8 kB / 0.909 GB, free: 17.65 MB / 490.8 MB Notification: Performance of pre-optimization done (n=562): time 1.058e-05/3.898, allocations: 0 / 0.909 GB, free: 17.65 MB / 490.8 MB Notification: Performance of matching and sorting (n=646): time 0.2654/4.164, allocations: 59.14 MB / 0.9667 GB, free: 0.6172 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/4.164, allocations: 385.2 kB / 0.9671 GB, free: 172 kB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03736/4.201, allocations: 10.89 MB / 0.9777 GB, free: 7.57 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002031/4.203, allocations: 127.8 kB / 0.9778 GB, free: 7.441 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01128/4.215, allocations: 8.539 MB / 0.9862 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005019/4.22, allocations: 2.38 MB / 0.9885 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003228/4.223, allocations: 316 kB / 0.9888 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002451/4.226, allocations: 0.9659 MB / 0.9897 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0207/4.246, allocations: 6.618 MB / 0.9962 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04021/4.287, allocations: 15.05 MB / 1.011 GB, free: 4.77 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03614/4.323, allocations: 9.869 MB / 1.021 GB, free: 12.66 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005117/4.323, allocations: 84 kB / 1.021 GB, free: 12.58 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2017) (initialization): time 0.4905/4.814, allocations: 24.78 MB / 1.045 GB, free: 130.3 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003313/4.814, allocations: 132.5 kB / 1.045 GB, free: 130.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008457/4.815, allocations: 293.7 kB / 1.045 GB, free: 130.3 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01654/4.832, allocations: 3.306 MB / 1.048 GB, free: 130.3 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02825/4.86, allocations: 3.757 MB / 1.052 GB, free: 130.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04539/4.906, allocations: 22.59 MB / 1.074 GB, free: 124.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02267/4.928, allocations: 0.9357 MB / 1.075 GB, free: 124.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005018/4.933, allocations: 0.8865 MB / 1.076 GB, free: 124.9 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1343 * 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 (1897): * Single equations (assignments): 1890 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008637/4.942, allocations: 1.287 MB / 1.077 GB, free: 124.8 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006166/4.948, allocations: 1.072 MB / 1.078 GB, free: 124.8 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07342/5.022, allocations: 14.6 MB / 1.093 GB, free: 124.4 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001266/5.022, allocations: 68.73 kB / 1.093 GB, free: 124.4 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-05/5.022, allocations: 17.91 kB / 1.093 GB, free: 124.4 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001801/5.022, allocations: 27.75 kB / 1.093 GB, free: 124.4 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1004/5.123, allocations: 32.39 MB / 1.124 GB, free: 117.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001225/5.123, allocations: 15.31 kB / 1.124 GB, free: 117.6 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01346/5.136, allocations: 1.275 MB / 1.126 GB, free: 117.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/5.15, allocations: 2.833 MB / 1.128 GB, free: 117 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002/5.152, allocations: 125.1 kB / 1.128 GB, free: 116.9 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04387/5.196, allocations: 21.08 MB / 1.149 GB, free: 105.9 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-05/5.196, allocations: 19.25 kB / 1.149 GB, free: 105.9 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06205/5.258, allocations: 26.08 MB / 1.174 GB, free: 89.13 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01015/5.268, allocations: 2.191 MB / 1.177 GB, free: 87.14 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005168/5.274, allocations: 118.6 kB / 1.177 GB, free: 87.03 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01319/5.287, allocations: 446.1 kB / 1.177 GB, free: 86.75 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003026/5.29, allocations: 410 kB / 1.178 GB, free: 86.49 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001993/5.292, allocations: 167.6 kB / 1.178 GB, free: 86.33 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.02141/5.313, allocations: 7.648 MB / 1.185 GB, free: 79.61 MB / 0.5418 GB Notification: Performance of sort global known variables: time 9.82e-07/5.313, allocations: 4.375 kB / 1.185 GB, free: 79.61 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02177/5.335, allocations: 3.1 MB / 1.188 GB, free: 76.52 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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.08071/5.416, allocations: 27.2 MB / 1.215 GB, free: 51.82 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.482/5.898, allocations: 16.67 MB / 1.231 GB, free: 138 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-05/5.898, allocations: 1.25 kB / 1.231 GB, free: 138 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.02329/5.922, allocations: 7.015 MB / 1.238 GB, free: 137.6 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01297/5.935, allocations: 1.343 MB / 1.239 GB, free: 137.5 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1112/6.046, allocations: 29.83 MB / 1.268 GB, free: 132.5 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02504/6.071, allocations: 8.875 MB / 1.277 GB, free: 131.5 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.02772/6.099, allocations: 5.157 MB / 1.282 GB, free: 131.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01846/6.117, allocations: 6.412 MB / 1.288 GB, free: 131.1 MB / 0.5418 GB Notification: Performance of SimCode: time 1.663e-06/6.117, allocations: 0 / 1.288 GB, free: 131.1 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9721/7.089, allocations: 239.4 MB / 1.522 GB, free: 100.7 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/7.09, allocations: 164.7 kB / 1.522 GB, free: 100.5 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/21.56, allocations: 5.344 kB / 1.522 GB, free: 100.5 MB / 0.5418 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