Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.783/2.783, allocations: 270 MB / 283.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.67e-05/5.683e-05, allocations: 7.984 kB / 348.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4547, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.6568, allocations: 107 MB / 0.5052 GB, free: 15.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.6572, allocations: 75.95 kB / 0.5053 GB, free: 15.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9637/1.621, allocations: 132.4 MB / 0.6346 GB, free: 6.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.514e-06/1.621, allocations: 0 / 0.6346 GB, free: 6.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004722/1.621, allocations: 136 kB / 0.6347 GB, free: 6.027 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.02576/1.647, allocations: 6.348 MB / 0.6409 GB, free: 15.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/1.647, allocations: 8.031 kB / 0.6409 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0056/1.653, allocations: 1.12 MB / 0.642 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07699/1.73, allocations: 9.414 MB / 0.6512 GB, free: 5.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04461/1.775, allocations: 8.103 MB / 0.6591 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001012/1.776, allocations: 484.9 kB / 0.6596 GB, free: 12.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004293/1.78, allocations: 0.6403 MB / 0.6602 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06127/1.841, allocations: 15.03 MB / 0.6749 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000616/1.842, allocations: 99.06 kB / 0.675 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003079/1.845, allocations: 311.9 kB / 0.6752 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004436/1.85, allocations: 1.353 MB / 0.6766 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05399/1.904, allocations: 11.56 MB / 0.6879 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5313/2.435, allocations: 67.57 MB / 0.7538 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02194/2.457, allocations: 5.223 MB / 0.7589 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005318/2.462, allocations: 2.617 MB / 0.7615 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/2.463, allocations: 35.72 kB / 0.7615 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/2.463, allocations: 64.95 kB / 0.7616 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 6.552e-06/2.463, allocations: 0 / 0.7616 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.08542/2.548, allocations: 16.77 MB / 0.778 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/2.548, allocations: 261 kB / 0.7782 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02249/2.571, allocations: 5.926 MB / 0.784 GB, free: 50.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006899/2.572, allocations: 57.78 kB / 0.7841 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006572/2.578, allocations: 4.669 MB / 0.7886 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001872/2.58, allocations: 0.8369 MB / 0.7894 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/2.581, allocations: 156.4 kB / 0.7896 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006317/2.582, allocations: 0.6378 MB / 0.7902 GB, free: 47.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00631/2.588, allocations: 2.389 MB / 0.7925 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009839/2.598, allocations: 7.287 MB / 0.7997 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009629/2.608, allocations: 4.168 MB / 0.8037 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002086/2.608, allocations: 50.66 kB / 0.8038 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02831/2.637, allocations: 9.539 MB / 0.8131 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/2.637, allocations: 85.22 kB / 0.8132 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003271/2.637, allocations: 172.7 kB / 0.8133 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00363/2.641, allocations: 0.7898 MB / 0.8141 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01151/2.652, allocations: 1.76 MB / 0.8158 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/2.666, allocations: 8.271 MB / 0.8239 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/2.676, allocations: 409.6 kB / 0.8243 GB, free: 32.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/2.679, allocations: 488.7 kB / 0.8248 GB, free: 32.84 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.003407/2.682, allocations: 0.7271 MB / 0.8255 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001714/2.684, allocations: 0.5629 MB / 0.826 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/2.695, allocations: 3.35 MB / 0.8293 GB, free: 30.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.819e-05/2.695, allocations: 23.53 kB / 0.8293 GB, free: 30.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.014e-05/2.695, allocations: 13.08 kB / 0.8293 GB, free: 30.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.837e-05/2.695, allocations: 11.62 kB / 0.8293 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03284/2.728, allocations: 9.509 MB / 0.8386 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.642e-05/2.728, allocations: 4 kB / 0.8386 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003012/2.731, allocations: 299.5 kB / 0.8389 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/2.734, allocations: 0.5009 MB / 0.8394 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/2.734, allocations: 32 kB / 0.8394 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/2.745, allocations: 7.387 MB / 0.8467 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/2.745, allocations: 4.031 kB / 0.8467 GB, free: 17.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/2.759, allocations: 6.166 MB / 0.8527 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/2.762, allocations: 0.6177 MB / 0.8533 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/2.763, allocations: 32 kB / 0.8533 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004348/2.768, allocations: 104 kB / 0.8534 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007068/2.769, allocations: 127.1 kB / 0.8535 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/2.769, allocations: 51.52 kB / 0.8536 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01085/2.78, allocations: 4.211 MB / 0.8577 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.104e-06/2.78, allocations: 112 / 0.8577 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01031/2.79, allocations: 1.39 MB / 0.8591 GB, free: 6.465 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.0147/2.805, allocations: 7.018 MB / 0.8659 GB, free: 100 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02277/2.828, allocations: 6.258 MB / 0.872 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.828, allocations: 0 / 0.872 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004855/2.833, allocations: 1.902 MB / 0.8739 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006795/2.839, allocations: 0.751 MB / 0.8746 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05662/2.896, allocations: 13.07 MB / 0.8874 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01357/2.91, allocations: 4.772 MB / 0.892 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01337/2.923, allocations: 2.539 MB / 0.8945 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008988/2.932, allocations: 3.026 MB / 0.8975 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of SimCode: time 1.993e-06/2.932, allocations: 5.219 kB / 0.8975 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6841/3.616, allocations: 114.3 MB / 1.009 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/3.617, allocations: 170.3 kB / 1.009 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/11.41, allocations: 7.875 kB / 1.009 GB, free: 110.5 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat