Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 235.1 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.399e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3792, allocations: 54.84 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.5924, allocations: 101.9 MB / 456.3 MB, free: 9.188 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5927, allocations: 71.97 kB / 456.4 MB, free: 9.117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031/1.624, allocations: 148.6 MB / 0.5907 GB, free: 4.367 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.624, allocations: 0 / 0.5907 GB, free: 4.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006656/1.624, allocations: 148 kB / 0.5909 GB, free: 4.223 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: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.03697/1.661, allocations: 7.379 MB / 0.5981 GB, free: 12.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/1.662, allocations: 8.031 kB / 0.5981 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08916/1.751, allocations: 9.631 MB / 0.6075 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04024/1.791, allocations: 9.117 MB / 0.6164 GB, free: 9.902 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006844/1.792, allocations: 252 kB / 0.6167 GB, free: 9.656 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004521/1.796, allocations: 467.8 kB / 0.6171 GB, free: 9.199 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4246/2.221, allocations: 10.43 MB / 0.6273 GB, free: 66.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04805/2.269, allocations: 16.11 MB / 0.643 GB, free: 61.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005815/2.27, allocations: 104.9 kB / 0.6431 GB, free: 61.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003263/2.273, allocations: 51.91 kB / 0.6432 GB, free: 61.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004242/2.277, allocations: 1.693 MB / 0.6448 GB, free: 61.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1296/2.407, allocations: 77.61 MB / 0.7206 GB, free: 31.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/2.419, allocations: 5.867 MB / 0.7263 GB, free: 28.87 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008272/2.427, allocations: 3.98 MB / 0.7302 GB, free: 27.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004161/2.428, allocations: 69.36 kB / 0.7303 GB, free: 27.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.173e-05/2.428, allocations: 67 kB / 0.7304 GB, free: 27.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=307): time 9.337e-06/2.428, allocations: 0 / 0.7304 GB, free: 27.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=340): time 0.1069/2.535, allocations: 30.07 MB / 0.7597 GB, free: 14.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000241/2.535, allocations: 294.4 kB / 0.76 GB, free: 14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01455/2.55, allocations: 5.106 MB / 0.765 GB, free: 9.645 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009895/2.551, allocations: 25.7 kB / 0.765 GB, free: 9.613 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007204/2.558, allocations: 5.453 MB / 0.7703 GB, free: 4.816 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002707/2.561, allocations: 1.24 MB / 0.7715 GB, free: 3.699 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/2.562, allocations: 0 / 0.7715 GB, free: 3.699 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001026/2.563, allocations: 0.732 MB / 0.7723 GB, free: 3.082 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.011/2.574, allocations: 3.481 MB / 0.7757 GB, free: 0 / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01805/2.592, allocations: 9.275 MB / 0.7847 GB, free: 4.641 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/2.608, allocations: 5.6 MB / 0.7902 GB, free: 24 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005637/2.609, allocations: 71.34 kB / 0.7903 GB, free: 0 / 490.7 MB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.04576/2.655, allocations: 12.65 MB / 0.8026 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002087/2.655, allocations: 92 kB / 0.8027 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004392/2.656, allocations: 204.8 kB / 0.8029 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006905/2.662, allocations: 1.385 MB / 0.8042 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01834/2.681, allocations: 2.316 MB / 0.8065 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4805/3.161, allocations: 10.69 MB / 0.8169 GB, free: 96.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01278/3.174, allocations: 369.2 kB / 0.8173 GB, free: 96.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00262/3.177, allocations: 0.5868 MB / 0.8179 GB, free: 96.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 941 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1214): * Single equations (assignments): 1208 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003541/3.181, allocations: 0.619 MB / 0.8185 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01888/3.199, allocations: 6.258 MB / 0.8246 GB, free: 96.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002074/3.202, allocations: 0.5559 MB / 0.8251 GB, free: 96.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/3.221, allocations: 6.265 MB / 0.8312 GB, free: 96.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-05/3.221, allocations: 37 kB / 0.8313 GB, free: 96.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.015e-05/3.221, allocations: 7.094 kB / 0.8313 GB, free: 96.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.166e-05/3.221, allocations: 17.98 kB / 0.8313 GB, free: 96.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04265/3.264, allocations: 13.91 MB / 0.8449 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/3.264, allocations: 5.188 kB / 0.8449 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006523/3.27, allocations: 0.581 MB / 0.8455 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005258/3.276, allocations: 1.053 MB / 0.8465 GB, free: 95.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007768/3.277, allocations: 13.38 kB / 0.8465 GB, free: 95.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/3.295, allocations: 9.72 MB / 0.856 GB, free: 91.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/3.295, allocations: 5.781 kB / 0.856 GB, free: 91.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02611/3.321, allocations: 10.75 MB / 0.8665 GB, free: 89.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004424/3.326, allocations: 1.086 MB / 0.8676 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002062/3.328, allocations: 3.625 kB / 0.8676 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005703/3.334, allocations: 151.8 kB / 0.8677 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/3.335, allocations: 198.1 kB / 0.8679 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004084/3.335, allocations: 90.48 kB / 0.868 GB, free: 88.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008924/3.344, allocations: 3.446 MB / 0.8713 GB, free: 87.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.21e-07/3.344, allocations: 3.656 kB / 0.8714 GB, free: 87.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01397/3.358, allocations: 1.541 MB / 0.8729 GB, free: 87.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02738/3.386, allocations: 11.62 MB / 0.8842 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0219/3.408, allocations: 8.766 MB / 0.8928 GB, free: 79.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/3.408, allocations: 0 / 0.8928 GB, free: 79.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008962/3.417, allocations: 3.391 MB / 0.8961 GB, free: 78.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006333/3.423, allocations: 0.6255 MB / 0.8967 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0549/3.478, allocations: 16.31 MB / 0.9126 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01386/3.492, allocations: 5.61 MB / 0.9181 GB, free: 62.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0166/3.509, allocations: 3.147 MB / 0.9212 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009498/3.518, allocations: 3.596 MB / 0.9247 GB, free: 57.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.674e-06/3.518, allocations: 0 / 0.9247 GB, free: 57.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7311/4.249, allocations: 126 MB / 1.048 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002888/4.25, allocations: 136.2 kB / 1.048 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.046/12.3, allocations: 0 / 1.048 GB, free: 92.97 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat