Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.093e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 48.72 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.5637, allocations: 92.67 MB / 414.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003836/0.5642, allocations: 75.95 kB / 414.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9917/1.556, allocations: 136.9 MB / 0.5386 GB, free: 87.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.556, allocations: 0 / 0.5386 GB, free: 87.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004924/1.557, allocations: 133.2 kB / 0.5387 GB, free: 87.68 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: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.02867/1.585, allocations: 6.646 MB / 0.5452 GB, free: 85.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.585, allocations: 7.312 kB / 0.5452 GB, free: 85.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006202/1.591, allocations: 1.179 MB / 0.5464 GB, free: 84.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06964/1.661, allocations: 9.497 MB / 0.5557 GB, free: 84.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03064/1.692, allocations: 8.727 MB / 0.5642 GB, free: 82.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007105/1.693, allocations: 0.5076 MB / 0.5647 GB, free: 82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003967/1.697, allocations: 0.6741 MB / 0.5653 GB, free: 81.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0514/1.748, allocations: 15.88 MB / 0.5809 GB, free: 72.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006078/1.749, allocations: 99.11 kB / 0.5809 GB, free: 72.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003544/1.752, allocations: 324.8 kB / 0.5813 GB, free: 71.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00334/1.756, allocations: 1.466 MB / 0.5827 GB, free: 70.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03974/1.795, allocations: 12.38 MB / 0.5948 GB, free: 57.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.113/1.909, allocations: 70.66 MB / 0.6638 GB, free: 1.734 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3544/2.263, allocations: 5.812 MB / 0.6695 GB, free: 95.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007444/2.271, allocations: 3.03 MB / 0.6724 GB, free: 95.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/2.271, allocations: 46.88 kB / 0.6725 GB, free: 95.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.824e-05/2.271, allocations: 66.45 kB / 0.6725 GB, free: 95.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 7.284e-06/2.271, allocations: 0 / 0.6725 GB, free: 95.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=260): time 0.08909/2.36, allocations: 18.96 MB / 0.691 GB, free: 90.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/2.36, allocations: 268.2 kB / 0.6913 GB, free: 90.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0161/2.376, allocations: 6.081 MB / 0.6972 GB, free: 89.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007103/2.377, allocations: 67.06 kB / 0.6973 GB, free: 89.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005211/2.382, allocations: 4.871 MB / 0.702 GB, free: 87.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001775/2.384, allocations: 1.003 MB / 0.703 GB, free: 86.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/2.386, allocations: 169.3 kB / 0.7032 GB, free: 86.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006905/2.386, allocations: 0.6601 MB / 0.7038 GB, free: 86.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007627/2.394, allocations: 2.781 MB / 0.7066 GB, free: 85.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/2.405, allocations: 7.87 MB / 0.7142 GB, free: 77.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/2.416, allocations: 4.661 MB / 0.7188 GB, free: 76.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002167/2.417, allocations: 52.78 kB / 0.7188 GB, free: 76.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.03152/2.448, allocations: 10.55 MB / 0.7291 GB, free: 73.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/2.448, allocations: 80.38 kB / 0.7292 GB, free: 73.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003418/2.449, allocations: 182.9 kB / 0.7294 GB, free: 73.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003445/2.452, allocations: 0.8114 MB / 0.7302 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/2.465, allocations: 1.919 MB / 0.7321 GB, free: 72.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/2.478, allocations: 8.3 MB / 0.7402 GB, free: 67.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/2.489, allocations: 457.7 kB / 0.7406 GB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002312/2.492, allocations: 0.5069 MB / 0.7411 GB, free: 66.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1033): * Single equations (assignments): 1027 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003509/2.495, allocations: 0.7629 MB / 0.7418 GB, free: 66.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/2.497, allocations: 0.5821 MB / 0.7424 GB, free: 65.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/2.51, allocations: 4.267 MB / 0.7466 GB, free: 64.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-05/2.51, allocations: 28.5 kB / 0.7466 GB, free: 64.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.034e-05/2.51, allocations: 8.219 kB / 0.7466 GB, free: 64.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-05/2.51, allocations: 14.27 kB / 0.7466 GB, free: 64.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.035/2.545, allocations: 11.15 MB / 0.7575 GB, free: 58.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.624e-05/2.546, allocations: 3.609 kB / 0.7575 GB, free: 58.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004282/2.55, allocations: 416.9 kB / 0.7579 GB, free: 57.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/2.553, allocations: 0.4948 MB / 0.7584 GB, free: 57.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006555/2.553, allocations: 52.69 kB / 0.7585 GB, free: 57.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/2.565, allocations: 7.386 MB / 0.7657 GB, free: 50.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.565, allocations: 3.438 kB / 0.7657 GB, free: 50.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/2.583, allocations: 7.615 MB / 0.7731 GB, free: 43.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004565/2.588, allocations: 0.9954 MB / 0.7741 GB, free: 42.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00226/2.59, allocations: 40 kB / 0.7741 GB, free: 42.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005557/2.595, allocations: 149.4 kB / 0.7743 GB, free: 42.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009937/2.596, allocations: 154.9 kB / 0.7744 GB, free: 42.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002909/2.597, allocations: 70.59 kB / 0.7745 GB, free: 42.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01235/2.609, allocations: 4.333 MB / 0.7787 GB, free: 38.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.609, allocations: 0 / 0.7787 GB, free: 38.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01226/2.621, allocations: 1.507 MB / 0.7802 GB, free: 36.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01884/2.64, allocations: 8.467 MB / 0.7884 GB, free: 29.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0162/2.657, allocations: 6.844 MB / 0.7951 GB, free: 22.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.657, allocations: 0 / 0.7951 GB, free: 22.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005379/2.662, allocations: 2.361 MB / 0.7974 GB, free: 20.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00711/2.669, allocations: 0.7532 MB / 0.7982 GB, free: 20.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04741/2.717, allocations: 14.2 MB / 0.812 GB, free: 7.809 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01214/2.729, allocations: 5.031 MB / 0.817 GB, free: 4.117 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01371/2.743, allocations: 2.759 MB / 0.8196 GB, free: 2.348 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01125/2.754, allocations: 3.396 MB / 0.823 GB, free: 15.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.884e-06/2.754, allocations: 4 kB / 0.823 GB, free: 15.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6452/3.399, allocations: 121.6 MB / 0.9417 GB, free: 39.91 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/3.4, allocations: 169.9 kB / 0.9418 GB, free: 39.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/11.65, allocations: 4.875 kB / 0.9419 GB, free: 39.67 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat