Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.467/2.467, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.772e-05/4.799e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4567, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.6663, allocations: 111.5 MB / 493.8 MB, free: 12.9 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.6667, allocations: 79.95 kB / 493.8 MB, free: 12.82 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.293/1.96, allocations: 241.4 MB / 0.718 GB, free: 1.949 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.986e-06/1.96, allocations: 0 / 0.718 GB, free: 1.949 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001588/1.962, allocations: 255.9 kB / 0.7182 GB, free: 1.699 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4457 * Number of variables: 4457 Notification: Performance of Generate backend data structure: time 0.9008/2.863, allocations: 12.35 MB / 0.7303 GB, free: 46.19 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.753e-05/2.863, allocations: 10.06 kB / 0.7303 GB, free: 46.19 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01409/2.877, allocations: 2.203 MB / 0.7324 GB, free: 46.04 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1081/2.985, allocations: 12.82 MB / 0.7449 GB, free: 45.17 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04952/3.034, allocations: 13.31 MB / 0.7579 GB, free: 43.8 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001483/3.036, allocations: 0.9607 MB / 0.7589 GB, free: 43.77 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007545/3.044, allocations: 1.274 MB / 0.7601 GB, free: 43.76 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1011/3.145, allocations: 29.79 MB / 0.7892 GB, free: 37.65 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001211/3.146, allocations: 150.3 kB / 0.7894 GB, free: 37.64 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00692/3.153, allocations: 0.5899 MB / 0.7899 GB, free: 37.64 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006824/3.16, allocations: 2.866 MB / 0.7927 GB, free: 37.6 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1065/3.266, allocations: 23.87 MB / 0.8161 GB, free: 35.15 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8211/4.088, allocations: 127.9 MB / 0.9409 GB, free: 39.15 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06491/4.153, allocations: 13.89 MB / 0.9545 GB, free: 38.41 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0169/4.169, allocations: 7.961 MB / 0.9623 GB, free: 38.32 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05749/4.227, allocations: 19.83 MB / 0.9816 GB, free: 35.54 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/4.227, allocations: 98.33 kB / 0.9817 GB, free: 35.5 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=562): time 1.119e-05/4.227, allocations: 3.375 kB / 0.9817 GB, free: 35.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=646): time 0.2857/4.513, allocations: 59.15 MB / 1.039 GB, free: 22.01 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/4.513, allocations: 384.6 kB / 1.04 GB, free: 21.62 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03296/4.546, allocations: 10.63 MB / 1.05 GB, free: 19.73 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.00236/4.549, allocations: 123.3 kB / 1.05 GB, free: 19.68 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.01031/4.559, allocations: 8.571 MB / 1.059 GB, free: 12.07 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.004947/4.564, allocations: 2.377 MB / 1.061 GB, free: 9.961 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003752/4.568, allocations: 315.3 kB / 1.061 GB, free: 9.656 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.002299/4.57, allocations: 0.9556 MB / 1.062 GB, free: 8.879 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01881/4.589, allocations: 6.631 MB / 1.069 GB, free: 2.93 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05018/4.639, allocations: 16.21 MB / 1.085 GB, free: 4.156 MB / 0.5731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03109/4.671, allocations: 10.09 MB / 1.094 GB, free: 12.86 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004505/4.671, allocations: 86.47 kB / 1.095 GB, free: 12.78 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2020) (initialization): time 0.08534/4.756, allocations: 23.78 MB / 1.118 GB, free: 9.848 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003722/4.757, allocations: 135.9 kB / 1.118 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000815/4.758, allocations: 300.7 kB / 1.118 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01663/4.774, allocations: 3.298 MB / 1.121 GB, free: 6.977 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02927/4.804, allocations: 3.766 MB / 1.125 GB, free: 3.805 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05745/4.861, allocations: 22.82 MB / 1.147 GB, free: 0 / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02388/4.885, allocations: 0.9524 MB / 1.148 GB, free: 15.25 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005264/4.89, allocations: 0.8878 MB / 1.149 GB, free: 14.39 MB / 0.6356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1346 * Number of states: 0 () * Number of discrete variables: 120 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1900): * Single equations (assignments): 1893 * 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.008934/4.899, allocations: 1.281 MB / 1.15 GB, free: 13.11 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005435/4.905, allocations: 1.072 MB / 1.151 GB, free: 12.03 MB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05515/4.96, allocations: 14.6 MB / 1.166 GB, free: 13.82 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001481/4.96, allocations: 67.94 kB / 1.166 GB, free: 13.76 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-05/4.961, allocations: 18.06 kB / 1.166 GB, free: 13.74 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002067/4.961, allocations: 35.83 kB / 1.166 GB, free: 13.71 MB / 0.6512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6071/5.568, allocations: 32.37 MB / 1.197 GB, free: 175.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001124/5.568, allocations: 11 kB / 1.197 GB, free: 175.8 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01332/5.581, allocations: 1.286 MB / 1.199 GB, free: 175.8 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01329/5.595, allocations: 2.828 MB / 1.201 GB, free: 175.8 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002187/5.597, allocations: 131.5 kB / 1.202 GB, free: 175.8 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04289/5.64, allocations: 21.07 MB / 1.222 GB, free: 170.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.587e-05/5.64, allocations: 21.03 kB / 1.222 GB, free: 170.4 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06103/5.701, allocations: 26.09 MB / 1.248 GB, free: 165 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0102/5.711, allocations: 2.184 MB / 1.25 GB, free: 164.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005424/5.717, allocations: 120 kB / 1.25 GB, free: 164.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01311/5.73, allocations: 446.9 kB / 1.25 GB, free: 164.9 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002799/5.733, allocations: 413 kB / 1.251 GB, free: 164.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001826/5.735, allocations: 169.5 kB / 1.251 GB, free: 164.9 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.02237/5.757, allocations: 7.661 MB / 1.258 GB, free: 164.5 MB / 0.6512 GB Notification: Performance of sort global known variables: time 2.094e-06/5.757, allocations: 0 / 1.258 GB, free: 164.5 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.02329/5.78, allocations: 3.115 MB / 1.261 GB, free: 164.5 MB / 0.6512 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.06386/5.844, allocations: 27.2 MB / 1.288 GB, free: 151.4 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.04018/5.885, allocations: 16.1 MB / 1.304 GB, free: 146.2 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 1.959e-05/5.885, allocations: 3.938 kB / 1.304 GB, free: 146.2 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.01986/5.904, allocations: 6.924 MB / 1.31 GB, free: 143.3 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01415/5.919, allocations: 1.342 MB / 1.312 GB, free: 142.2 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1037/6.022, allocations: 29.83 MB / 1.341 GB, free: 116.7 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02343/6.046, allocations: 8.886 MB / 1.35 GB, free: 110.3 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.02628/6.072, allocations: 5.168 MB / 1.355 GB, free: 107.1 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02277/6.095, allocations: 6.424 MB / 1.361 GB, free: 101.1 MB / 0.6512 GB Notification: Performance of SimCode: time 1.994e-06/6.095, allocations: 0 / 1.361 GB, free: 101.1 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.055/7.15, allocations: 237.6 MB / 1.593 GB, free: 101.4 MB / 0.6512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/7.15, allocations: 160.5 kB / 1.593 GB, free: 101.2 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/22.15, allocations: 0 / 1.593 GB, free: 101.2 MB / 0.6512 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2_res.mat does not exist to compare? outputFormat=mat