Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Worldtorque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Worldtorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.927/2.927, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.455e-05, allocations: 0 / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4026, allocations: 54.85 MB / 354.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.5963, allocations: 98.99 MB / 453.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.5967, allocations: 75.95 kB / 453.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9078/1.504, allocations: 139.8 MB / 0.5793 GB, free: 47.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.544e-06/1.505, allocations: 0 / 0.5793 GB, free: 47.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005472/1.505, allocations: 140 kB / 0.5795 GB, free: 47.35 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: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.0303/1.535, allocations: 6.832 MB / 0.5862 GB, free: 40.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/1.536, allocations: 12.03 kB / 0.5862 GB, free: 40.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07041/1.606, allocations: 9.53 MB / 0.5955 GB, free: 30.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03334/1.639, allocations: 8.828 MB / 0.6041 GB, free: 21.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005452/1.64, allocations: 232.9 kB / 0.6043 GB, free: 21.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004154/1.644, allocations: 431.8 kB / 0.6047 GB, free: 21.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02612/1.67, allocations: 9.42 MB / 0.6139 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04352/1.714, allocations: 14.59 MB / 0.6282 GB, free: 11.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006727/1.715, allocations: 91.12 kB / 0.6283 GB, free: 11.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003824/1.718, allocations: 47.98 kB / 0.6283 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004272/1.723, allocations: 1.523 MB / 0.6298 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5238/2.247, allocations: 69.42 MB / 0.6976 GB, free: 57.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008895/2.256, allocations: 4.637 MB / 0.7021 GB, free: 57.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005706/2.261, allocations: 2.993 MB / 0.705 GB, free: 57.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003753/2.262, allocations: 50.89 kB / 0.7051 GB, free: 57.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.725e-05/2.262, allocations: 69.86 kB / 0.7051 GB, free: 57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 7.945e-06/2.262, allocations: 3.891 kB / 0.7052 GB, free: 57 MB / 474.7 MB Notification: Performance of matching and sorting (n=268): time 0.07349/2.335, allocations: 24.42 MB / 0.729 GB, free: 51.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/2.336, allocations: 264.4 kB / 0.7293 GB, free: 51.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/2.347, allocations: 4.909 MB / 0.7341 GB, free: 50.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006827/2.348, allocations: 29.05 kB / 0.7341 GB, free: 50.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004863/2.353, allocations: 5.136 MB / 0.7391 GB, free: 47.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001679/2.354, allocations: 1.005 MB / 0.7401 GB, free: 46.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009984/2.355, allocations: 0 / 0.7401 GB, free: 46.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005787/2.356, allocations: 0.6827 MB / 0.7407 GB, free: 46.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0069/2.363, allocations: 2.782 MB / 0.7435 GB, free: 45.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/2.374, allocations: 8.236 MB / 0.7515 GB, free: 36.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/2.384, allocations: 4.732 MB / 0.7561 GB, free: 35.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002269/2.384, allocations: 58.53 kB / 0.7562 GB, free: 35.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.02955/2.414, allocations: 10.41 MB / 0.7663 GB, free: 32.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/2.414, allocations: 89.75 kB / 0.7664 GB, free: 32.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002928/2.414, allocations: 195.5 kB / 0.7666 GB, free: 32.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003176/2.418, allocations: 0.8365 MB / 0.7674 GB, free: 32.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01337/2.431, allocations: 2.064 MB / 0.7694 GB, free: 30.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/2.444, allocations: 8.208 MB / 0.7775 GB, free: 22.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/2.454, allocations: 312.8 kB / 0.7778 GB, free: 22.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002569/2.457, allocations: 0.5371 MB / 0.7783 GB, free: 21.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 891 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1099): * Single equations (assignments): 1093 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003461/2.461, allocations: 0.5822 MB / 0.7789 GB, free: 21.37 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01245/2.473, allocations: 4.379 MB / 0.7831 GB, free: 17.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001981/2.475, allocations: 0.5128 MB / 0.7836 GB, free: 17.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/2.488, allocations: 4.207 MB / 0.7877 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-05/2.488, allocations: 32 kB / 0.7878 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.159e-05/2.488, allocations: 4 kB / 0.7878 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.464e-05/2.488, allocations: 26.84 kB / 0.7878 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03428/2.522, allocations: 10.29 MB / 0.7978 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/2.523, allocations: 0 / 0.7978 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004637/2.527, allocations: 448.5 kB / 0.7983 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/2.53, allocations: 0.5202 MB / 0.7988 GB, free: 4.402 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006556/2.531, allocations: 15.58 kB / 0.7988 GB, free: 4.395 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/2.543, allocations: 7.276 MB / 0.8059 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/2.543, allocations: 0 / 0.8059 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02047/2.563, allocations: 7.618 MB / 0.8133 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004066/2.567, allocations: 0.8984 MB / 0.8142 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002142/2.57, allocations: 8 kB / 0.8142 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005076/2.575, allocations: 108.9 kB / 0.8143 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/2.576, allocations: 156.5 kB / 0.8145 GB, free: 5.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006881/2.577, allocations: 75.14 kB / 0.8146 GB, free: 5.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009876/2.587, allocations: 3.324 MB / 0.8178 GB, free: 2.605 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.587, allocations: 0 / 0.8178 GB, free: 2.605 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01208/2.599, allocations: 1.342 MB / 0.8191 GB, free: 1.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 214 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02771/2.627, allocations: 8.831 MB / 0.8277 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01907/2.646, allocations: 7.009 MB / 0.8346 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/2.646, allocations: 4 kB / 0.8346 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00625/2.652, allocations: 2.402 MB / 0.8369 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005952/2.658, allocations: 0.5984 MB / 0.8375 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05461/2.713, allocations: 14.26 MB / 0.8514 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0147/2.727, allocations: 5.215 MB / 0.8565 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01603/2.744, allocations: 2.8 MB / 0.8593 GB, free: 15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009303/2.753, allocations: 3.334 MB / 0.8625 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of SimCode: time 4.028e-06/2.753, allocations: 0 / 0.8625 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6601/3.413, allocations: 111.6 MB / 0.9715 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/3.413, allocations: 131.3 kB / 0.9717 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/10.87, allocations: 0 / 0.9717 GB, free: 105.2 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque_res.mat does not exist to compare? outputFormat=mat