Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.706e-05/2.72e-05, allocations: 0 / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.5895, allocations: 104.6 MB / 459 MB, free: 9.527 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.5898, allocations: 75.97 kB / 459.1 MB, free: 9.453 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.632/2.222, allocations: 234.2 MB / 0.6771 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.464e-06/2.222, allocations: 3.719 kB / 0.6771 GB, free: 31.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001081/2.223, allocations: 251.7 kB / 0.6773 GB, free: 31.96 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4454 * Number of variables: 4454 Notification: Performance of Generate backend data structure: time 0.05512/2.278, allocations: 12.35 MB / 0.6894 GB, free: 27.47 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/2.278, allocations: 10.41 kB / 0.6894 GB, free: 27.47 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0956/2.374, allocations: 12.82 MB / 0.7019 GB, free: 26.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04918/2.423, allocations: 13.28 MB / 0.7149 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009186/2.424, allocations: 418.7 kB / 0.7153 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007418/2.432, allocations: 0.747 MB / 0.716 GB, free: 25.17 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04664/2.478, allocations: 17.54 MB / 0.7331 GB, free: 25.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07382/2.552, allocations: 26.02 MB / 0.7585 GB, free: 18.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001163/2.554, allocations: 150.1 kB / 0.7587 GB, free: 18.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006633/2.56, allocations: 70.31 kB / 0.7587 GB, free: 18.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006748/2.567, allocations: 2.859 MB / 0.7615 GB, free: 17.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7121/3.279, allocations: 121.6 MB / 0.8803 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02063/3.3, allocations: 10.77 MB / 0.8908 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01427/3.314, allocations: 7.546 MB / 0.8982 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002515/3.317, allocations: 1.095 MB / 0.8993 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/3.317, allocations: 97.94 kB / 0.8994 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=548): time 1.139e-05/3.317, allocations: 3.656 kB / 0.8994 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=636): time 0.2603/3.577, allocations: 61.5 MB / 0.9594 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/3.578, allocations: 376.9 kB / 0.9598 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02239/3.6, allocations: 8.026 MB / 0.9676 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001905/3.602, allocations: 30.48 kB / 0.9676 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.008391/3.61, allocations: 8.689 MB / 0.9761 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004771/3.615, allocations: 2.271 MB / 0.9783 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003195/3.618, allocations: 0 / 0.9783 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001778/3.62, allocations: 0.989 MB / 0.9793 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01718/3.637, allocations: 6.439 MB / 0.9856 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02861/3.666, allocations: 15.1 MB / 1 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02449/3.691, allocations: 9.737 MB / 1.01 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003944/3.691, allocations: 89.69 kB / 1.01 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2081) (initialization): time 0.07872/3.77, allocations: 23.07 MB / 1.032 GB, free: 1.449 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002958/3.77, allocations: 136 kB / 1.033 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006779/3.771, allocations: 304 kB / 1.033 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.016/3.787, allocations: 3.353 MB / 1.036 GB, free: 14.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02945/3.816, allocations: 3.882 MB / 1.04 GB, free: 11.33 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09669/3.913, allocations: 21.4 MB / 1.061 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03066/3.944, allocations: 0.6416 MB / 1.061 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006068/3.95, allocations: 0.9269 MB / 1.062 GB, free: 6.945 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1397 * Number of states: 0 () * Number of discrete variables: 117 (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.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[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.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1961): * Single equations (assignments): 1954 * 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%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009485/3.96, allocations: 0.9071 MB / 1.063 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4687/4.428, allocations: 13.22 MB / 1.076 GB, free: 147 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004276/4.433, allocations: 0.9103 MB / 1.077 GB, free: 147 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04504/4.478, allocations: 13.79 MB / 1.091 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001705/4.478, allocations: 64.72 kB / 1.091 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-05/4.478, allocations: 16.56 kB / 1.091 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001764/4.478, allocations: 35.16 kB / 1.091 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08894/4.567, allocations: 28.81 MB / 1.119 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/4.567, allocations: 8.234 kB / 1.119 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01251/4.58, allocations: 1.224 MB / 1.12 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01268/4.593, allocations: 2.808 MB / 1.123 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001962/4.595, allocations: 29.31 kB / 1.123 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03908/4.634, allocations: 19.79 MB / 1.142 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/4.634, allocations: 6.656 kB / 1.142 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05425/4.688, allocations: 23.37 MB / 1.165 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008191/4.696, allocations: 1.927 MB / 1.167 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004658/4.701, allocations: 16.92 kB / 1.167 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01088/4.712, allocations: 353 kB / 1.167 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002679/4.715, allocations: 394.1 kB / 1.168 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001075/4.716, allocations: 161.7 kB / 1.168 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01479/4.731, allocations: 5.423 MB / 1.173 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.222e-06/4.731, allocations: 0 / 1.173 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0221/4.753, allocations: 2.674 MB / 1.176 GB, free: 127.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (547): * Single equations (assignments): 540 * 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.05851/4.811, allocations: 24.89 MB / 1.2 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03912/4.851, allocations: 16.39 MB / 1.216 GB, free: 99.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/4.851, allocations: 0 / 1.216 GB, free: 99.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01826/4.869, allocations: 6.818 MB / 1.223 GB, free: 93.56 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01062/4.88, allocations: 0.977 MB / 1.224 GB, free: 92.76 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09735/4.977, allocations: 28.77 MB / 1.252 GB, free: 68.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02447/5.002, allocations: 8.898 MB / 1.26 GB, free: 61.95 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0279/5.029, allocations: 5.112 MB / 1.265 GB, free: 58.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01789/5.047, allocations: 6.399 MB / 1.272 GB, free: 52.75 MB / 0.5886 GB Notification: Performance of SimCode: time 1.933e-06/5.047, allocations: 0 / 1.272 GB, free: 52.75 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.502/6.55, allocations: 215.9 MB / 1.482 GB, free: 66.82 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/6.55, allocations: 126.6 kB / 1.482 GB, free: 66.63 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/18.63, allocations: 1.844 kB / 1.482 GB, free: 66.63 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2_res.mat does not exist to compare? outputFormat=mat