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.376/2.376, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.915e-05/3.938e-05, allocations: 3.984 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3856, allocations: 54.86 MB / 359.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.5712, allocations: 99.36 MB / 459.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.5715, allocations: 79.95 kB / 459.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9808/1.552, allocations: 162.6 MB / 0.6074 GB, free: 81.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.552, allocations: 0 / 0.6074 GB, free: 81.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006048/1.553, allocations: 164 kB / 0.6075 GB, free: 80.92 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.03391/1.587, allocations: 8.01 MB / 0.6154 GB, free: 72.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.587, allocations: 12.03 kB / 0.6154 GB, free: 72.81 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006984/1.594, allocations: 1.401 MB / 0.6167 GB, free: 71.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1011/1.695, allocations: 12.03 MB / 0.6285 GB, free: 59.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05185/1.747, allocations: 10.81 MB / 0.6391 GB, free: 48.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007761/1.748, allocations: 0.6057 MB / 0.6396 GB, free: 47.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004464/1.752, allocations: 0.816 MB / 0.6404 GB, free: 47.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0594/1.812, allocations: 19.02 MB / 0.659 GB, free: 26.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005723/1.812, allocations: 107 kB / 0.6591 GB, free: 26.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003414/1.816, allocations: 383.8 kB / 0.6595 GB, free: 26.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003759/1.82, allocations: 1.724 MB / 0.6612 GB, free: 24.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04931/1.869, allocations: 15.18 MB / 0.676 GB, free: 9.086 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5015/2.371, allocations: 79.63 MB / 0.7538 GB, free: 37.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03503/2.406, allocations: 8.143 MB / 0.7617 GB, free: 36.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008071/2.414, allocations: 4.084 MB / 0.7657 GB, free: 36.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009463/2.415, allocations: 0.6655 MB / 0.7663 GB, free: 35.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/2.415, allocations: 68.38 kB / 0.7664 GB, free: 35.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=307): time 7.915e-06/2.415, allocations: 2.375 kB / 0.7664 GB, free: 35.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=331): time 0.1175/2.532, allocations: 25.9 MB / 0.7917 GB, free: 29.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/2.533, allocations: 294.7 kB / 0.792 GB, free: 29.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01752/2.55, allocations: 6.646 MB / 0.7985 GB, free: 28.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008762/2.551, allocations: 77.75 kB / 0.7986 GB, free: 28.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005969/2.557, allocations: 5.61 MB / 0.804 GB, free: 23.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002138/2.559, allocations: 1.25 MB / 0.8053 GB, free: 23.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/2.561, allocations: 189.2 kB / 0.8054 GB, free: 22.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007282/2.561, allocations: 0.7013 MB / 0.8061 GB, free: 22.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008758/2.57, allocations: 3.365 MB / 0.8094 GB, free: 21.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01274/2.583, allocations: 8.803 MB / 0.818 GB, free: 12.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/2.595, allocations: 5.412 MB / 0.8233 GB, free: 11.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002699/2.596, allocations: 54.69 kB / 0.8233 GB, free: 11.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.0344/2.63, allocations: 12.29 MB / 0.8353 GB, free: 5.863 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/2.63, allocations: 95.41 kB / 0.8354 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002956/2.631, allocations: 192 kB / 0.8356 GB, free: 5.586 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004067/2.635, allocations: 1.011 MB / 0.8366 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01402/2.649, allocations: 2.158 MB / 0.8387 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/2.669, allocations: 10.99 MB / 0.8494 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01231/2.681, allocations: 0.5098 MB / 0.8499 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002607/2.684, allocations: 0.555 MB / 0.8505 GB, free: 7.375 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.003931/2.688, allocations: 0.8348 MB / 0.8513 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002269/2.69, allocations: 0.6595 MB / 0.8519 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01914/2.709, allocations: 5.85 MB / 0.8577 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.946e-05/2.709, allocations: 36 kB / 0.8577 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-05/2.709, allocations: 8 kB / 0.8577 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.461e-05/2.71, allocations: 20.16 kB / 0.8577 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05225/2.762, allocations: 14.64 MB / 0.872 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.723e-05/2.762, allocations: 4 kB / 0.872 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005924/2.768, allocations: 0.5207 MB / 0.8725 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003615/2.772, allocations: 0.6709 MB / 0.8732 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009087/2.773, allocations: 55.94 kB / 0.8732 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/2.79, allocations: 9.861 MB / 0.8829 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/2.79, allocations: 3.938 kB / 0.8829 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02618/2.817, allocations: 9.915 MB / 0.8926 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00516/2.822, allocations: 1.174 MB / 0.8937 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002641/2.825, allocations: 56 kB / 0.8938 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006616/2.831, allocations: 192.2 kB / 0.8939 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/2.833, allocations: 195.2 kB / 0.8941 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004222/2.833, allocations: 87.33 kB / 0.8942 GB, free: 140 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.38/3.213, allocations: 4.759 MB / 0.8989 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.173e-06/3.213, allocations: 0 / 0.8989 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01385/3.227, allocations: 1.807 MB / 0.9006 GB, free: 125.2 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.02825/3.255, allocations: 10.88 MB / 0.9112 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02018/3.275, allocations: 8.334 MB / 0.9194 GB, free: 123 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.322e-05/3.275, allocations: 4.391 kB / 0.9194 GB, free: 123 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006952/3.282, allocations: 3.087 MB / 0.9224 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008313/3.291, allocations: 0.9103 MB / 0.9233 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05635/3.347, allocations: 17.12 MB / 0.94 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01475/3.362, allocations: 5.896 MB / 0.9458 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01462/3.377, allocations: 3.037 MB / 0.9487 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009705/3.386, allocations: 3.921 MB / 0.9526 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.284e-06/3.386, allocations: 0 / 0.9526 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7169/4.103, allocations: 145.3 MB / 1.094 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/4.104, allocations: 164 kB / 1.095 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.904/13.01, allocations: 4.172 kB / 1.095 GB, free: 90.94 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