Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.798e-05, allocations: 4.938 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4013, allocations: 54.86 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.589, allocations: 99.35 MB / 459.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.5893, allocations: 75.95 kB / 459.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9773/1.567, allocations: 162.6 MB / 0.6074 GB, free: 81.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.567, allocations: 0 / 0.6074 GB, free: 81.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005755/1.567, allocations: 164 kB / 0.6075 GB, free: 80.91 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.03293/1.6, allocations: 8.002 MB / 0.6153 GB, free: 72.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.6, allocations: 16.02 kB / 0.6153 GB, free: 72.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00663/1.607, allocations: 1.401 MB / 0.6167 GB, free: 71.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08954/1.697, allocations: 12.03 MB / 0.6285 GB, free: 59.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03782/1.734, allocations: 10.82 MB / 0.639 GB, free: 48.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007469/1.735, allocations: 0.6057 MB / 0.6396 GB, free: 47.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004598/1.74, allocations: 0.816 MB / 0.6404 GB, free: 47.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06264/1.803, allocations: 19.11 MB / 0.6591 GB, free: 26.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001019/1.804, allocations: 107 kB / 0.6592 GB, free: 26.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005862/1.81, allocations: 387.8 kB / 0.6595 GB, free: 25.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005008/1.815, allocations: 1.728 MB / 0.6612 GB, free: 24.17 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05038/1.865, allocations: 15.47 MB / 0.6763 GB, free: 8.672 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5735/2.439, allocations: 79.63 MB / 0.7541 GB, free: 36.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03573/2.474, allocations: 8.175 MB / 0.7621 GB, free: 35.58 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008266/2.483, allocations: 4.082 MB / 0.7661 GB, free: 35.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/2.484, allocations: 0.6607 MB / 0.7667 GB, free: 34.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.935e-05/2.484, allocations: 72.06 kB / 0.7668 GB, free: 34.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=307): time 9.067e-06/2.484, allocations: 2.656 kB / 0.7668 GB, free: 34.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=331): time 0.1182/2.602, allocations: 25.91 MB / 0.7921 GB, free: 28.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/2.602, allocations: 296.8 kB / 0.7924 GB, free: 28.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01672/2.619, allocations: 6.643 MB / 0.7989 GB, free: 27.83 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008386/2.62, allocations: 71.52 kB / 0.7989 GB, free: 27.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005386/2.625, allocations: 5.614 MB / 0.8044 GB, free: 23.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002585/2.628, allocations: 1.247 MB / 0.8056 GB, free: 22.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002019/2.63, allocations: 185.6 kB / 0.8058 GB, free: 22.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001439/2.632, allocations: 0.7043 MB / 0.8065 GB, free: 21.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009977/2.642, allocations: 3.367 MB / 0.8098 GB, free: 20.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01866/2.66, allocations: 8.858 MB / 0.8184 GB, free: 12.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01846/2.679, allocations: 5.403 MB / 0.8237 GB, free: 10.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000266/2.679, allocations: 54.84 kB / 0.8238 GB, free: 10.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.0393/2.719, allocations: 12.86 MB / 0.8363 GB, free: 4.812 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003327/2.719, allocations: 90.5 kB / 0.8364 GB, free: 4.727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005893/2.72, allocations: 192 kB / 0.8366 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006105/2.726, allocations: 1.008 MB / 0.8376 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01418/2.74, allocations: 2.159 MB / 0.8397 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01962/2.76, allocations: 11 MB / 0.8504 GB, free: 7.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/2.772, allocations: 0.5158 MB / 0.8509 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002399/2.775, allocations: 0.5501 MB / 0.8515 GB, free: 6.328 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1149): * Single equations (assignments): 1142 * 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.002725/2.777, allocations: 0.8269 MB / 0.8523 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002121/2.779, allocations: 0.6595 MB / 0.8529 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/2.798, allocations: 5.858 MB / 0.8586 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-05/2.798, allocations: 38.09 kB / 0.8587 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.242e-05/2.798, allocations: 23.72 kB / 0.8587 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.877e-05/2.798, allocations: 14.86 kB / 0.8587 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04858/2.847, allocations: 14.63 MB / 0.873 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/2.847, allocations: 4 kB / 0.873 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005658/2.853, allocations: 0.5239 MB / 0.8735 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/2.856, allocations: 0.6781 MB / 0.8742 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006482/2.857, allocations: 59.28 kB / 0.8742 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/2.875, allocations: 9.856 MB / 0.8839 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/2.875, allocations: 4.031 kB / 0.8839 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0271/2.902, allocations: 9.911 MB / 0.8935 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3756/3.278, allocations: 1.165 MB / 0.8947 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002361/3.28, allocations: 57.45 kB / 0.8947 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00673/3.287, allocations: 195.9 kB / 0.8949 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00124/3.288, allocations: 189.3 kB / 0.8951 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004446/3.289, allocations: 84.17 kB / 0.8952 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01517/3.304, allocations: 4.744 MB / 0.8998 GB, free: 125 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.092e-06/3.304, allocations: 0 / 0.8998 GB, free: 125 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01311/3.317, allocations: 1.81 MB / 0.9016 GB, free: 125 MB / 0.5105 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.02779/3.345, allocations: 10.88 MB / 0.9122 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02034/3.366, allocations: 8.641 MB / 0.9206 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/3.366, allocations: 3.219 kB / 0.9206 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007325/3.373, allocations: 3.142 MB / 0.9237 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008528/3.381, allocations: 0.9142 MB / 0.9246 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05478/3.436, allocations: 17.13 MB / 0.9413 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01444/3.451, allocations: 5.897 MB / 0.9471 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01526/3.466, allocations: 3.038 MB / 0.9501 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009648/3.476, allocations: 3.913 MB / 0.9539 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/3.476, allocations: 2.938 kB / 0.9539 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.713/4.189, allocations: 146.3 MB / 1.097 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/4.189, allocations: 168.1 kB / 1.097 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.975/13.16, allocations: 2 kB / 1.097 GB, free: 94.08 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat