Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.22e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1356, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5246/0.6602, allocations: 109 MB / 0.5072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.6606, allocations: 76.52 kB / 0.5072 GB, free: 10.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9785/1.639, allocations: 126.4 MB / 0.6306 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.944e-06/1.639, allocations: 0 / 0.6306 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004963/1.64, allocations: 124.6 kB / 0.6307 GB, free: 108.1 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02881/1.669, allocations: 6.364 MB / 0.6369 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/1.669, allocations: 9.562 kB / 0.637 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005358/1.674, allocations: 1.112 MB / 0.638 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05282/1.727, allocations: 7.069 MB / 0.6449 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02728/1.754, allocations: 6.963 MB / 0.6517 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006409/1.755, allocations: 481.4 kB / 0.6522 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003641/1.759, allocations: 0.6256 MB / 0.6528 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04908/1.808, allocations: 15.53 MB / 0.668 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005289/1.808, allocations: 87.72 kB / 0.6681 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003437/1.812, allocations: 303.9 kB / 0.6684 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003411/1.815, allocations: 1.469 MB / 0.6698 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04044/1.856, allocations: 12.34 MB / 0.6818 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1085/1.964, allocations: 70.6 MB / 0.7508 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03803/2.002, allocations: 7.102 MB / 0.7577 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006912/2.009, allocations: 3.558 MB / 0.7612 GB, free: 31.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02262/2.032, allocations: 8.797 MB / 0.7698 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.441e-05/2.032, allocations: 60.28 kB / 0.7699 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 6.933e-06/2.032, allocations: 0 / 0.7699 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.1269/2.159, allocations: 26.43 MB / 0.7957 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/2.159, allocations: 243.6 kB / 0.7959 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02471/2.184, allocations: 5.867 MB / 0.8016 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/2.185, allocations: 69.7 kB / 0.8017 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007512/2.193, allocations: 4.542 MB / 0.8061 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002749/2.195, allocations: 1.094 MB / 0.8072 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/2.197, allocations: 172 kB / 0.8074 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00926/2.206, allocations: 0.6731 MB / 0.808 GB, free: 496 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4133/2.62, allocations: 3.212 MB / 0.8112 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/2.633, allocations: 8.176 MB / 0.8191 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/2.646, allocations: 5.093 MB / 0.8241 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003478/2.646, allocations: 53.56 kB / 0.8242 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.03808/2.684, allocations: 12.19 MB / 0.8361 GB, free: 108 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/2.685, allocations: 83.91 kB / 0.8362 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000291/2.685, allocations: 175.1 kB / 0.8363 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/2.692, allocations: 1.667 MB / 0.8379 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01294/2.705, allocations: 2.002 MB / 0.8399 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/2.726, allocations: 11.2 MB / 0.8508 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/2.737, allocations: 499.4 kB / 0.8513 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002271/2.74, allocations: 0.5037 MB / 0.8518 GB, free: 104.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * 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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003832/2.744, allocations: 0.7707 MB / 0.8526 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/2.745, allocations: 0.5612 MB / 0.8531 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01978/2.765, allocations: 6.218 MB / 0.8592 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.356e-05/2.765, allocations: 32.75 kB / 0.8592 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.571e-05/2.765, allocations: 7.531 kB / 0.8592 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.057e-05/2.765, allocations: 14.39 kB / 0.8592 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05612/2.822, allocations: 14.15 MB / 0.873 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.222e-05/2.822, allocations: 6.312 kB / 0.8731 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00752/2.829, allocations: 0.5315 MB / 0.8736 GB, free: 97.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009273/2.839, allocations: 1.399 MB / 0.8749 GB, free: 96.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/2.84, allocations: 52.69 kB / 0.875 GB, free: 96.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03049/2.87, allocations: 10.42 MB / 0.8852 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/2.87, allocations: 7.766 kB / 0.8852 GB, free: 91.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0367/2.907, allocations: 10.96 MB / 0.8959 GB, free: 86.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003523/2.911, allocations: 0.6342 MB / 0.8965 GB, free: 85.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003562/2.914, allocations: 52.66 kB / 0.8965 GB, free: 85.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008176/2.922, allocations: 189.9 kB / 0.8967 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001573/2.924, allocations: 181.1 kB / 0.8969 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004723/2.925, allocations: 75.42 kB / 0.897 GB, free: 85.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01576/2.94, allocations: 4.196 MB / 0.9011 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.513e-06/2.94, allocations: 0 / 0.9011 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01218/2.953, allocations: 1.546 MB / 0.9026 GB, free: 84.17 MB / 0.5261 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 (232): * Single equations (assignments): 227 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02709/2.98, allocations: 12.36 MB / 0.9147 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01824/2.998, allocations: 7.763 MB / 0.9222 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/2.998, allocations: 0 / 0.9222 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008958/3.007, allocations: 3.121 MB / 0.9253 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006229/3.013, allocations: 0.6911 MB / 0.926 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04854/3.062, allocations: 14.47 MB / 0.9401 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01139/3.073, allocations: 4.762 MB / 0.9447 GB, free: 46.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0137/3.087, allocations: 2.811 MB / 0.9475 GB, free: 44.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00818/3.095, allocations: 3.022 MB / 0.9504 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/3.096, allocations: 0 / 0.9504 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7323/3.828, allocations: 125.1 MB / 1.073 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/3.828, allocations: 162.4 kB / 1.073 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/11.97, allocations: 0 / 1.073 GB, free: 107.6 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat