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.017/2.017, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.821e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.5458, allocations: 93.77 MB / 415.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5462, allocations: 83.11 kB / 415.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7908/1.337, allocations: 110.7 MB / 0.5141 GB, free: 90 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.337, allocations: 1.094 kB / 0.5141 GB, free: 90 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004103/1.337, allocations: 111.5 kB / 0.5142 GB, free: 90 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.02301/1.36, allocations: 5.336 MB / 0.5194 GB, free: 87.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.361, allocations: 9.75 kB / 0.5194 GB, free: 87.83 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004755/1.365, allocations: 0.9467 MB / 0.5203 GB, free: 87.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05158/1.417, allocations: 6.931 MB / 0.5271 GB, free: 87.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02559/1.443, allocations: 6.784 MB / 0.5337 GB, free: 86.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005195/1.443, allocations: 408.6 kB / 0.5341 GB, free: 86.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003106/1.446, allocations: 0.5185 MB / 0.5346 GB, free: 86.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03961/1.486, allocations: 12.82 MB / 0.5471 GB, free: 83.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004036/1.486, allocations: 82.33 kB / 0.5472 GB, free: 83.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002864/1.489, allocations: 262.5 kB / 0.5474 GB, free: 83.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002843/1.492, allocations: 1.206 MB / 0.5486 GB, free: 82.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03185/1.524, allocations: 9.992 MB / 0.5584 GB, free: 79.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08778/1.612, allocations: 58.35 MB / 0.6154 GB, free: 32.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01882/1.631, allocations: 4.621 MB / 0.6199 GB, free: 28.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004561/1.635, allocations: 2.206 MB / 0.622 GB, free: 26.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01863/1.654, allocations: 6.867 MB / 0.6287 GB, free: 20.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/1.654, allocations: 59.81 kB / 0.6288 GB, free: 20.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.322e-06/1.654, allocations: 0 / 0.6288 GB, free: 20.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.06762/1.722, allocations: 13.34 MB / 0.6418 GB, free: 7.082 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/1.722, allocations: 197.2 kB / 0.642 GB, free: 6.848 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/1.734, allocations: 5.089 MB / 0.647 GB, free: 1.781 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004663/1.734, allocations: 49.7 kB / 0.647 GB, free: 1.727 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004285/1.739, allocations: 3.82 MB / 0.6508 GB, free: 13.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001494/1.74, allocations: 0.7594 MB / 0.6515 GB, free: 13.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000959/1.741, allocations: 140 kB / 0.6516 GB, free: 13.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006895/1.742, allocations: 0.612 MB / 0.6522 GB, free: 12.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006628/1.749, allocations: 2.208 MB / 0.6544 GB, free: 10.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01155/1.76, allocations: 6.58 MB / 0.6608 GB, free: 1.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3533/2.114, allocations: 3.796 MB / 0.6645 GB, free: 93.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001662/2.114, allocations: 44.09 kB / 0.6646 GB, free: 93.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02617/2.14, allocations: 8.327 MB / 0.6727 GB, free: 93.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/2.14, allocations: 73.23 kB / 0.6728 GB, free: 93.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003144/2.141, allocations: 157.9 kB / 0.6729 GB, free: 93.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/2.143, allocations: 0.5862 MB / 0.6735 GB, free: 93.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01094/2.154, allocations: 1.62 MB / 0.6751 GB, free: 92.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/2.165, allocations: 5.594 MB / 0.6805 GB, free: 90.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008712/2.173, allocations: 378 kB / 0.6809 GB, free: 90.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001766/2.175, allocations: 433 kB / 0.6813 GB, free: 90.21 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.002684/2.178, allocations: 0.6559 MB / 0.6819 GB, free: 89.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/2.179, allocations: 484.2 kB / 0.6824 GB, free: 89.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008478/2.188, allocations: 2.97 MB / 0.6853 GB, free: 89.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.605e-05/2.188, allocations: 22.16 kB / 0.6853 GB, free: 89.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/2.188, allocations: 9.812 kB / 0.6853 GB, free: 89.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.924e-05/2.188, allocations: 7.453 kB / 0.6853 GB, free: 89.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02469/2.212, allocations: 8.118 MB / 0.6933 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/2.213, allocations: 5.906 kB / 0.6933 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0029/2.215, allocations: 287.9 kB / 0.6936 GB, free: 89.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/2.217, allocations: 350.4 kB / 0.6939 GB, free: 89.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003649/2.218, allocations: 33.58 kB / 0.6939 GB, free: 89.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007405/2.225, allocations: 4.945 MB / 0.6987 GB, free: 86.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/2.225, allocations: 7.906 kB / 0.6988 GB, free: 86.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/2.237, allocations: 5.913 MB / 0.7045 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003095/2.24, allocations: 0.7932 MB / 0.7053 GB, free: 83.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001582/2.242, allocations: 30.17 kB / 0.7053 GB, free: 83.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00396/2.246, allocations: 94.09 kB / 0.7054 GB, free: 83.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006392/2.247, allocations: 119.2 kB / 0.7055 GB, free: 83.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/2.247, allocations: 51.17 kB / 0.7056 GB, free: 83.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009293/2.256, allocations: 3.635 MB / 0.7091 GB, free: 82.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.12e-07/2.256, allocations: 0 / 0.7091 GB, free: 82.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00921/2.265, allocations: 1.189 MB / 0.7103 GB, free: 82.12 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.01285/2.278, allocations: 7.086 MB / 0.7172 GB, free: 78.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01237/2.291, allocations: 5.301 MB / 0.7224 GB, free: 76.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.291, allocations: 3.938 kB / 0.7224 GB, free: 76.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003428/2.294, allocations: 1.63 MB / 0.724 GB, free: 75.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005038/2.299, allocations: 0.598 MB / 0.7246 GB, free: 75.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03774/2.337, allocations: 11.7 MB / 0.736 GB, free: 70.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009238/2.346, allocations: 4.131 MB / 0.74 GB, free: 69.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006099/2.353, allocations: 2.569 MB / 0.7425 GB, free: 67.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/2.353, allocations: 0 / 0.7425 GB, free: 67.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.175/7.527, allocations: 147.1 MB / 0.8862 GB, free: 93.45 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