Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.535/2.535, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.064e-05/5.076e-05, allocations: 7.984 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1461, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6101/0.7563, allocations: 110.7 MB / 0.5088 GB, free: 9.246 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.7567, allocations: 75.95 kB / 0.5089 GB, free: 9.172 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.334/2.091, allocations: 205.4 MB / 0.7095 GB, free: 92.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.655e-06/2.091, allocations: 0 / 0.7095 GB, free: 92.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008461/2.092, allocations: 224.9 kB / 0.7097 GB, free: 92.04 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: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.04755/2.139, allocations: 10.57 MB / 0.72 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/2.139, allocations: 8.031 kB / 0.72 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009614/2.149, allocations: 1.862 MB / 0.7218 GB, free: 80.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09255/2.241, allocations: 12.44 MB / 0.734 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04254/2.284, allocations: 11.45 MB / 0.7452 GB, free: 56.28 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001139/2.285, allocations: 0.8184 MB / 0.746 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006663/2.292, allocations: 1.097 MB / 0.747 GB, free: 54.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08686/2.379, allocations: 25.6 MB / 0.772 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001004/2.38, allocations: 126.8 kB / 0.7722 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005863/2.386, allocations: 0.5114 MB / 0.7727 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005259/2.391, allocations: 2.353 MB / 0.775 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07023/2.461, allocations: 20.62 MB / 0.7951 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6717/3.133, allocations: 108.6 MB / 0.9012 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05745/3.191, allocations: 12.31 MB / 0.9132 GB, free: 29.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01374/3.204, allocations: 6.963 MB / 0.92 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003925/3.208, allocations: 2.327 MB / 0.9223 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/3.209, allocations: 87.88 kB / 0.9223 GB, free: 25.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=443): time 9.298e-06/3.209, allocations: 0 / 0.9223 GB, free: 25.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=527): time 0.2779/3.487, allocations: 48.64 MB / 0.9698 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/3.487, allocations: 315.6 kB / 0.9701 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02283/3.51, allocations: 8.536 MB / 0.9785 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001631/3.511, allocations: 107.7 kB / 0.9786 GB, free: 396 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009924/3.521, allocations: 7.151 MB / 0.9856 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004327/3.526, allocations: 1.952 MB / 0.9875 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003178/3.529, allocations: 256 kB / 0.9877 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002103/3.531, allocations: 0.8519 MB / 0.9885 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01701/3.548, allocations: 5.49 MB / 0.9939 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04079/3.589, allocations: 13.45 MB / 1.007 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02337/3.612, allocations: 8.294 MB / 1.015 GB, free: 15.44 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003251/3.613, allocations: 68 kB / 1.015 GB, free: 15.37 MB / 0.573 GB Notification: Performance of matching and sorting (n=1662) (initialization): time 0.6027/4.215, allocations: 20.1 MB / 1.035 GB, free: 125.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003/4.216, allocations: 111.8 kB / 1.035 GB, free: 125.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006806/4.216, allocations: 248 kB / 1.035 GB, free: 125.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01615/4.233, allocations: 3.236 MB / 1.038 GB, free: 125.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02332/4.256, allocations: 3.09 MB / 1.041 GB, free: 125.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04614/4.302, allocations: 22.5 MB / 1.063 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01837/4.321, allocations: 0.7693 MB / 1.064 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003681/4.324, allocations: 0.7397 MB / 1.065 GB, free: 120.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1122 * Number of states: 0 () * Number of discrete variables: 126 (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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[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],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 (1542): * Single equations (assignments): 1535 * 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.006136/4.331, allocations: 1.098 MB / 1.066 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002884/4.333, allocations: 0.8725 MB / 1.067 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04114/4.375, allocations: 12.27 MB / 1.079 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001359/4.375, allocations: 54.48 kB / 1.079 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/4.375, allocations: 17.38 kB / 1.079 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001712/4.375, allocations: 28.89 kB / 1.079 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1041/4.479, allocations: 27.16 MB / 1.105 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.203e-05/4.479, allocations: 9.844 kB / 1.105 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01014/4.49, allocations: 0.9708 MB / 1.106 GB, free: 112.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0133/4.503, allocations: 2.823 MB / 1.109 GB, free: 111.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001829/4.505, allocations: 107.5 kB / 1.109 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04177/4.547, allocations: 21.02 MB / 1.13 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/4.547, allocations: 7.188 kB / 1.13 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0502/4.597, allocations: 20.33 MB / 1.15 GB, free: 89.22 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003576/4.6, allocations: 0.9389 MB / 1.15 GB, free: 88.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00401/4.605, allocations: 100.3 kB / 1.151 GB, free: 88.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/4.615, allocations: 407.4 kB / 1.151 GB, free: 87.95 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002164/4.617, allocations: 324.3 kB / 1.151 GB, free: 87.75 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001195/4.618, allocations: 144.9 kB / 1.151 GB, free: 87.62 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01627/4.634, allocations: 6.094 MB / 1.157 GB, free: 82.29 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.012e-06/4.634, allocations: 0 / 1.157 GB, free: 82.29 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02173/4.656, allocations: 2.621 MB / 1.16 GB, free: 79.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 (435): * Single equations (assignments): 428 * 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.07473/4.731, allocations: 21.54 MB / 1.181 GB, free: 60.56 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04664/4.778, allocations: 13.5 MB / 1.194 GB, free: 48.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-05/4.778, allocations: 4 kB / 1.194 GB, free: 48.37 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02352/4.801, allocations: 5.959 MB / 1.2 GB, free: 43.06 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01425/4.816, allocations: 1.182 MB / 1.201 GB, free: 42.09 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08256/4.898, allocations: 24.86 MB / 1.225 GB, free: 19.34 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02241/4.921, allocations: 7.586 MB / 1.233 GB, free: 11.77 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02704/4.948, allocations: 4.222 MB / 1.237 GB, free: 7.562 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01365/4.961, allocations: 5.287 MB / 1.242 GB, free: 2.277 MB / 0.573 GB Notification: Performance of SimCode: time 1.793e-06/4.962, allocations: 0 / 1.242 GB, free: 2.277 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.193/6.155, allocations: 200.7 MB / 1.438 GB, free: 15 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/6.155, allocations: 164.8 kB / 1.438 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/18.63, allocations: 0 / 1.438 GB, free: 14.77 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat