Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.592/2.592, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.009e-05/4.019e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5407/0.6802, allocations: 106.8 MB / 0.505 GB, free: 13.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.6806, allocations: 72.88 kB / 0.5051 GB, free: 13.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9987/1.679, allocations: 156 MB / 0.6574 GB, free: 106 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/1.679, allocations: 0 / 0.6574 GB, free: 106 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005855/1.68, allocations: 153.9 kB / 0.6576 GB, free: 106 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.03138/1.711, allocations: 7.617 MB / 0.665 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/1.711, allocations: 7.719 kB / 0.665 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006207/1.718, allocations: 1.305 MB / 0.6663 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08588/1.804, allocations: 11.93 MB / 0.6779 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03423/1.838, allocations: 9.959 MB / 0.6877 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00071/1.839, allocations: 0.5672 MB / 0.6882 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004271/1.843, allocations: 0.766 MB / 0.689 GB, free: 99.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05661/1.9, allocations: 17.87 MB / 0.7064 GB, free: 91.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006302/1.9, allocations: 105.5 kB / 0.7065 GB, free: 91.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003798/1.904, allocations: 369.1 kB / 0.7069 GB, free: 90.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003383/1.907, allocations: 1.569 MB / 0.7084 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0466/1.954, allocations: 14.08 MB / 0.7221 GB, free: 75.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1177/2.072, allocations: 75.43 MB / 0.7958 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03519/2.107, allocations: 7.423 MB / 0.8031 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008034/2.115, allocations: 3.543 MB / 0.8065 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/2.116, allocations: 0.6465 MB / 0.8071 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/2.116, allocations: 76 kB / 0.8072 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=239): time 6.713e-06/2.116, allocations: 0 / 0.8072 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of matching and sorting (n=263): time 0.5338/2.65, allocations: 23 MB / 0.8297 GB, free: 107 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/2.65, allocations: 289.9 kB / 0.83 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01978/2.67, allocations: 6.415 MB / 0.8362 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000748/2.671, allocations: 70.05 kB / 0.8363 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005798/2.677, allocations: 5.347 MB / 0.8415 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001899/2.679, allocations: 1.017 MB / 0.8425 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/2.68, allocations: 171.1 kB / 0.8427 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009299/2.681, allocations: 0.6689 MB / 0.8433 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007743/2.689, allocations: 2.84 MB / 0.8461 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01142/2.7, allocations: 8.02 MB / 0.8539 GB, free: 96.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/2.712, allocations: 4.747 MB / 0.8586 GB, free: 96.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002883/2.712, allocations: 54.78 kB / 0.8586 GB, free: 96.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.03226/2.745, allocations: 10.95 MB / 0.8693 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/2.745, allocations: 83.75 kB / 0.8694 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002956/2.745, allocations: 183.9 kB / 0.8696 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004126/2.749, allocations: 0.9946 MB / 0.8705 GB, free: 93.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01234/2.762, allocations: 1.929 MB / 0.8724 GB, free: 92.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/2.78, allocations: 10.97 MB / 0.8831 GB, free: 85.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/2.791, allocations: 460 kB / 0.8836 GB, free: 84.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00217/2.793, allocations: 0.5147 MB / 0.8841 GB, free: 84.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (1040): * Single equations (assignments): 1033 * 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 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003001/2.796, allocations: 0.7858 MB / 0.8848 GB, free: 84.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001985/2.798, allocations: 0.6261 MB / 0.8854 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/2.812, allocations: 4.555 MB / 0.8899 GB, free: 82.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.484e-05/2.812, allocations: 33.16 kB / 0.8899 GB, free: 82.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-05/2.812, allocations: 9 kB / 0.8899 GB, free: 82.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-05/2.812, allocations: 12.09 kB / 0.8899 GB, free: 82.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05177/2.864, allocations: 12.4 MB / 0.9021 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.922e-05/2.864, allocations: 3.688 kB / 0.9021 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005206/2.869, allocations: 383.3 kB / 0.9024 GB, free: 77.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004475/2.874, allocations: 0.6662 MB / 0.9031 GB, free: 77.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007201/2.874, allocations: 41.98 kB / 0.9031 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02109/2.896, allocations: 9.859 MB / 0.9127 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/2.896, allocations: 4.062 kB / 0.9127 GB, free: 70.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01986/2.915, allocations: 7.907 MB / 0.9205 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003278/2.919, allocations: 0.6694 MB / 0.9211 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002817/2.922, allocations: 44.73 kB / 0.9212 GB, free: 64.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005808/2.928, allocations: 151.9 kB / 0.9213 GB, free: 64.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009321/2.929, allocations: 153.2 kB / 0.9215 GB, free: 64.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/2.929, allocations: 65.12 kB / 0.9215 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01217/2.941, allocations: 4.567 MB / 0.926 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.964e-06/2.941, allocations: 3 kB / 0.926 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01222/2.953, allocations: 1.646 MB / 0.9276 GB, free: 58.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (207): * Single equations (assignments): 200 * 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 {(1,100.0%) 10,(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.01925/2.973, allocations: 8.743 MB / 0.9361 GB, free: 50.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01648/2.989, allocations: 7.113 MB / 0.9431 GB, free: 44.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/2.989, allocations: 4 kB / 0.9431 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005336/2.995, allocations: 2.515 MB / 0.9455 GB, free: 42.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008049/3.003, allocations: 0.9281 MB / 0.9464 GB, free: 41.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05071/3.053, allocations: 15.55 MB / 0.9616 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01321/3.067, allocations: 5.556 MB / 0.967 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01312/3.08, allocations: 2.756 MB / 0.9697 GB, free: 22.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008591/3.088, allocations: 3.635 MB / 0.9733 GB, free: 18.78 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/3.088, allocations: 0 / 0.9733 GB, free: 18.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7221/3.811, allocations: 134.6 MB / 1.105 GB, free: 81.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/3.811, allocations: 169.2 kB / 1.105 GB, free: 81.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.145/12.96, allocations: 4.062 kB / 1.105 GB, free: 81.4 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat