Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Torque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.696/2.696, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.588e-05/5.602e-05, allocations: 13.81 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1532, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5898/0.7431, allocations: 112.2 MB / 0.5103 GB, free: 7.719 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.7435, allocations: 79.95 kB / 0.5104 GB, free: 7.641 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342/2.085, allocations: 222.2 MB / 0.7274 GB, free: 74.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.736e-06/2.085, allocations: 0 / 0.7274 GB, free: 74.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008761/2.086, allocations: 232 kB / 0.7276 GB, free: 74.58 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.05037/2.137, allocations: 11.54 MB / 0.7389 GB, free: 62.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/2.137, allocations: 8.031 kB / 0.7389 GB, free: 62.95 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0109/2.148, allocations: 1.993 MB / 0.7408 GB, free: 60.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09319/2.241, allocations: 12.62 MB / 0.7531 GB, free: 48.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.045/2.286, allocations: 12.21 MB / 0.7651 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001126/2.287, allocations: 0.8746 MB / 0.7659 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006791/2.294, allocations: 1.167 MB / 0.7671 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1335/2.428, allocations: 27.38 MB / 0.7938 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009904/2.429, allocations: 142.6 kB / 0.7939 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006003/2.435, allocations: 0.5466 MB / 0.7945 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005454/2.44, allocations: 2.534 MB / 0.7969 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5025/2.943, allocations: 21.66 MB / 0.8181 GB, free: 80.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2065/3.149, allocations: 119.5 MB / 0.9348 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06492/3.214, allocations: 12.78 MB / 0.9472 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01437/3.229, allocations: 7.087 MB / 0.9542 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04723/3.276, allocations: 17.29 MB / 0.971 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/3.276, allocations: 90.14 kB / 0.9711 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=459): time 9.498e-06/3.276, allocations: 3.375 kB / 0.9711 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=543): time 0.2817/3.558, allocations: 54.43 MB / 1.024 GB, free: 4.461 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003205/3.558, allocations: 367.1 kB / 1.025 GB, free: 4.031 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5595/4.118, allocations: 10.56 MB / 1.035 GB, free: 132.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.007327/4.125, allocations: 109.8 kB / 1.035 GB, free: 132.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01672/4.142, allocations: 7.89 MB / 1.043 GB, free: 130.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005378/4.147, allocations: 2.026 MB / 1.045 GB, free: 129.4 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004188/4.152, allocations: 279.9 kB / 1.045 GB, free: 129.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.003126/4.155, allocations: 0.9025 MB / 1.046 GB, free: 129 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02543/4.18, allocations: 5.728 MB / 1.051 GB, free: 129 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02706/4.207, allocations: 13.55 MB / 1.065 GB, free: 118.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02971/4.237, allocations: 8.736 MB / 1.073 GB, free: 118.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005607/4.238, allocations: 77.72 kB / 1.073 GB, free: 118.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=1818) (initialization): time 0.0825/4.32, allocations: 21.33 MB / 1.094 GB, free: 116.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000319/4.321, allocations: 131.7 kB / 1.094 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004939/4.321, allocations: 275.4 kB / 1.095 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01441/4.336, allocations: 3.272 MB / 1.098 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02304/4.359, allocations: 3.36 MB / 1.101 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04359/4.402, allocations: 22.55 MB / 1.123 GB, free: 103.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01911/4.422, allocations: 0.82 MB / 1.124 GB, free: 103 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004379/4.426, allocations: 0.8158 MB / 1.125 GB, free: 102.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1264 * Number of states: 0 () * Number of discrete variables: 138 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1698): * Single equations (assignments): 1691 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007247/4.433, allocations: 1.199 MB / 1.126 GB, free: 101.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004217/4.438, allocations: 0.9996 MB / 1.127 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03965/4.477, allocations: 12.53 MB / 1.139 GB, free: 97.04 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.704e-05/4.477, allocations: 56.81 kB / 1.139 GB, free: 97.04 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.792e-05/4.478, allocations: 14.84 kB / 1.139 GB, free: 97.04 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001573/4.478, allocations: 33.42 kB / 1.139 GB, free: 97.04 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08814/4.566, allocations: 28.56 MB / 1.167 GB, free: 74.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.012e-05/4.566, allocations: 16.22 kB / 1.167 GB, free: 74.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01071/4.577, allocations: 1.061 MB / 1.168 GB, free: 73.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01296/4.59, allocations: 2.827 MB / 1.171 GB, free: 71.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00179/4.592, allocations: 109 kB / 1.171 GB, free: 71.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04332/4.635, allocations: 21.13 MB / 1.192 GB, free: 52.93 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/4.635, allocations: 11.94 kB / 1.192 GB, free: 52.91 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05519/4.69, allocations: 22.52 MB / 1.214 GB, free: 32.34 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00477/4.695, allocations: 1.092 MB / 1.215 GB, free: 31.27 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005063/4.7, allocations: 100.7 kB / 1.215 GB, free: 31.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01138/4.712, allocations: 376.8 kB / 1.215 GB, free: 30.94 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002418/4.714, allocations: 357.9 kB / 1.215 GB, free: 30.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001797/4.716, allocations: 140.8 kB / 1.216 GB, free: 30.57 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.02143/4.737, allocations: 7.305 MB / 1.223 GB, free: 24.19 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.102e-06/4.737, allocations: 0 / 1.223 GB, free: 24.19 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02134/4.759, allocations: 2.796 MB / 1.225 GB, free: 21.41 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 444 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(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.6381/5.397, allocations: 23.7 MB / 1.249 GB, free: 112.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0412/5.438, allocations: 14.05 MB / 1.262 GB, free: 112.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/5.438, allocations: 1.75 kB / 1.262 GB, free: 112.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01906/5.457, allocations: 6.093 MB / 1.268 GB, free: 111.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01289/5.47, allocations: 1.315 MB / 1.27 GB, free: 111.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1007/5.571, allocations: 26.88 MB / 1.296 GB, free: 107.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02468/5.596, allocations: 8.162 MB / 1.304 GB, free: 106.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02553/5.621, allocations: 4.647 MB / 1.308 GB, free: 105.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0167/5.638, allocations: 5.797 MB / 1.314 GB, free: 101.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.763e-06/5.638, allocations: 0 / 1.314 GB, free: 101.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9908/6.629, allocations: 219.6 MB / 1.528 GB, free: 94.55 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/6.629, allocations: 164.9 kB / 1.529 GB, free: 94.33 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/20.73, allocations: 0 / 1.529 GB, free: 94.33 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2_res.mat does not exist to compare? outputFormat=mat