Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.829/2.829, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.708e-05/4.718e-05, allocations: 6.656 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4569, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.6582, allocations: 105.5 MB / 487.8 MB, free: 2.84 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.6585, allocations: 71.97 kB / 487.9 MB, free: 2.77 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.084/1.742, allocations: 163.6 MB / 0.6363 GB, free: 37 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.226e-06/1.742, allocations: 0 / 0.6363 GB, free: 37 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0008534/1.743, allocations: 171.9 kB / 0.6364 GB, free: 36.84 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.04425/1.788, allocations: 8.01 MB / 0.6443 GB, free: 28.74 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/1.788, allocations: 8.031 kB / 0.6443 GB, free: 28.73 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008454/1.796, allocations: 1.408 MB / 0.6456 GB, free: 27.32 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09805/1.894, allocations: 12.03 MB / 0.6574 GB, free: 15.25 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03933/1.934, allocations: 10.81 MB / 0.6679 GB, free: 4.363 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008377/1.935, allocations: 0.6097 MB / 0.6685 GB, free: 3.75 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00489/1.939, allocations: 0.8159 MB / 0.6693 GB, free: 2.934 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07212/2.012, allocations: 19.03 MB / 0.6879 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009027/2.013, allocations: 111 kB / 0.688 GB, free: 14.28 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004568/2.017, allocations: 387.8 kB / 0.6884 GB, free: 13.9 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004701/2.022, allocations: 1.728 MB / 0.6901 GB, free: 12.17 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05871/2.081, allocations: 15.19 MB / 0.7049 GB, free: 12.96 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5462/2.627, allocations: 79.73 MB / 0.7828 GB, free: 44.27 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03511/2.662, allocations: 8.143 MB / 0.7907 GB, free: 43.57 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008434/2.671, allocations: 4.079 MB / 0.7947 GB, free: 43.53 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/2.672, allocations: 0.6697 MB / 0.7954 GB, free: 42.96 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.249e-05/2.672, allocations: 65.31 kB / 0.7954 GB, free: 42.92 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=307): time 7.965e-06/2.672, allocations: 0 / 0.7954 GB, free: 42.92 MB / 0.4949 GB Notification: Performance of matching and sorting (n=331): time 0.1217/2.794, allocations: 25.92 MB / 0.8207 GB, free: 35.75 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/2.794, allocations: 301.3 kB / 0.821 GB, free: 35.43 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01823/2.812, allocations: 6.666 MB / 0.8275 GB, free: 33.2 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008953/2.813, allocations: 76.95 kB / 0.8276 GB, free: 33.13 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005845/2.819, allocations: 5.635 MB / 0.8331 GB, free: 28.98 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002128/2.821, allocations: 1.242 MB / 0.8343 GB, free: 28.07 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/2.823, allocations: 189.5 kB / 0.8345 GB, free: 27.93 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001068/2.824, allocations: 0.7049 MB / 0.8352 GB, free: 27.45 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008887/2.833, allocations: 3.37 MB / 0.8385 GB, free: 26.3 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01279/2.846, allocations: 8.827 MB / 0.8471 GB, free: 17.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/2.858, allocations: 5.416 MB / 0.8524 GB, free: 16.16 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002151/2.858, allocations: 53.91 kB / 0.8525 GB, free: 16.16 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.03432/2.893, allocations: 12.33 MB / 0.8645 GB, free: 5.766 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/2.893, allocations: 95.92 kB / 0.8646 GB, free: 5.676 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000346/2.893, allocations: 196 kB / 0.8648 GB, free: 5.484 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004303/2.897, allocations: 1.001 MB / 0.8658 GB, free: 4.652 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01455/2.912, allocations: 2.164 MB / 0.8679 GB, free: 2.77 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/2.932, allocations: 11 MB / 0.8786 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/2.945, allocations: 0.5126 MB / 0.8791 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002617/2.948, allocations: 0.5521 MB / 0.8796 GB, free: 7.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (1152): * Single equations (assignments): 1145 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004363/2.952, allocations: 0.834 MB / 0.8805 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002286/2.954, allocations: 0.6673 MB / 0.8811 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02053/2.975, allocations: 5.853 MB / 0.8868 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.745e-05/2.975, allocations: 36 kB / 0.8869 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-05/2.975, allocations: 8 kB / 0.8869 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.05e-05/2.975, allocations: 15.89 kB / 0.8869 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05344/3.029, allocations: 14.65 MB / 0.9012 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.659e-05/3.029, allocations: 0 / 0.9012 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005729/3.034, allocations: 0.5339 MB / 0.9017 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003584/3.038, allocations: 0.6592 MB / 0.9024 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006466/3.039, allocations: 59.47 kB / 0.9024 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/3.057, allocations: 9.862 MB / 0.912 GB, free: 10.42 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/3.057, allocations: 0 / 0.912 GB, free: 10.42 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02718/3.084, allocations: 9.92 MB / 0.9217 GB, free: 1.504 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005246/3.09, allocations: 1.181 MB / 0.9229 GB, free: 412 kB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002467/3.092, allocations: 53.59 kB / 0.9229 GB, free: 360 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0066/3.099, allocations: 196.3 kB / 0.9231 GB, free: 224 kB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00117/3.1, allocations: 190.8 kB / 0.9233 GB, free: 104 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004731/3.1, allocations: 83.23 kB / 0.9234 GB, free: 24 kB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.4326/3.533, allocations: 4.813 MB / 0.9281 GB, free: 131.6 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.625e-06/3.533, allocations: 0 / 0.9281 GB, free: 131.6 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01436/3.547, allocations: 1.814 MB / 0.9299 GB, free: 131.6 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%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02644/3.574, allocations: 10.88 MB / 0.9405 GB, free: 129.9 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02013/3.594, allocations: 8.344 MB / 0.9486 GB, free: 129.4 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/3.594, allocations: 3 kB / 0.9486 GB, free: 129.4 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.007668/3.602, allocations: 3.09 MB / 0.9516 GB, free: 129 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008719/3.611, allocations: 0.9152 MB / 0.9525 GB, free: 128.9 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05808/3.669, allocations: 17.15 MB / 0.9693 GB, free: 125.9 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01544/3.684, allocations: 5.908 MB / 0.9751 GB, free: 125 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01593/3.7, allocations: 3.045 MB / 0.978 GB, free: 124.9 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0105/3.711, allocations: 3.921 MB / 0.9819 GB, free: 123.3 MB / 0.5418 GB Notification: Performance of SimCode: time 1.663e-06/3.711, allocations: 0 / 0.9819 GB, free: 123.3 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7259/4.437, allocations: 145.7 MB / 1.124 GB, free: 135.5 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/4.437, allocations: 164.8 kB / 1.124 GB, free: 135.3 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.611/14.05, allocations: 0.5625 kB / 1.124 GB, free: 135.3 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat