Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.652/2.652, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.156e-05, allocations: 6.656 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4829, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.6911, allocations: 107.5 MB / 489.7 MB, free: 0.9258 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.6914, allocations: 75.97 kB / 489.8 MB, free: 0.8516 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8643/1.556, allocations: 133.5 MB / 0.6087 GB, free: 66.04 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.234e-06/1.556, allocations: 0 / 0.6087 GB, free: 66.04 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003886/1.556, allocations: 139.9 kB / 0.6089 GB, free: 65.9 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02581/1.582, allocations: 6.438 MB / 0.6152 GB, free: 59.39 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/1.582, allocations: 12.03 kB / 0.6152 GB, free: 59.38 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005481/1.588, allocations: 1.199 MB / 0.6164 GB, free: 58.17 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05199/1.64, allocations: 7.132 MB / 0.6233 GB, free: 51.02 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03113/1.671, allocations: 7.251 MB / 0.6304 GB, free: 43.7 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006419/1.671, allocations: 0.5093 MB / 0.6309 GB, free: 43.19 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003807/1.675, allocations: 0.6754 MB / 0.6316 GB, free: 42.52 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05053/1.726, allocations: 16.54 MB / 0.6477 GB, free: 24.62 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004983/1.726, allocations: 87.2 kB / 0.6478 GB, free: 24.54 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003486/1.73, allocations: 323.8 kB / 0.6481 GB, free: 24.22 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003312/1.733, allocations: 1.558 MB / 0.6496 GB, free: 22.66 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05943/1.793, allocations: 13.53 MB / 0.6628 GB, free: 9.121 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5496/2.342, allocations: 70.23 MB / 0.7314 GB, free: 69.58 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03748/2.38, allocations: 7.822 MB / 0.7391 GB, free: 68.91 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01087/2.391, allocations: 3.881 MB / 0.7428 GB, free: 68.88 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/2.391, allocations: 53.42 kB / 0.7429 GB, free: 68.88 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.906e-05/2.391, allocations: 68.91 kB / 0.743 GB, free: 68.83 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=290): time 1.335e-05/2.391, allocations: 0 / 0.743 GB, free: 68.83 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332): time 0.1385/2.53, allocations: 28.25 MB / 0.7705 GB, free: 64.86 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/2.53, allocations: 222.4 kB / 0.7708 GB, free: 64.64 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01369/2.544, allocations: 5.592 MB / 0.7762 GB, free: 64.14 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/2.545, allocations: 79.61 kB / 0.7763 GB, free: 64.11 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004485/2.549, allocations: 4.601 MB / 0.7808 GB, free: 61.75 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002306/2.552, allocations: 1.231 MB / 0.782 GB, free: 61.03 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/2.553, allocations: 175.8 kB / 0.7822 GB, free: 61.03 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000733/2.554, allocations: 0.6722 MB / 0.7828 GB, free: 60.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009622/2.564, allocations: 3.712 MB / 0.7864 GB, free: 59.68 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01305/2.577, allocations: 8.495 MB / 0.7947 GB, free: 51.96 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/2.59, allocations: 5.574 MB / 0.8002 GB, free: 50.27 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002094/2.59, allocations: 46.16 kB / 0.8002 GB, free: 50.27 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03782/2.628, allocations: 13.12 MB / 0.813 GB, free: 42.74 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/2.628, allocations: 80 kB / 0.8131 GB, free: 42.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002552/2.628, allocations: 168 kB / 0.8133 GB, free: 42.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007134/2.635, allocations: 1.694 MB / 0.8149 GB, free: 41.24 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01442/2.65, allocations: 2.087 MB / 0.817 GB, free: 39.48 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/2.671, allocations: 11.35 MB / 0.8281 GB, free: 29.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/2.682, allocations: 0.5298 MB / 0.8286 GB, free: 28.83 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002291/2.685, allocations: 0.4999 MB / 0.8291 GB, free: 28.35 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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.groundColor[3],world.groundColor[2],world.groundColor[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 (1050): * Single equations (assignments): 1045 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003675/2.688, allocations: 0.7707 MB / 0.8298 GB, free: 27.59 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/2.69, allocations: 0.5515 MB / 0.8304 GB, free: 27.03 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02346/2.714, allocations: 7.435 MB / 0.8376 GB, free: 20.95 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.095e-05/2.714, allocations: 39.19 kB / 0.8377 GB, free: 20.91 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.953e-05/2.714, allocations: 8 kB / 0.8377 GB, free: 20.91 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.28e-05/2.714, allocations: 17.86 kB / 0.8377 GB, free: 20.91 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04788/2.762, allocations: 16.26 MB / 0.8536 GB, free: 7.703 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.032e-05/2.762, allocations: 4.094 kB / 0.8536 GB, free: 7.699 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006854/2.769, allocations: 0.6479 MB / 0.8542 GB, free: 7.203 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006514/2.775, allocations: 1.418 MB / 0.8556 GB, free: 6.207 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001068/2.776, allocations: 65.59 kB / 0.8556 GB, free: 6.148 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02262/2.799, allocations: 10.59 MB / 0.866 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/2.799, allocations: 7.938 kB / 0.866 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03626/2.835, allocations: 12.7 MB / 0.8784 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005213/2.841, allocations: 1.208 MB / 0.8796 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002254/2.843, allocations: 59.98 kB / 0.8796 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006772/2.85, allocations: 275.6 kB / 0.8799 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001444/2.851, allocations: 193.8 kB / 0.8801 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007508/2.852, allocations: 91.98 kB / 0.8802 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01276/2.865, allocations: 3.96 MB / 0.884 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.336e-06/2.865, allocations: 0 / 0.884 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01418/2.879, allocations: 1.68 MB / 0.8857 GB, free: 7.656 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03766/2.917, allocations: 14.07 MB / 0.8994 GB, free: 9.387 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02477/2.942, allocations: 8.915 MB / 0.9081 GB, free: 488 kB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/2.942, allocations: 0 / 0.9081 GB, free: 488 kB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/2.954, allocations: 3.765 MB / 0.9118 GB, free: 12.69 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00663/2.96, allocations: 0.6697 MB / 0.9125 GB, free: 12.04 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05478/3.015, allocations: 15.6 MB / 0.9277 GB, free: 12.37 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01283/3.028, allocations: 4.998 MB / 0.9326 GB, free: 7.371 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01553/3.044, allocations: 2.93 MB / 0.9354 GB, free: 4.453 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009763/3.054, allocations: 3.178 MB / 0.9385 GB, free: 1.273 MB / 0.573 GB Notification: Performance of SimCode: time 1.633e-06/3.054, allocations: 0 / 0.9385 GB, free: 1.273 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6753/3.729, allocations: 128.3 MB / 1.064 GB, free: 107.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/3.729, allocations: 172.5 kB / 1.064 GB, free: 107.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/12.15, allocations: 0 / 1.064 GB, free: 107.7 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat