Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.348e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4036, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.6033, allocations: 100.8 MB / 455.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.6037, allocations: 79.95 kB / 455.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052/1.656, allocations: 174.6 MB / 0.6151 GB, free: 10.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.756e-06/1.656, allocations: 0 / 0.6151 GB, free: 10.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005907/1.656, allocations: 180 kB / 0.6153 GB, free: 10.49 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: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.03622/1.693, allocations: 8.801 MB / 0.6239 GB, free: 1.609 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.693, allocations: 8.031 kB / 0.6239 GB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07824/1.771, allocations: 9.879 MB / 0.6335 GB, free: 7.695 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0365/1.808, allocations: 9.831 MB / 0.6431 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006727/1.808, allocations: 304 kB / 0.6434 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004954/1.813, allocations: 0.5428 MB / 0.6439 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03758/1.851, allocations: 12.92 MB / 0.6566 GB, free: 12 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8081/2.659, allocations: 19.18 MB / 0.6753 GB, free: 65.4 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008715/2.66, allocations: 106.7 kB / 0.6754 GB, free: 65.4 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004879/2.665, allocations: 50.09 kB / 0.6754 GB, free: 65.4 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005508/2.67, allocations: 2.084 MB / 0.6775 GB, free: 65.38 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1449/2.815, allocations: 87.21 MB / 0.7626 GB, free: 35.7 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/2.829, allocations: 7.813 MB / 0.7703 GB, free: 32.23 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009637/2.839, allocations: 5.487 MB / 0.7756 GB, free: 29.95 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005021/2.84, allocations: 91.81 kB / 0.7757 GB, free: 29.94 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/2.84, allocations: 81.17 kB / 0.7758 GB, free: 29.87 MB / 490.8 MB Notification: Performance of pre-optimization done (n=412): time 8.666e-06/2.84, allocations: 2.906 kB / 0.7758 GB, free: 29.87 MB / 490.8 MB Notification: Performance of matching and sorting (n=477): time 0.1316/2.971, allocations: 41.27 MB / 0.8161 GB, free: 14.34 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/2.972, allocations: 282.1 kB / 0.8164 GB, free: 14.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/2.985, allocations: 5.507 MB / 0.8217 GB, free: 9.859 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00144/2.987, allocations: 29.7 kB / 0.8218 GB, free: 9.824 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006744/2.993, allocations: 6.202 MB / 0.8278 GB, free: 4.215 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003345/2.997, allocations: 1.697 MB / 0.8295 GB, free: 2.684 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/2.998, allocations: 0 / 0.8295 GB, free: 2.684 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0009156/2.999, allocations: 0.8013 MB / 0.8303 GB, free: 2.016 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02747/3.027, allocations: 5.695 MB / 0.8358 GB, free: 0 / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01892/3.046, allocations: 11.09 MB / 0.8467 GB, free: 2.738 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02113/3.067, allocations: 7.404 MB / 0.8539 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002805/3.067, allocations: 64 kB / 0.8539 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1511) (initialization): time 0.4286/3.496, allocations: 16.84 MB / 0.8704 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002564/3.496, allocations: 99.62 kB / 0.8705 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005894/3.497, allocations: 222.3 kB / 0.8707 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01173/3.508, allocations: 2.497 MB / 0.8731 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02015/3.529, allocations: 2.775 MB / 0.8758 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03324/3.562, allocations: 15.91 MB / 0.8914 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01483/3.577, allocations: 470 kB / 0.8918 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003755/3.581, allocations: 0.6723 MB / 0.8925 GB, free: 102.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1014 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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 (1415): * Single equations (assignments): 1409 * 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 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006799/3.587, allocations: 0.6765 MB / 0.8932 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03187/3.619, allocations: 9.935 MB / 0.9029 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003131/3.623, allocations: 0.634 MB / 0.9035 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03396/3.657, allocations: 10.21 MB / 0.9134 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001808/3.657, allocations: 46.67 kB / 0.9135 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.432e-05/3.657, allocations: 18.78 kB / 0.9135 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001546/3.657, allocations: 24.33 kB / 0.9135 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06966/3.727, allocations: 21.01 MB / 0.934 GB, free: 98.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.245e-05/3.727, allocations: 6.156 kB / 0.9341 GB, free: 98.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009458/3.736, allocations: 0.8796 MB / 0.9349 GB, free: 98.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01003/3.747, allocations: 2.111 MB / 0.937 GB, free: 98.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001512/3.748, allocations: 26.42 kB / 0.937 GB, free: 98.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03033/3.778, allocations: 14.68 MB / 0.9513 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/3.779, allocations: 6.969 kB / 0.9513 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0462/3.825, allocations: 17.02 MB / 0.968 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006112/3.831, allocations: 1.439 MB / 0.9694 GB, free: 81.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003277/3.834, allocations: 4 kB / 0.9694 GB, free: 81.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008361/3.843, allocations: 288.3 kB / 0.9696 GB, free: 81.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002258/3.845, allocations: 286.8 kB / 0.9699 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0016/3.847, allocations: 130.7 kB / 0.97 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01014/3.857, allocations: 3.698 MB / 0.9737 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.164e-06/3.857, allocations: 0 / 0.9737 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01679/3.874, allocations: 1.96 MB / 0.9756 GB, free: 76.13 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (408): * Single equations (assignments): 402 * 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 {(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.04778/3.922, allocations: 18.37 MB / 0.9935 GB, free: 60 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04918/3.971, allocations: 12.2 MB / 1.005 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/3.971, allocations: 4 kB / 1.005 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0141/3.985, allocations: 5.084 MB / 1.01 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007479/3.993, allocations: 0.6803 MB / 1.011 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07123/4.064, allocations: 20.76 MB / 1.031 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01752/4.081, allocations: 6.601 MB / 1.038 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01973/4.101, allocations: 3.735 MB / 1.041 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01351/4.115, allocations: 4.404 MB / 1.046 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of SimCode: time 2.384e-06/4.115, allocations: 0 / 1.046 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7707/4.886, allocations: 156.4 MB / 1.198 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/4.886, allocations: 145 kB / 1.199 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.409/14.29, allocations: 0 / 1.199 GB, free: 28.52 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat