Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.542e-05/2.547e-05, allocations: 0 / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4016, allocations: 54.86 MB / 354.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.5979, allocations: 100.8 MB / 455.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5982, allocations: 87.94 kB / 455.3 MB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.097/1.695, allocations: 174.6 MB / 0.6152 GB, free: 10.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.695, allocations: 0 / 0.6152 GB, free: 10.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006322/1.695, allocations: 191.9 kB / 0.6154 GB, free: 10.41 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: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.03908/1.735, allocations: 8.773 MB / 0.624 GB, free: 1.559 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/1.735, allocations: 12.02 kB / 0.624 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0885/1.823, allocations: 9.875 MB / 0.6336 GB, free: 7.645 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04375/1.867, allocations: 9.843 MB / 0.6432 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007845/1.868, allocations: 300 kB / 0.6435 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00545/1.873, allocations: 0.5389 MB / 0.644 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04267/1.916, allocations: 12.92 MB / 0.6567 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8241/2.74, allocations: 19.18 MB / 0.6754 GB, free: 65.09 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007603/2.741, allocations: 111.6 kB / 0.6755 GB, free: 65.09 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004072/2.745, allocations: 48.22 kB / 0.6755 GB, free: 65.09 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005717/2.751, allocations: 2.081 MB / 0.6776 GB, free: 65.07 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1534/2.904, allocations: 87.21 MB / 0.7627 GB, free: 35.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/2.92, allocations: 7.81 MB / 0.7704 GB, free: 32 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01103/2.931, allocations: 5.488 MB / 0.7757 GB, free: 29.71 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/2.932, allocations: 87.33 kB / 0.7758 GB, free: 29.7 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.212e-05/2.932, allocations: 81.94 kB / 0.7759 GB, free: 29.63 MB / 490.8 MB Notification: Performance of pre-optimization done (n=412): time 1.07e-05/2.932, allocations: 0 / 0.7759 GB, free: 29.63 MB / 490.8 MB Notification: Performance of matching and sorting (n=477): time 0.1676/3.099, allocations: 41.26 MB / 0.8162 GB, free: 14.11 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/3.1, allocations: 288.2 kB / 0.8165 GB, free: 13.82 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01512/3.115, allocations: 5.51 MB / 0.8218 GB, free: 9.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001368/3.116, allocations: 25.7 kB / 0.8219 GB, free: 9.648 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0073/3.124, allocations: 6.203 MB / 0.8279 GB, free: 4.039 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003544/3.127, allocations: 1.699 MB / 0.8296 GB, free: 2.504 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/3.129, allocations: 0 / 0.8296 GB, free: 2.504 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.00112/3.13, allocations: 0.793 MB / 0.8304 GB, free: 1.844 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03169/3.162, allocations: 5.774 MB / 0.836 GB, free: 0 / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02054/3.183, allocations: 11.09 MB / 0.8468 GB, free: 2.723 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02257/3.205, allocations: 7.416 MB / 0.8541 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002785/3.205, allocations: 64 kB / 0.8541 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1511) (initialization): time 0.4654/3.671, allocations: 16.84 MB / 0.8706 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002319/3.671, allocations: 100.1 kB / 0.8707 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005322/3.672, allocations: 225.8 kB / 0.8709 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/3.685, allocations: 2.494 MB / 0.8733 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02172/3.707, allocations: 2.772 MB / 0.876 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03522/3.742, allocations: 15.93 MB / 0.8916 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01528/3.757, allocations: 475.6 kB / 0.892 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003354/3.761, allocations: 0.6654 MB / 0.8927 GB, free: 102.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1014 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[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],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],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 (1415): * Single equations (assignments): 1409 * 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%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005273/3.766, allocations: 0.6771 MB / 0.8933 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03269/3.799, allocations: 9.926 MB / 0.903 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002837/3.802, allocations: 0.6355 MB / 0.9036 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03408/3.836, allocations: 10.21 MB / 0.9136 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001222/3.836, allocations: 49.12 kB / 0.9137 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.109e-05/3.836, allocations: 14.69 kB / 0.9137 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001331/3.836, allocations: 27.69 kB / 0.9137 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07017/3.906, allocations: 21.01 MB / 0.9342 GB, free: 98.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-05/3.906, allocations: 3.562 kB / 0.9342 GB, free: 98.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01011/3.916, allocations: 0.8843 MB / 0.9351 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01109/3.928, allocations: 2.11 MB / 0.9372 GB, free: 98.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001399/3.929, allocations: 20.31 kB / 0.9372 GB, free: 98.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03191/3.961, allocations: 14.68 MB / 0.9515 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/3.961, allocations: 6.75 kB / 0.9515 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04366/4.005, allocations: 17.03 MB / 0.9681 GB, free: 82.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006013/4.011, allocations: 1.436 MB / 0.9695 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002578/4.013, allocations: 8 kB / 0.9696 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008109/4.022, allocations: 283.9 kB / 0.9698 GB, free: 81.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001861/4.023, allocations: 289.7 kB / 0.9701 GB, free: 81.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000645/4.024, allocations: 124.7 kB / 0.9702 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009778/4.034, allocations: 3.703 MB / 0.9738 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.62e-07/4.034, allocations: 0 / 0.9738 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01532/4.049, allocations: 1.956 MB / 0.9758 GB, free: 75.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (408): * Single equations (assignments): 402 * 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,(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.04398/4.093, allocations: 18.37 MB / 0.9937 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03051/4.124, allocations: 12.19 MB / 1.006 GB, free: 49.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/4.124, allocations: 4 kB / 1.006 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01385/4.138, allocations: 5.095 MB / 1.011 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007011/4.145, allocations: 0.6792 MB / 1.011 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06764/4.213, allocations: 20.76 MB / 1.032 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01634/4.229, allocations: 6.611 MB / 1.038 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01922/4.248, allocations: 3.721 MB / 1.042 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0126/4.261, allocations: 4.404 MB / 1.046 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of SimCode: time 1.863e-06/4.261, allocations: 0 / 1.046 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8005/5.061, allocations: 156.4 MB / 1.199 GB, free: 31.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003802/5.062, allocations: 159 kB / 1.199 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.606/14.67, allocations: 3.938 kB / 1.199 GB, free: 30.98 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat