Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.597/2.597, allocations: 270 MB / 283.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.364e-05/5.377e-05, allocations: 4 kB / 348.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4075, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.6349, allocations: 107 MB / 0.5052 GB, free: 15.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.6353, allocations: 75.95 kB / 0.5053 GB, free: 15.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9696/1.605, allocations: 132.4 MB / 0.6346 GB, free: 6.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.534e-06/1.605, allocations: 0 / 0.6346 GB, free: 6.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005166/1.605, allocations: 132 kB / 0.6347 GB, free: 5.961 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02769/1.633, allocations: 6.34 MB / 0.6409 GB, free: 15.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/1.633, allocations: 8.031 kB / 0.6409 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006131/1.639, allocations: 1.12 MB / 0.642 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08131/1.721, allocations: 9.422 MB / 0.6512 GB, free: 4.953 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0477/1.769, allocations: 8.103 MB / 0.6591 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001196/1.77, allocations: 488.9 kB / 0.6596 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00489/1.775, allocations: 0.6403 MB / 0.6602 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05663/1.831, allocations: 15.03 MB / 0.6749 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006381/1.832, allocations: 95.12 kB / 0.675 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003636/1.836, allocations: 307.9 kB / 0.6753 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003675/1.84, allocations: 1.349 MB / 0.6766 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05663/1.896, allocations: 11.55 MB / 0.6879 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.582/2.478, allocations: 67.57 MB / 0.7539 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02235/2.501, allocations: 5.232 MB / 0.759 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005445/2.506, allocations: 2.612 MB / 0.7615 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/2.507, allocations: 39.31 kB / 0.7615 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/2.507, allocations: 55.72 kB / 0.7616 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 7.223e-06/2.507, allocations: 0 / 0.7616 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.08063/2.587, allocations: 16.78 MB / 0.778 GB, free: 51.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/2.587, allocations: 257.9 kB / 0.7782 GB, free: 50.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01721/2.605, allocations: 5.928 MB / 0.784 GB, free: 50.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006028/2.605, allocations: 56.42 kB / 0.7841 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005418/2.611, allocations: 4.672 MB / 0.7886 GB, free: 48.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/2.612, allocations: 0.8395 MB / 0.7895 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/2.614, allocations: 152.5 kB / 0.7896 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001037/2.615, allocations: 0.6325 MB / 0.7902 GB, free: 47.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006755/2.621, allocations: 2.395 MB / 0.7926 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01042/2.632, allocations: 7.29 MB / 0.7997 GB, free: 40.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009953/2.642, allocations: 4.168 MB / 0.8037 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002616/2.642, allocations: 48.25 kB / 0.8038 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02881/2.671, allocations: 9.547 MB / 0.8131 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/2.671, allocations: 77.91 kB / 0.8132 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003271/2.672, allocations: 176 kB / 0.8134 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003418/2.675, allocations: 0.7884 MB / 0.8141 GB, free: 38.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/2.687, allocations: 1.76 MB / 0.8158 GB, free: 38.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/2.701, allocations: 8.273 MB / 0.8239 GB, free: 32.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009791/2.71, allocations: 413.7 kB / 0.8243 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002041/2.713, allocations: 480.2 kB / 0.8248 GB, free: 32.76 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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.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 (952): * Single equations (assignments): 946 * 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.003186/2.716, allocations: 0.7291 MB / 0.8255 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/2.718, allocations: 0.5578 MB / 0.826 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/2.728, allocations: 3.353 MB / 0.8293 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.765e-05/2.728, allocations: 21.38 kB / 0.8293 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.22e-05/2.728, allocations: 7.156 kB / 0.8293 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.693e-05/2.728, allocations: 17.61 kB / 0.8294 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.031/2.759, allocations: 9.505 MB / 0.8386 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/2.76, allocations: 4 kB / 0.8386 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003139/2.763, allocations: 294.8 kB / 0.8389 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002616/2.765, allocations: 0.5032 MB / 0.8394 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005428/2.766, allocations: 28 kB / 0.8394 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/2.778, allocations: 7.388 MB / 0.8467 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.778, allocations: 3.516 kB / 0.8467 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/2.793, allocations: 6.174 MB / 0.8527 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002644/2.795, allocations: 0.6214 MB / 0.8533 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002145/2.797, allocations: 32 kB / 0.8533 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004854/2.802, allocations: 110.9 kB / 0.8534 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007587/2.803, allocations: 118 kB / 0.8535 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002751/2.804, allocations: 55.84 kB / 0.8536 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0114/2.815, allocations: 4.208 MB / 0.8577 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.81e-07/2.815, allocations: 0 / 0.8577 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01062/2.826, allocations: 1.38 MB / 0.8591 GB, free: 6.41 MB / 0.5105 GB 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 (160): * Single equations (assignments): 154 * 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.01543/2.841, allocations: 7.022 MB / 0.8659 GB, free: 44 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02242/2.864, allocations: 6.282 MB / 0.872 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/2.864, allocations: 3.656 kB / 0.8721 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005067/2.869, allocations: 1.905 MB / 0.8739 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007167/2.876, allocations: 0.7556 MB / 0.8746 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05199/2.928, allocations: 13.08 MB / 0.8874 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01323/2.941, allocations: 4.769 MB / 0.8921 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01335/2.955, allocations: 2.535 MB / 0.8945 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008697/2.963, allocations: 3.028 MB / 0.8975 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of SimCode: time 1.693e-06/2.964, allocations: 4 kB / 0.8975 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6875/3.651, allocations: 114.3 MB / 1.009 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/3.651, allocations: 170.3 kB / 1.009 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/11.37, allocations: 4 kB / 1.009 GB, free: 110.4 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat