Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.061/2.061, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.684e-05/3.693e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4415/0.549, allocations: 93.76 MB / 415.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5493, allocations: 75.95 kB / 415.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8728/1.422, allocations: 110.7 MB / 0.514 GB, free: 90.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.422, allocations: 0 / 0.514 GB, free: 90.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004154/1.423, allocations: 109.3 kB / 0.5142 GB, free: 90.58 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.02399/1.447, allocations: 5.34 MB / 0.5194 GB, free: 88.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.621e-05/1.447, allocations: 10.09 kB / 0.5194 GB, free: 88.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006338/1.453, allocations: 0.9407 MB / 0.5203 GB, free: 88.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05901/1.512, allocations: 6.932 MB / 0.5271 GB, free: 87.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02606/1.538, allocations: 6.784 MB / 0.5337 GB, free: 87.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005991/1.539, allocations: 402.4 kB / 0.5341 GB, free: 87.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003352/1.542, allocations: 0.5224 MB / 0.5346 GB, free: 87.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04131/1.584, allocations: 12.89 MB / 0.5472 GB, free: 83.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004313/1.584, allocations: 80.77 kB / 0.5472 GB, free: 83.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002747/1.587, allocations: 254.7 kB / 0.5475 GB, free: 83.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002824/1.59, allocations: 1.211 MB / 0.5487 GB, free: 83.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0322/1.622, allocations: 10.21 MB / 0.5586 GB, free: 80.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1096/1.732, allocations: 58.34 MB / 0.6156 GB, free: 32.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/1.75, allocations: 4.654 MB / 0.6202 GB, free: 28.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004522/1.755, allocations: 2.204 MB / 0.6223 GB, free: 26.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0181/1.773, allocations: 6.876 MB / 0.629 GB, free: 20.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.773, allocations: 47.88 kB / 0.6291 GB, free: 20.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.192e-06/1.773, allocations: 0 / 0.6291 GB, free: 20.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.06004/1.833, allocations: 13.35 MB / 0.6421 GB, free: 6.797 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/1.833, allocations: 205.2 kB / 0.6423 GB, free: 6.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/1.846, allocations: 5.085 MB / 0.6473 GB, free: 1.488 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004897/1.846, allocations: 49.7 kB / 0.6473 GB, free: 1.434 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005016/1.851, allocations: 4.014 MB / 0.6512 GB, free: 13.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.853, allocations: 0.7593 MB / 0.652 GB, free: 12.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/1.854, allocations: 140 kB / 0.6521 GB, free: 12.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008876/1.855, allocations: 0.6033 MB / 0.6527 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00703/1.862, allocations: 2.212 MB / 0.6549 GB, free: 9.707 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01157/1.874, allocations: 6.617 MB / 0.6613 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3669/2.241, allocations: 3.795 MB / 0.665 GB, free: 93.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/2.241, allocations: 46 kB / 0.6651 GB, free: 93.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02666/2.268, allocations: 8.968 MB / 0.6738 GB, free: 93.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000141/2.268, allocations: 76.47 kB / 0.6739 GB, free: 93.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002872/2.268, allocations: 156.4 kB / 0.6741 GB, free: 93.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/2.271, allocations: 0.5895 MB / 0.6746 GB, free: 93.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/2.281, allocations: 1.611 MB / 0.6762 GB, free: 93.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009339/2.291, allocations: 5.596 MB / 0.6817 GB, free: 90.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008671/2.299, allocations: 380.7 kB / 0.682 GB, free: 90.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/2.302, allocations: 437.5 kB / 0.6825 GB, free: 90.32 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.004114/2.306, allocations: 0.6564 MB / 0.6831 GB, free: 90.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002134/2.308, allocations: 483.3 kB / 0.6836 GB, free: 90.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/2.322, allocations: 2.969 MB / 0.6865 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001014/2.322, allocations: 24.27 kB / 0.6865 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/2.322, allocations: 3.938 kB / 0.6865 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.969e-05/2.322, allocations: 12.34 kB / 0.6865 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03109/2.353, allocations: 8.128 MB / 0.6944 GB, free: 89.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/2.353, allocations: 2.344 kB / 0.6944 GB, free: 89.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002813/2.356, allocations: 286.3 kB / 0.6947 GB, free: 89.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/2.358, allocations: 348.8 kB / 0.695 GB, free: 89.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/2.358, allocations: 42.45 kB / 0.6951 GB, free: 89.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00755/2.365, allocations: 4.938 MB / 0.6999 GB, free: 86.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/2.366, allocations: 7.781 kB / 0.6999 GB, free: 86.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/2.38, allocations: 5.919 MB / 0.7057 GB, free: 83.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003254/2.383, allocations: 0.7876 MB / 0.7065 GB, free: 83.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001567/2.385, allocations: 34.2 kB / 0.7065 GB, free: 83.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004071/2.389, allocations: 92.05 kB / 0.7066 GB, free: 83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007139/2.39, allocations: 120.8 kB / 0.7067 GB, free: 82.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/2.39, allocations: 54.27 kB / 0.7067 GB, free: 82.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0102/2.4, allocations: 3.625 MB / 0.7103 GB, free: 81.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.122e-06/2.4, allocations: 3.25 kB / 0.7103 GB, free: 81.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009252/2.41, allocations: 1.2 MB / 0.7115 GB, free: 81.6 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.01353/2.423, allocations: 7.078 MB / 0.7184 GB, free: 77.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01287/2.436, allocations: 5.533 MB / 0.7238 GB, free: 75.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/2.436, allocations: 0 / 0.7238 GB, free: 75.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003715/2.44, allocations: 1.657 MB / 0.7254 GB, free: 74.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/2.445, allocations: 0.6042 MB / 0.726 GB, free: 74.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03766/2.483, allocations: 11.11 MB / 0.7368 GB, free: 70.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009291/2.492, allocations: 4.118 MB / 0.7409 GB, free: 69.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01109/2.503, allocations: 2.295 MB / 0.7431 GB, free: 68.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00599/2.509, allocations: 2.514 MB / 0.7455 GB, free: 65.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.673e-06/2.509, allocations: 4 kB / 0.7456 GB, free: 65.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5681/3.078, allocations: 97.37 MB / 0.8406 GB, free: 89.37 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/3.078, allocations: 176.5 kB / 0.8408 GB, free: 89.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.428/9.506, allocations: 0 / 0.8408 GB, free: 89.14 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat