Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.495e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4285, allocations: 54.86 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.6155, allocations: 102.8 MB / 462.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.6158, allocations: 73.16 kB / 462.8 MB, free: 9.957 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8757/1.491, allocations: 138.4 MB / 0.5871 GB, free: 96.49 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.492, allocations: 7.906 kB / 0.5871 GB, free: 96.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004275/1.492, allocations: 129.8 kB / 0.5872 GB, free: 96.48 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02855/1.521, allocations: 6.802 MB / 0.5939 GB, free: 92.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/1.521, allocations: 9.812 kB / 0.5939 GB, free: 92.04 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005984/1.527, allocations: 1.238 MB / 0.5951 GB, free: 91.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05273/1.579, allocations: 7.182 MB / 0.6021 GB, free: 87.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02923/1.609, allocations: 7.527 MB / 0.6095 GB, free: 79.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007872/1.61, allocations: 0.5291 MB / 0.61 GB, free: 79.19 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004526/1.614, allocations: 0.6871 MB / 0.6107 GB, free: 78.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06692/1.681, allocations: 17.1 MB / 0.6274 GB, free: 60.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004618/1.682, allocations: 87.17 kB / 0.6274 GB, free: 59.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002851/1.684, allocations: 331.8 kB / 0.6278 GB, free: 59.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003345/1.688, allocations: 1.624 MB / 0.6293 GB, free: 57.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04536/1.733, allocations: 14.15 MB / 0.6432 GB, free: 43.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4928/2.226, allocations: 72.26 MB / 0.7137 GB, free: 55.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03239/2.258, allocations: 7.119 MB / 0.7207 GB, free: 55.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008663/2.267, allocations: 3.923 MB / 0.7245 GB, free: 55.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02502/2.292, allocations: 9.479 MB / 0.7338 GB, free: 54.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/2.292, allocations: 73.14 kB / 0.7338 GB, free: 54.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=297): time 6.783e-06/2.292, allocations: 2.438 kB / 0.7338 GB, free: 54.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.1198/2.412, allocations: 27.68 MB / 0.7609 GB, free: 48.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/2.412, allocations: 246.5 kB / 0.7611 GB, free: 48.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/2.427, allocations: 5.886 MB / 0.7669 GB, free: 46.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009632/2.428, allocations: 73.31 kB / 0.7669 GB, free: 46.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004678/2.432, allocations: 4.811 MB / 0.7716 GB, free: 42.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002213/2.435, allocations: 1.269 MB / 0.7729 GB, free: 41.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001743/2.436, allocations: 174.6 kB / 0.773 GB, free: 41.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008902/2.437, allocations: 0.6818 MB / 0.7737 GB, free: 40.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009928/2.447, allocations: 3.649 MB / 0.7773 GB, free: 39.56 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01318/2.461, allocations: 8.674 MB / 0.7857 GB, free: 31.58 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/2.474, allocations: 5.576 MB / 0.7912 GB, free: 29.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002019/2.474, allocations: 50.38 kB / 0.7912 GB, free: 29.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03869/2.513, allocations: 13.67 MB / 0.8046 GB, free: 21.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/2.513, allocations: 80 kB / 0.8047 GB, free: 21.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002553/2.513, allocations: 176 kB / 0.8048 GB, free: 21.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007111/2.52, allocations: 1.7 MB / 0.8065 GB, free: 20.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01436/2.535, allocations: 2.119 MB / 0.8086 GB, free: 18.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/2.556, allocations: 11.38 MB / 0.8197 GB, free: 8.023 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.567, allocations: 0.5258 MB / 0.8202 GB, free: 7.582 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002197/2.569, allocations: 0.5165 MB / 0.8207 GB, free: 7.082 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1089): * Single equations (assignments): 1084 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003649/2.573, allocations: 0.7767 MB / 0.8214 GB, free: 6.309 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/2.575, allocations: 0.5784 MB / 0.822 GB, free: 5.723 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02298/2.598, allocations: 7.489 MB / 0.8293 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.14e-05/2.598, allocations: 36 kB / 0.8293 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.765e-05/2.598, allocations: 18.59 kB / 0.8294 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.702e-05/2.598, allocations: 17.27 kB / 0.8294 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05505/2.653, allocations: 15.99 MB / 0.845 GB, free: 1.645 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.525e-05/2.653, allocations: 4 kB / 0.845 GB, free: 1.641 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007026/2.66, allocations: 0.6246 MB / 0.8456 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007209/2.667, allocations: 1.437 MB / 0.847 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001035/2.669, allocations: 63.98 kB / 0.8471 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0251/2.694, allocations: 10.59 MB / 0.8574 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/2.694, allocations: 12.64 kB / 0.8574 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03437/2.728, allocations: 12.58 MB / 0.8697 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005376/2.734, allocations: 1.207 MB / 0.8709 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00238/2.736, allocations: 61 kB / 0.871 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006593/2.743, allocations: 235.7 kB / 0.8712 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/2.744, allocations: 197.9 kB / 0.8714 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004548/2.745, allocations: 87.98 kB / 0.8715 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01256/2.757, allocations: 4.226 MB / 0.8756 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.82e-07/2.757, allocations: 0 / 0.8756 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01209/2.769, allocations: 1.7 MB / 0.8772 GB, free: 132 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.03643/2.806, allocations: 13.97 MB / 0.8909 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02412/2.83, allocations: 9.027 MB / 0.8997 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/2.83, allocations: 8.062 kB / 0.8997 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01246/2.842, allocations: 3.654 MB / 0.9033 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006583/2.849, allocations: 0.7104 MB / 0.904 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4027/3.252, allocations: 15.98 MB / 0.9196 GB, free: 172.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01421/3.266, allocations: 5.173 MB / 0.9246 GB, free: 171.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0151/3.281, allocations: 2.971 MB / 0.9275 GB, free: 171.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008994/3.29, allocations: 3.277 MB / 0.9307 GB, free: 171.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.803e-06/3.29, allocations: 3.281 kB / 0.9307 GB, free: 171.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3035/3.594, allocations: 133.8 MB / 1.061 GB, free: 76.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/3.594, allocations: 184.9 kB / 1.062 GB, free: 76.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/11.62, allocations: 1.531 kB / 1.062 GB, free: 76.7 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat