Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 235.2 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.537e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3629, allocations: 54.85 MB / 354.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.5549, allocations: 98.68 MB / 453.1 MB, free: 12.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.5554, allocations: 79.95 kB / 453.2 MB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.011/1.566, allocations: 159.1 MB / 0.5979 GB, free: 13.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.285e-06/1.566, allocations: 4 kB / 0.5979 GB, free: 13.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006764/1.567, allocations: 164 kB / 0.5981 GB, free: 12.94 MB / 442.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.03726/1.604, allocations: 8.006 MB / 0.6059 GB, free: 4.848 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/1.605, allocations: 12.03 kB / 0.6059 GB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1009/1.705, allocations: 12.03 MB / 0.6176 GB, free: 8.777 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7822/2.488, allocations: 10.79 MB / 0.6282 GB, free: 61.22 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006686/2.488, allocations: 265.5 kB / 0.6284 GB, free: 61.22 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004407/2.493, allocations: 492.8 kB / 0.6289 GB, free: 61.22 MB / 458.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02922/2.522, allocations: 10.99 MB / 0.6396 GB, free: 61.18 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04415/2.566, allocations: 16.51 MB / 0.6558 GB, free: 57.15 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006115/2.567, allocations: 107.3 kB / 0.6559 GB, free: 57.15 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003445/2.57, allocations: 45.94 kB / 0.6559 GB, free: 57.15 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004188/2.575, allocations: 1.726 MB / 0.6576 GB, free: 57.13 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1202/2.695, allocations: 76.33 MB / 0.7321 GB, free: 10.25 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/2.706, allocations: 5.895 MB / 0.7379 GB, free: 7.457 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007668/2.714, allocations: 3.996 MB / 0.7418 GB, free: 5.715 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/2.715, allocations: 0.6648 MB / 0.7424 GB, free: 5.121 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/2.715, allocations: 72.5 kB / 0.7425 GB, free: 5.062 MB / 458.8 MB Notification: Performance of pre-optimization done (n=307): time 7.905e-06/2.715, allocations: 0 / 0.7425 GB, free: 5.062 MB / 458.8 MB Notification: Performance of matching and sorting (n=335): time 0.1221/2.837, allocations: 34.25 MB / 0.776 GB, free: 11.21 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/2.837, allocations: 291.7 kB / 0.7762 GB, free: 10.87 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01498/2.852, allocations: 5.35 MB / 0.7815 GB, free: 6.309 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008714/2.853, allocations: 29.27 kB / 0.7815 GB, free: 6.277 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006893/2.86, allocations: 5.685 MB / 0.787 GB, free: 1.25 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002404/2.863, allocations: 1.233 MB / 0.7882 GB, free: 144 kB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/2.864, allocations: 0 / 0.7882 GB, free: 144 kB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.002091/2.866, allocations: 0.7801 MB / 0.789 GB, free: 15.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009623/2.876, allocations: 3.26 MB / 0.7922 GB, free: 12.79 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01591/2.892, allocations: 8.926 MB / 0.8009 GB, free: 1.812 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01681/2.908, allocations: 5.47 MB / 0.8063 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002499/2.909, allocations: 60 kB / 0.8063 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03895/2.948, allocations: 11.8 MB / 0.8178 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002063/2.948, allocations: 94.19 kB / 0.8179 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004182/2.948, allocations: 200 kB / 0.8181 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004679/2.953, allocations: 0.9997 MB / 0.8191 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01625/2.969, allocations: 2.236 MB / 0.8213 GB, free: 500 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4189/3.388, allocations: 10.58 MB / 0.8316 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/3.401, allocations: 354.5 kB / 0.8319 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002612/3.403, allocations: 0.5663 MB / 0.8325 GB, free: 104.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * 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 (1189): * Single equations (assignments): 1182 * 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.004042/3.408, allocations: 0.6168 MB / 0.8331 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01732/3.425, allocations: 5.566 MB / 0.8385 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002481/3.427, allocations: 0.5858 MB / 0.8391 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01872/3.446, allocations: 5.621 MB / 0.8446 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.962e-05/3.446, allocations: 39.91 kB / 0.8446 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.361e-05/3.446, allocations: 7.125 kB / 0.8446 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-05/3.446, allocations: 21.47 kB / 0.8447 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04292/3.489, allocations: 13.12 MB / 0.8575 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.576e-05/3.489, allocations: 2.875 kB / 0.8575 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00592/3.495, allocations: 0.5331 MB / 0.858 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/3.499, allocations: 0.6648 MB / 0.8586 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008508/3.5, allocations: 10.58 kB / 0.8586 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/3.515, allocations: 9.467 MB / 0.8679 GB, free: 97.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.465e-06/3.515, allocations: 3.531 kB / 0.8679 GB, free: 97.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02363/3.539, allocations: 9.656 MB / 0.8773 GB, free: 96.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004535/3.544, allocations: 1.064 MB / 0.8784 GB, free: 96.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002447/3.546, allocations: 10.59 kB / 0.8784 GB, free: 96.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006478/3.553, allocations: 139.3 kB / 0.8785 GB, free: 96.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001272/3.554, allocations: 200.2 kB / 0.8787 GB, free: 96.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006362/3.555, allocations: 84.91 kB / 0.8788 GB, free: 96.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01021/3.565, allocations: 3.655 MB / 0.8823 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.292e-06/3.565, allocations: 0 / 0.8823 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01433/3.579, allocations: 1.571 MB / 0.8839 GB, free: 96.11 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 (280): * Single equations (assignments): 273 * 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.606, allocations: 10.61 MB / 0.8942 GB, free: 91.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01993/3.626, allocations: 8.282 MB / 0.9023 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/3.626, allocations: 10.56 kB / 0.9023 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007161/3.633, allocations: 3.061 MB / 0.9053 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00725/3.64, allocations: 0.7241 MB / 0.906 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05769/3.698, allocations: 16.71 MB / 0.9224 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0153/3.713, allocations: 5.919 MB / 0.9281 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01652/3.73, allocations: 3.025 MB / 0.9311 GB, free: 74.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/3.74, allocations: 3.901 MB / 0.9349 GB, free: 70.74 MB / 0.5105 GB Notification: Performance of SimCode: time 2.053e-06/3.74, allocations: 0 / 0.9349 GB, free: 70.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7289/4.469, allocations: 131.6 MB / 1.063 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002904/4.469, allocations: 141.5 kB / 1.064 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.985/12.45, allocations: 5.312 kB / 1.064 GB, free: 85.51 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat