Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.933/1.933, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.305e-05, allocations: 4 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 48.71 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4615/0.5733, allocations: 98.38 MB / 414.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.5736, allocations: 76.22 kB / 414.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8953/1.469, allocations: 133 MB / 0.5349 GB, free: 84.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.469, allocations: 4 kB / 0.5349 GB, free: 84.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005295/1.47, allocations: 132.2 kB / 0.535 GB, free: 84.37 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2291 * Number of variables: 2291 Notification: Performance of Generate backend data structure: time 0.0301/1.5, allocations: 7.037 MB / 0.5419 GB, free: 81.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.5, allocations: 7.25 kB / 0.5419 GB, free: 81.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06777/1.568, allocations: 7.562 MB / 0.5493 GB, free: 77.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04434/1.612, allocations: 9.776 MB / 0.5589 GB, free: 71.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004154/1.612, allocations: 209.7 kB / 0.5591 GB, free: 70.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003487/1.616, allocations: 399.7 kB / 0.5594 GB, free: 70.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02301/1.639, allocations: 9.647 MB / 0.5689 GB, free: 60.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03532/1.674, allocations: 14.2 MB / 0.5827 GB, free: 45.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004356/1.675, allocations: 107.1 kB / 0.5828 GB, free: 45.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002167/1.677, allocations: 44 kB / 0.5829 GB, free: 45.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003399/1.68, allocations: 1.572 MB / 0.5844 GB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4736/2.154, allocations: 73.57 MB / 0.6563 GB, free: 51.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/2.165, allocations: 5.13 MB / 0.6613 GB, free: 50.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009532/2.175, allocations: 3.706 MB / 0.6649 GB, free: 50.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004759/2.18, allocations: 2.259 MB / 0.6671 GB, free: 48.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.526e-05/2.18, allocations: 68.47 kB / 0.6672 GB, free: 48.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 1.037e-05/2.18, allocations: 0 / 0.6672 GB, free: 48.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=374): time 0.1996/2.38, allocations: 39.62 MB / 0.7058 GB, free: 39.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/2.38, allocations: 273.7 kB / 0.7061 GB, free: 39.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/2.391, allocations: 4.641 MB / 0.7106 GB, free: 37.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00101/2.392, allocations: 25.7 kB / 0.7107 GB, free: 37.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004393/2.396, allocations: 4.774 MB / 0.7153 GB, free: 33.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002181/2.398, allocations: 1.329 MB / 0.7166 GB, free: 32.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/2.399, allocations: 0 / 0.7166 GB, free: 32.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007424/2.4, allocations: 0.7112 MB / 0.7173 GB, free: 32.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008653/2.409, allocations: 3.617 MB / 0.7208 GB, free: 31.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01225/2.421, allocations: 8.892 MB / 0.7295 GB, free: 22.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/2.434, allocations: 5.546 MB / 0.7349 GB, free: 17.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002066/2.434, allocations: 52 kB / 0.735 GB, free: 17.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.05386/2.488, allocations: 15.53 MB / 0.7502 GB, free: 5.367 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/2.488, allocations: 84 kB / 0.7502 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002746/2.488, allocations: 192 kB / 0.7504 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02301/2.511, allocations: 4.117 MB / 0.7544 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/2.524, allocations: 2.1 MB / 0.7565 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05863/2.583, allocations: 21.19 MB / 0.7772 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/2.595, allocations: 387.2 kB / 0.7776 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002537/2.597, allocations: 0.5455 MB / 0.7781 GB, free: 13.93 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1114): * Single equations (assignments): 1109 * 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 {(1,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002917/2.6, allocations: 0.5815 MB / 0.7787 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04163/2.642, allocations: 9.843 MB / 0.7883 GB, free: 3.504 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002289/2.644, allocations: 0.5439 MB / 0.7888 GB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04045/2.685, allocations: 9.555 MB / 0.7981 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000114/2.685, allocations: 37.02 kB / 0.7982 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-05/2.685, allocations: 16 kB / 0.7982 GB, free: 9.285 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/2.685, allocations: 23.89 kB / 0.7982 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07066/2.756, allocations: 18.08 MB / 0.8159 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.505e-05/2.756, allocations: 288 / 0.8159 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005505/2.761, allocations: 0.5227 MB / 0.8164 GB, free: 6.523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02297/2.784, allocations: 3.555 MB / 0.8199 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009154/2.785, allocations: 23.92 kB / 0.8199 GB, free: 2.934 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.374/3.159, allocations: 17.67 MB / 0.8371 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/3.159, allocations: 7.125 kB / 0.8371 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04569/3.205, allocations: 14.25 MB / 0.8511 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004446/3.21, allocations: 1.075 MB / 0.8521 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002398/3.212, allocations: 6.234 kB / 0.8521 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006308/3.218, allocations: 183.7 kB / 0.8523 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001666/3.22, allocations: 240.2 kB / 0.8525 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006173/3.221, allocations: 102.2 kB / 0.8526 GB, free: 138.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007981/3.229, allocations: 3.119 MB / 0.8557 GB, free: 137.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.42e-07/3.229, allocations: 0 / 0.8557 GB, free: 137.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01258/3.241, allocations: 1.597 MB / 0.8572 GB, free: 137.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (277): * Single equations (assignments): 272 * 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%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04708/3.288, allocations: 15.46 MB / 0.8723 GB, free: 131.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02152/3.31, allocations: 9.158 MB / 0.8813 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/3.31, allocations: 0 / 0.8813 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008911/3.319, allocations: 3.626 MB / 0.8848 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006092/3.325, allocations: 0.5894 MB / 0.8854 GB, free: 126.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0502/3.375, allocations: 14.93 MB / 0.8999 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01136/3.387, allocations: 5.003 MB / 0.9048 GB, free: 116.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01381/3.401, allocations: 2.862 MB / 0.9076 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007661/3.408, allocations: 3.24 MB / 0.9108 GB, free: 112.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.143e-06/3.408, allocations: 0 / 0.9108 GB, free: 112.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6352/4.044, allocations: 133.5 MB / 1.041 GB, free: 121.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/4.044, allocations: 147.4 kB / 1.041 GB, free: 121.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/11.71, allocations: 0 / 1.041 GB, free: 121.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat does not exist to compare? outputFormat=mat