Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 270 MB / 283.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.191e-05/4.194e-05, allocations: 4 kB / 348.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4035, allocations: 61.87 MB / 410.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.6049, allocations: 108.9 MB / 0.5071 GB, free: 13.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.6053, allocations: 79.95 kB / 0.5071 GB, free: 13.58 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8775/1.483, allocations: 125.9 MB / 0.6301 GB, free: 10.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.483, allocations: 0 / 0.6301 GB, free: 10.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004525/1.483, allocations: 132 kB / 0.6303 GB, free: 10.83 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02595/1.509, allocations: 6.342 MB / 0.6364 GB, free: 4.406 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/1.509, allocations: 12.03 kB / 0.6365 GB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005247/1.515, allocations: 1.112 MB / 0.6375 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0546/1.569, allocations: 7.066 MB / 0.6444 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03758/1.607, allocations: 6.961 MB / 0.6512 GB, free: 5.133 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009746/1.608, allocations: 488.5 kB / 0.6517 GB, free: 4.652 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004362/1.612, allocations: 0.6131 MB / 0.6523 GB, free: 4.039 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0657/1.678, allocations: 15.09 MB / 0.667 GB, free: 3.488 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001051/1.679, allocations: 87.12 kB / 0.6671 GB, free: 3.402 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005035/1.684, allocations: 307.8 kB / 0.6674 GB, free: 3.102 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006014/1.69, allocations: 1.435 MB / 0.6688 GB, free: 1.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05668/1.747, allocations: 11.85 MB / 0.6804 GB, free: 5.793 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5755/2.323, allocations: 69.88 MB / 0.7486 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0259/2.349, allocations: 6.068 MB / 0.7546 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006636/2.355, allocations: 3.38 MB / 0.7579 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02239/2.378, allocations: 8.325 MB / 0.766 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.208e-05/2.378, allocations: 63.81 kB / 0.7661 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=236): time 7.404e-06/2.378, allocations: 0 / 0.7661 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=278): time 0.1147/2.493, allocations: 24.34 MB / 0.7898 GB, free: 50.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/2.493, allocations: 241.6 kB / 0.79 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01658/2.509, allocations: 5.899 MB / 0.7958 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008265/2.51, allocations: 69.52 kB / 0.7959 GB, free: 49.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005106/2.515, allocations: 4.578 MB / 0.8003 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002005/2.518, allocations: 1.066 MB / 0.8014 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/2.519, allocations: 168.8 kB / 0.8015 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007796/2.52, allocations: 0.6638 MB / 0.8022 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008428/2.528, allocations: 3.179 MB / 0.8053 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01247/2.541, allocations: 8.201 MB / 0.8133 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/2.553, allocations: 5.072 MB / 0.8183 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002123/2.553, allocations: 51.94 kB / 0.8183 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.03679/2.59, allocations: 12.14 MB / 0.8302 GB, free: 30.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/2.59, allocations: 83.94 kB / 0.8303 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003094/2.59, allocations: 183.8 kB / 0.8304 GB, free: 29.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00739/2.598, allocations: 1.689 MB / 0.8321 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01354/2.611, allocations: 1.989 MB / 0.834 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/2.633, allocations: 11.34 MB / 0.8451 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/2.644, allocations: 0.4944 MB / 0.8456 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002191/2.646, allocations: 0.5085 MB / 0.8461 GB, free: 15.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 819 * Number of states: 0 () * Number of discrete variables: 67 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1031): * Single equations (assignments): 1026 * 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.003227/2.65, allocations: 0.7612 MB / 0.8468 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/2.651, allocations: 0.5668 MB / 0.8474 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01852/2.67, allocations: 6.081 MB / 0.8533 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.295e-05/2.67, allocations: 30.66 kB / 0.8533 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.278e-05/2.67, allocations: 8 kB / 0.8533 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.49e-05/2.67, allocations: 17.03 kB / 0.8534 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04624/2.716, allocations: 13.98 MB / 0.867 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.366e-05/2.717, allocations: 4 kB / 0.867 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005423/2.722, allocations: 0.4911 MB / 0.8675 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007116/2.729, allocations: 1.419 MB / 0.8689 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008333/2.73, allocations: 52.09 kB / 0.8689 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02573/2.756, allocations: 10.55 MB / 0.8792 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-05/2.756, allocations: 11.94 kB / 0.8792 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/2.787, allocations: 10.73 MB / 0.8897 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002865/2.79, allocations: 0.6393 MB / 0.8903 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00277/2.793, allocations: 58.19 kB / 0.8904 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006288/2.799, allocations: 180.5 kB / 0.8906 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00137/2.8, allocations: 180.5 kB / 0.8907 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008058/2.801, allocations: 71.61 kB / 0.8908 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01348/2.815, allocations: 4.208 MB / 0.8949 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.172e-06/2.815, allocations: 0 / 0.8949 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01331/2.828, allocations: 1.545 MB / 0.8964 GB, free: 3.91 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (220): * Single equations (assignments): 215 * 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.03249/2.861, allocations: 12.15 MB / 0.9083 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02171/2.882, allocations: 7.673 MB / 0.9158 GB, free: 300 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/2.883, allocations: 4 kB / 0.9158 GB, free: 296 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01022/2.893, allocations: 3.049 MB / 0.9188 GB, free: 13.23 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007296/2.9, allocations: 0.6938 MB / 0.9194 GB, free: 12.55 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4852/3.385, allocations: 14.37 MB / 0.9335 GB, free: 158.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01132/3.397, allocations: 4.753 MB / 0.9381 GB, free: 158 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01342/3.41, allocations: 2.791 MB / 0.9409 GB, free: 158 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007584/3.418, allocations: 2.988 MB / 0.9438 GB, free: 158 MB / 0.573 GB Notification: Performance of SimCode: time 1.684e-06/3.418, allocations: 0 / 0.9438 GB, free: 158 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3014/3.719, allocations: 124.7 MB / 1.066 GB, free: 86.45 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/3.72, allocations: 155.8 kB / 1.066 GB, free: 86.23 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/11.88, allocations: 0.5469 kB / 1.066 GB, free: 86.23 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat