Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.499/2.499, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.843e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4217, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.6228, allocations: 105.7 MB / 488 MB, free: 2.648 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/0.6233, allocations: 75.97 kB / 488.1 MB, free: 2.574 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.044/1.667, allocations: 171.1 MB / 0.6437 GB, free: 29.82 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.324e-06/1.667, allocations: 0 / 0.6437 GB, free: 29.82 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0006287/1.668, allocations: 168 kB / 0.6439 GB, free: 29.66 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.0343/1.702, allocations: 8.263 MB / 0.6519 GB, free: 21.31 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/1.703, allocations: 15.97 kB / 0.652 GB, free: 21.3 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007545/1.71, allocations: 1.463 MB / 0.6534 GB, free: 19.82 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09234/1.802, allocations: 12.09 MB / 0.6652 GB, free: 7.703 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04222/1.845, allocations: 10.98 MB / 0.6759 GB, free: 12.65 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/1.846, allocations: 0.6339 MB / 0.6765 GB, free: 12.01 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004979/1.851, allocations: 0.8589 MB / 0.6774 GB, free: 11.15 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07131/1.922, allocations: 19.75 MB / 0.6967 GB, free: 5.867 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008109/1.923, allocations: 103 kB / 0.6968 GB, free: 5.766 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005031/1.928, allocations: 403.8 kB / 0.6971 GB, free: 5.371 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005118/1.933, allocations: 1.822 MB / 0.6989 GB, free: 3.547 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05914/1.993, allocations: 15.75 MB / 0.7143 GB, free: 3.777 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.546/2.539, allocations: 82.21 MB / 0.7946 GB, free: 41.27 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03476/2.573, allocations: 8.034 MB / 0.8024 GB, free: 40.57 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008689/2.582, allocations: 4.076 MB / 0.8064 GB, free: 39.1 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/2.583, allocations: 0.6633 MB / 0.8071 GB, free: 38.51 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.37e-05/2.584, allocations: 68.47 kB / 0.8071 GB, free: 38.45 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=311): time 7.855e-06/2.584, allocations: 0 / 0.8071 GB, free: 38.45 MB / 0.4949 GB Notification: Performance of matching and sorting (n=335): time 0.1217/2.705, allocations: 26.27 MB / 0.8328 GB, free: 28.64 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/2.705, allocations: 290.8 kB / 0.8331 GB, free: 28.32 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01796/2.723, allocations: 6.832 MB / 0.8397 GB, free: 25.97 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008792/2.724, allocations: 73.23 kB / 0.8398 GB, free: 25.91 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00582/2.73, allocations: 5.884 MB / 0.8455 GB, free: 21.49 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002104/2.732, allocations: 1.259 MB / 0.8468 GB, free: 20.57 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/2.734, allocations: 200.5 kB / 0.847 GB, free: 20.41 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.00099/2.735, allocations: 0.7109 MB / 0.8477 GB, free: 19.93 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00959/2.745, allocations: 3.436 MB / 0.851 GB, free: 18.77 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01363/2.758, allocations: 9.081 MB / 0.8599 GB, free: 9.09 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/2.771, allocations: 5.541 MB / 0.8653 GB, free: 4.73 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002446/2.771, allocations: 67.33 kB / 0.8654 GB, free: 4.668 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1262) (initialization): time 0.0382/2.809, allocations: 12.65 MB / 0.8777 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002023/2.81, allocations: 97.67 kB / 0.8778 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004167/2.81, allocations: 203.1 kB / 0.878 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004637/2.815, allocations: 1.048 MB / 0.879 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01549/2.83, allocations: 2.254 MB / 0.8812 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/2.852, allocations: 11.27 MB / 0.8922 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01281/2.864, allocations: 0.5289 MB / 0.8927 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002693/2.867, allocations: 0.567 MB / 0.8933 GB, free: 10.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[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],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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.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 (1182): * Single equations (assignments): 1175 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004309/2.872, allocations: 0.8496 MB / 0.8941 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00274/2.874, allocations: 0.6865 MB / 0.8948 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02028/2.895, allocations: 5.953 MB / 0.9006 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-05/2.895, allocations: 36 kB / 0.9006 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.78e-05/2.895, allocations: 8 kB / 0.9007 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/2.895, allocations: 23.61 kB / 0.9007 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05113/2.946, allocations: 15.02 MB / 0.9153 GB, free: 8.215 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.201e-05/2.946, allocations: 4 kB / 0.9153 GB, free: 8.211 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006259/2.952, allocations: 0.5571 MB / 0.9159 GB, free: 7.766 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003779/2.956, allocations: 0.7012 MB / 0.9166 GB, free: 7.227 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009225/2.957, allocations: 61.62 kB / 0.9166 GB, free: 7.172 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4452/3.402, allocations: 10.1 MB / 0.9265 GB, free: 126.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/3.402, allocations: 9.922 kB / 0.9265 GB, free: 126.3 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02565/3.428, allocations: 10.07 MB / 0.9363 GB, free: 125.3 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005045/3.433, allocations: 1.195 MB / 0.9375 GB, free: 125.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002854/3.436, allocations: 54.75 kB / 0.9376 GB, free: 125.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006869/3.443, allocations: 197.6 kB / 0.9377 GB, free: 125.2 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/3.444, allocations: 197 kB / 0.9379 GB, free: 125.2 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005366/3.445, allocations: 83.11 kB / 0.938 GB, free: 125.2 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01638/3.461, allocations: 4.865 MB / 0.9428 GB, free: 124.9 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.695e-06/3.461, allocations: 3.812 kB / 0.9428 GB, free: 124.9 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01807/3.479, allocations: 1.875 MB / 0.9446 GB, free: 124.9 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (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 (276): * Single equations (assignments): 269 * 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 {(1,100.0%) 11,(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.02604/3.506, allocations: 11.03 MB / 0.9554 GB, free: 123.1 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02012/3.526, allocations: 8.538 MB / 0.9637 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/3.526, allocations: 2.625 kB / 0.9637 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.007019/3.533, allocations: 3.142 MB / 0.9668 GB, free: 122.2 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008328/3.541, allocations: 0.9299 MB / 0.9677 GB, free: 122.2 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0587/3.6, allocations: 17.74 MB / 0.985 GB, free: 118 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01466/3.615, allocations: 6.129 MB / 0.991 GB, free: 116.1 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01569/3.63, allocations: 3.103 MB / 0.994 GB, free: 116 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01041/3.641, allocations: 4.095 MB / 0.998 GB, free: 112.6 MB / 0.5418 GB Notification: Performance of SimCode: time 1.714e-06/3.641, allocations: 0 / 0.998 GB, free: 112.6 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7942/4.435, allocations: 149.3 MB / 1.144 GB, free: 98.82 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003468/4.436, allocations: 174.3 kB / 1.144 GB, free: 98.6 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.476/13.91, allocations: 3.281 kB / 1.144 GB, free: 98.6 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat