Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.215e-05/4.221e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5263/0.644, allocations: 97.06 MB / 418.9 MB, free: 8.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.6444, allocations: 75.95 kB / 419 MB, free: 8.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204/1.848, allocations: 223.3 MB / 0.6272 GB, free: 28.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.106e-06/1.848, allocations: 0 / 0.6272 GB, free: 28.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001035/1.849, allocations: 243.9 kB / 0.6275 GB, free: 28.23 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: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 0.0538/1.903, allocations: 11.37 MB / 0.6386 GB, free: 16.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/1.903, allocations: 12.03 kB / 0.6386 GB, free: 16.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01192/1.915, allocations: 2.068 MB / 0.6406 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0945/2.01, allocations: 12.63 MB / 0.6529 GB, free: 2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7123/2.722, allocations: 12.54 MB / 0.6652 GB, free: 38.85 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001578/2.724, allocations: 0.8975 MB / 0.6661 GB, free: 38.82 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007445/2.731, allocations: 1.201 MB / 0.6672 GB, free: 38.81 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1016/2.833, allocations: 27.98 MB / 0.6945 GB, free: 33.38 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001188/2.834, allocations: 131.7 kB / 0.6947 GB, free: 33.37 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007229/2.842, allocations: 0.5556 MB / 0.6952 GB, free: 33.37 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006584/2.848, allocations: 2.677 MB / 0.6978 GB, free: 33.34 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08122/2.929, allocations: 22.8 MB / 0.7201 GB, free: 31.31 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2729/3.202, allocations: 116.8 MB / 0.8342 GB, free: 2.227 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5305/3.733, allocations: 14.17 MB / 0.848 GB, free: 96.91 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02186/3.755, allocations: 7.869 MB / 0.8557 GB, free: 96.86 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004117/3.759, allocations: 2.352 MB / 0.858 GB, free: 94.87 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/3.759, allocations: 97.31 kB / 0.8581 GB, free: 94.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=559): time 1.133e-05/3.759, allocations: 0.5625 kB / 0.8581 GB, free: 94.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=643): time 0.26/4.019, allocations: 53.33 MB / 0.9102 GB, free: 86.94 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/4.02, allocations: 324.3 kB / 0.9105 GB, free: 86.62 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02469/4.044, allocations: 8.968 MB / 0.9192 GB, free: 85.61 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002003/4.046, allocations: 127.7 kB / 0.9194 GB, free: 85.5 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008034/4.054, allocations: 7.73 MB / 0.9269 GB, free: 79.59 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004313/4.059, allocations: 2.346 MB / 0.9292 GB, free: 77.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003063/4.062, allocations: 284.4 kB / 0.9295 GB, free: 77.63 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001613/4.064, allocations: 0.9114 MB / 0.9304 GB, free: 77.06 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01736/4.081, allocations: 6.389 MB / 0.9366 GB, free: 74.82 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02291/4.104, allocations: 13.87 MB / 0.9501 GB, free: 62.59 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02253/4.127, allocations: 9.351 MB / 0.9593 GB, free: 55.54 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000368/4.127, allocations: 77.59 kB / 0.9594 GB, free: 55.47 MB / 490.8 MB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.06863/4.196, allocations: 22.48 MB / 0.9813 GB, free: 36.99 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/4.196, allocations: 116 kB / 0.9814 GB, free: 36.88 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004477/4.196, allocations: 264 kB / 0.9817 GB, free: 36.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/4.211, allocations: 3.265 MB / 0.9849 GB, free: 34.21 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02511/4.236, allocations: 3.499 MB / 0.9883 GB, free: 31.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04274/4.278, allocations: 22.56 MB / 1.01 GB, free: 10.99 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01962/4.298, allocations: 0.8793 MB / 1.011 GB, free: 10.28 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005565/4.304, allocations: 0.9731 MB / 1.012 GB, free: 9.859 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1201 * Number of states: 0 () * Number of discrete variables: 105 (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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[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],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 (1741): * Single equations (assignments): 1734 * 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.4146/4.718, allocations: 1.177 MB / 1.013 GB, free: 79.76 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004481/4.723, allocations: 0.9497 MB / 1.014 GB, free: 79.76 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05318/4.776, allocations: 14.44 MB / 1.028 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001934/4.776, allocations: 67.38 kB / 1.028 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001143/4.777, allocations: 15.91 kB / 1.028 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002066/4.777, allocations: 34.61 kB / 1.028 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.104/4.881, allocations: 31.09 MB / 1.059 GB, free: 78.03 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000113/4.881, allocations: 6.656 kB / 1.059 GB, free: 78.03 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01316/4.894, allocations: 1.216 MB / 1.06 GB, free: 78.03 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01371/4.908, allocations: 2.828 MB / 1.063 GB, free: 77.98 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002132/4.91, allocations: 122.1 kB / 1.063 GB, free: 77.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04351/4.954, allocations: 21.07 MB / 1.083 GB, free: 68.73 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/4.954, allocations: 10.41 kB / 1.083 GB, free: 68.73 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06305/5.017, allocations: 23.75 MB / 1.107 GB, free: 58.72 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008716/5.026, allocations: 2.042 MB / 1.109 GB, free: 57.92 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004753/5.03, allocations: 115.5 kB / 1.109 GB, free: 57.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01216/5.043, allocations: 489.2 kB / 1.109 GB, free: 57.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002708/5.045, allocations: 396.1 kB / 1.11 GB, free: 57.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001732/5.047, allocations: 167.5 kB / 1.11 GB, free: 57.66 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01863/5.066, allocations: 6.422 MB / 1.116 GB, free: 55.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.432e-06/5.066, allocations: 0 / 1.116 GB, free: 55.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.02276/5.089, allocations: 2.93 MB / 1.119 GB, free: 55.15 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (554): * Single equations (assignments): 547 * 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.06512/5.154, allocations: 24.97 MB / 1.143 GB, free: 34.77 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0387/5.193, allocations: 15.59 MB / 1.158 GB, free: 21.26 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/5.193, allocations: 0 / 1.158 GB, free: 21.26 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02137/5.214, allocations: 6.967 MB / 1.165 GB, free: 15.12 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01225/5.226, allocations: 1.192 MB / 1.166 GB, free: 14.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5031/5.729, allocations: 28.55 MB / 1.194 GB, free: 94.59 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02636/5.756, allocations: 8.304 MB / 1.202 GB, free: 93.57 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.02778/5.784, allocations: 4.713 MB / 1.207 GB, free: 93.48 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01836/5.802, allocations: 5.862 MB / 1.213 GB, free: 93.48 MB / 0.4949 GB Notification: Performance of SimCode: time 1.814e-06/5.802, allocations: 0 / 1.213 GB, free: 93.48 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9303/6.732, allocations: 220.5 MB / 1.428 GB, free: 91.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/6.733, allocations: 161.5 kB / 1.428 GB, free: 91.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/20.14, allocations: 0 / 1.428 GB, free: 91.65 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat