Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.925/1.925, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.822e-05/4.849e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5362/0.6456, allocations: 98.55 MB / 420.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.646, allocations: 71.97 kB / 420.5 MB, free: 6.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.265/1.911, allocations: 236.7 MB / 0.6418 GB, free: 13.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.911, allocations: 0 / 0.6418 GB, free: 13.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009634/1.912, allocations: 252 kB / 0.642 GB, free: 13.45 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.05717/1.969, allocations: 12.23 MB / 0.654 GB, free: 1.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/1.969, allocations: 16.02 kB / 0.654 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.7428/2.712, allocations: 2.153 MB / 0.6561 GB, free: 32.68 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1001/2.812, allocations: 12.79 MB / 0.6686 GB, free: 31.83 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04913/2.861, allocations: 13.23 MB / 0.6815 GB, free: 31.23 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001407/2.863, allocations: 0.9408 MB / 0.6824 GB, free: 31.21 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007658/2.87, allocations: 1.251 MB / 0.6837 GB, free: 31.2 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1087/2.979, allocations: 30.01 MB / 0.713 GB, free: 25.13 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001119/2.98, allocations: 141.4 kB / 0.7131 GB, free: 25.12 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007289/2.987, allocations: 0.5796 MB / 0.7137 GB, free: 25.12 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00673/2.994, allocations: 2.865 MB / 0.7165 GB, free: 25.08 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08306/3.077, allocations: 24.49 MB / 0.7404 GB, free: 20.38 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6884/3.766, allocations: 127.3 MB / 0.8647 GB, free: 21.7 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07012/3.836, allocations: 14.93 MB / 0.8793 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01627/3.852, allocations: 8.1 MB / 0.8872 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05236/3.905, allocations: 20.21 MB / 0.9069 GB, free: 17.86 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.428e-05/3.905, allocations: 102.9 kB / 0.907 GB, free: 17.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=566): time 9.739e-06/3.905, allocations: 0 / 0.907 GB, free: 17.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=650): time 0.2762/4.181, allocations: 60.83 MB / 0.9664 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000266/4.181, allocations: 378.7 kB / 0.9668 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03253/4.214, allocations: 10.53 MB / 0.9771 GB, free: 4.738 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001921/4.216, allocations: 128.2 kB / 0.9772 GB, free: 4.609 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01308/4.229, allocations: 8.406 MB / 0.9854 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006686/4.236, allocations: 2.386 MB / 0.9877 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004231/4.24, allocations: 312 kB / 0.988 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.003113/4.243, allocations: 0.955 MB / 0.989 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03064/4.274, allocations: 6.608 MB / 0.9954 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0534/4.328, allocations: 15.71 MB / 1.011 GB, free: 4.301 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0508/4.378, allocations: 9.965 MB / 1.02 GB, free: 12.59 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000477/4.379, allocations: 84 kB / 1.021 GB, free: 12.51 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.1002/4.479, allocations: 24.59 MB / 1.045 GB, free: 8.309 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002681/4.48, allocations: 131.3 kB / 1.045 GB, free: 8.184 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005539/4.48, allocations: 288.9 kB / 1.045 GB, free: 7.902 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01526/4.495, allocations: 3.273 MB / 1.048 GB, free: 4.617 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02749/4.523, allocations: 3.743 MB / 1.052 GB, free: 0.8711 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4471/4.97, allocations: 22.46 MB / 1.074 GB, free: 139.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02032/4.99, allocations: 0.9317 MB / 1.075 GB, free: 139.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004446/4.995, allocations: 0.8727 MB / 1.076 GB, free: 139.8 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * 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],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1877): * Single equations (assignments): 1870 * 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%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006488/5.001, allocations: 1.267 MB / 1.077 GB, free: 139.6 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003401/5.005, allocations: 1.068 MB / 1.078 GB, free: 139.6 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04357/5.048, allocations: 14.64 MB / 1.092 GB, free: 139.3 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001122/5.049, allocations: 66.48 kB / 1.092 GB, free: 139.3 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.354e-05/5.049, allocations: 16.16 kB / 1.092 GB, free: 139.3 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001878/5.049, allocations: 36.41 kB / 1.092 GB, free: 139.3 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09983/5.149, allocations: 32.4 MB / 1.124 GB, free: 133.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001069/5.149, allocations: 12.78 kB / 1.124 GB, free: 133.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01422/5.163, allocations: 1.305 MB / 1.125 GB, free: 133.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/5.176, allocations: 2.816 MB / 1.128 GB, free: 133.2 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001947/5.178, allocations: 125.9 kB / 1.128 GB, free: 133.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0419/5.22, allocations: 21.01 MB / 1.149 GB, free: 122.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/5.22, allocations: 20.03 kB / 1.149 GB, free: 122.1 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08529/5.306, allocations: 26.14 MB / 1.174 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009134/5.315, allocations: 2.191 MB / 1.176 GB, free: 108.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003891/5.319, allocations: 117.8 kB / 1.176 GB, free: 108.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01187/5.331, allocations: 449.2 kB / 1.177 GB, free: 108.3 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002604/5.333, allocations: 415 kB / 1.177 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001164/5.334, allocations: 171.4 kB / 1.177 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02014/5.355, allocations: 7.594 MB / 1.185 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.653e-06/5.355, allocations: 5.312 kB / 1.185 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02064/5.375, allocations: 3.074 MB / 1.188 GB, free: 102.6 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (559): * Single equations (assignments): 552 * 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%) 17,(4,75.0%) 17,(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.06323/5.439, allocations: 27.29 MB / 1.214 GB, free: 78 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04812/5.487, allocations: 16.52 MB / 1.231 GB, free: 63.85 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.309e-05/5.487, allocations: 5.094 kB / 1.231 GB, free: 63.84 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02598/5.513, allocations: 7.082 MB / 1.237 GB, free: 57.65 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01526/5.528, allocations: 1.332 MB / 1.239 GB, free: 56.54 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4796/6.008, allocations: 29.7 MB / 1.268 GB, free: 145.1 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02379/6.032, allocations: 8.78 MB / 1.276 GB, free: 144.1 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.02899/6.061, allocations: 5.126 MB / 1.281 GB, free: 144 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01714/6.078, allocations: 6.319 MB / 1.287 GB, free: 144 MB / 0.5574 GB Notification: Performance of SimCode: time 1.773e-06/6.078, allocations: 0 / 1.287 GB, free: 144 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9488/7.027, allocations: 237.9 MB / 1.52 GB, free: 138.1 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/7.027, allocations: 167.2 kB / 1.52 GB, free: 137.9 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/20.85, allocations: 3.938 kB / 1.52 GB, free: 137.9 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat