Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.188/2.188, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.814e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.5574, allocations: 93.77 MB / 415.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5578, allocations: 75.03 kB / 415.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7846/1.342, allocations: 110.7 MB / 0.514 GB, free: 90.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.342, allocations: 0 / 0.514 GB, free: 90.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004779/1.343, allocations: 105.8 kB / 0.5141 GB, free: 90.42 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.03275/1.376, allocations: 5.336 MB / 0.5193 GB, free: 88.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.898e-05/1.376, allocations: 8.5 kB / 0.5193 GB, free: 88.25 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006513/1.382, allocations: 0.9482 MB / 0.5203 GB, free: 88.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05979/1.442, allocations: 6.931 MB / 0.527 GB, free: 87.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02979/1.472, allocations: 6.779 MB / 0.5337 GB, free: 87.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006852/1.473, allocations: 402.8 kB / 0.534 GB, free: 87.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003575/1.476, allocations: 0.5161 MB / 0.5346 GB, free: 87.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05014/1.527, allocations: 12.89 MB / 0.5471 GB, free: 83.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004578/1.527, allocations: 77.05 kB / 0.5472 GB, free: 83.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002921/1.53, allocations: 259.2 kB / 0.5475 GB, free: 83.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003692/1.534, allocations: 1.211 MB / 0.5486 GB, free: 83.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03339/1.567, allocations: 10.21 MB / 0.5586 GB, free: 80.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08724/1.655, allocations: 58.35 MB / 0.6156 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/1.673, allocations: 4.645 MB / 0.6201 GB, free: 28.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/1.678, allocations: 2.212 MB / 0.6223 GB, free: 26.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01803/1.696, allocations: 6.871 MB / 0.629 GB, free: 20.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/1.696, allocations: 59.86 kB / 0.6291 GB, free: 20.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.332e-06/1.696, allocations: 0 / 0.6291 GB, free: 20.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.06011/1.756, allocations: 13.33 MB / 0.6421 GB, free: 7.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/1.756, allocations: 201.2 kB / 0.6423 GB, free: 6.801 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/1.769, allocations: 5.085 MB / 0.6472 GB, free: 1.738 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004638/1.77, allocations: 53.7 kB / 0.6473 GB, free: 1.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004273/1.774, allocations: 3.827 MB / 0.651 GB, free: 13.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/1.776, allocations: 0.7604 MB / 0.6518 GB, free: 13.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009913/1.777, allocations: 140 kB / 0.6519 GB, free: 12.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006644/1.777, allocations: 0.6042 MB / 0.6525 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006708/1.784, allocations: 2.216 MB / 0.6547 GB, free: 10.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01107/1.795, allocations: 6.609 MB / 0.6611 GB, free: 1.324 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3221/2.117, allocations: 3.802 MB / 0.6648 GB, free: 93.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001586/2.117, allocations: 44.91 kB / 0.6649 GB, free: 93.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02658/2.144, allocations: 8.76 MB / 0.6734 GB, free: 93.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/2.144, allocations: 72.94 kB / 0.6735 GB, free: 93.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003228/2.145, allocations: 156.5 kB / 0.6736 GB, free: 93.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002604/2.147, allocations: 0.5896 MB / 0.6742 GB, free: 93.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01077/2.158, allocations: 1.609 MB / 0.6758 GB, free: 93.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009638/2.168, allocations: 5.607 MB / 0.6813 GB, free: 90.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008596/2.176, allocations: 381.1 kB / 0.6816 GB, free: 90.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001874/2.178, allocations: 438.2 kB / 0.682 GB, free: 90.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (868): * Single equations (assignments): 863 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002486/2.181, allocations: 0.6516 MB / 0.6827 GB, free: 90.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/2.182, allocations: 484 kB / 0.6831 GB, free: 90.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008549/2.191, allocations: 2.971 MB / 0.686 GB, free: 89.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.656e-05/2.191, allocations: 19.28 kB / 0.6861 GB, free: 89.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/2.191, allocations: 7.75 kB / 0.6861 GB, free: 89.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.416e-05/2.191, allocations: 10.64 kB / 0.6861 GB, free: 89.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02385/2.215, allocations: 8.128 MB / 0.694 GB, free: 89.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-05/2.215, allocations: 6.75 kB / 0.694 GB, free: 89.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/2.218, allocations: 288.5 kB / 0.6943 GB, free: 89.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/2.219, allocations: 342.3 kB / 0.6946 GB, free: 89.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004175/2.22, allocations: 37.08 kB / 0.6947 GB, free: 89.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007573/2.227, allocations: 4.94 MB / 0.6995 GB, free: 86.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/2.227, allocations: 11.72 kB / 0.6995 GB, free: 86.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/2.24, allocations: 5.917 MB / 0.7053 GB, free: 83.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00322/2.243, allocations: 0.7893 MB / 0.706 GB, free: 83.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/2.245, allocations: 31.5 kB / 0.7061 GB, free: 83.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004011/2.249, allocations: 95.31 kB / 0.7062 GB, free: 83.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006802/2.25, allocations: 114.7 kB / 0.7063 GB, free: 83.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/2.25, allocations: 51.84 kB / 0.7063 GB, free: 83.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009952/2.26, allocations: 3.632 MB / 0.7099 GB, free: 81.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.435e-06/2.26, allocations: 0 / 0.7099 GB, free: 81.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008578/2.268, allocations: 1.197 MB / 0.711 GB, free: 81.86 MB / 442.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 (154): * Single equations (assignments): 149 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01315/2.282, allocations: 7.08 MB / 0.718 GB, free: 77.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01245/2.294, allocations: 5.536 MB / 0.7234 GB, free: 75.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/2.294, allocations: 0 / 0.7234 GB, free: 75.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00357/2.298, allocations: 1.666 MB / 0.725 GB, free: 75.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004938/2.303, allocations: 0.5918 MB / 0.7256 GB, free: 74.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/2.339, allocations: 11.71 MB / 0.737 GB, free: 70.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008501/2.348, allocations: 4.129 MB / 0.741 GB, free: 69.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005808/2.354, allocations: 2.567 MB / 0.7435 GB, free: 66.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.913e-06/2.354, allocations: 0 / 0.7435 GB, free: 66.99 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.067/7.421, allocations: 148.3 MB / 0.8884 GB, free: 93.5 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat