Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.127e-05/4.134e-05, allocations: 7.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1378, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5355/0.6733, allocations: 100.6 MB / 0.499 GB, free: 3.387 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.6736, allocations: 75.95 kB / 0.4991 GB, free: 3.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1351/0.8087, allocations: 30.57 MB / 0.529 GB, free: 4.566 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.8088, allocations: 0 / 0.529 GB, free: 4.566 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001144/0.8089, allocations: 32 kB / 0.529 GB, free: 4.535 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.00834/0.8173, allocations: 2.001 MB / 0.5309 GB, free: 2.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.8174, allocations: 12.02 kB / 0.5309 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001049/0.8184, allocations: 304.4 kB / 0.5312 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.821, allocations: 329.2 kB / 0.5316 GB, free: 1.836 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/0.8252, allocations: 1.041 MB / 0.5326 GB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.8254, allocations: 123.2 kB / 0.5327 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008471/0.8263, allocations: 156 kB / 0.5328 GB, free: 488 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/0.8419, allocations: 4.219 MB / 0.537 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.842, allocations: 7.938 kB / 0.537 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008782/0.8429, allocations: 75.95 kB / 0.537 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001673/0.8446, allocations: 422.5 kB / 0.5374 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.862, allocations: 3.48 MB / 0.5408 GB, free: 8.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03005/0.8921, allocations: 14.54 MB / 0.555 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007625/0.8998, allocations: 1.21 MB / 0.5562 GB, free: 7.891 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.9014, allocations: 0.682 MB / 0.5569 GB, free: 7.207 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008952/0.9104, allocations: 3.726 MB / 0.5605 GB, free: 3.223 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.9105, allocations: 46.86 kB / 0.5606 GB, free: 3.168 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 3.537e-06/0.9105, allocations: 0 / 0.5606 GB, free: 3.168 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.0109/0.9214, allocations: 1.451 MB / 0.562 GB, free: 1.711 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.9215, allocations: 59.41 kB / 0.562 GB, free: 1.641 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.9248, allocations: 1.307 MB / 0.5633 GB, free: 328 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.736e-05/0.925, allocations: 29.7 kB / 0.5633 GB, free: 292 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.9264, allocations: 1.201 MB / 0.5645 GB, free: 15.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.9268, allocations: 174 kB / 0.5647 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.927, allocations: 44 kB / 0.5647 GB, free: 14.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003959/0.9274, allocations: 442.9 kB / 0.5651 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.9288, allocations: 468.1 kB / 0.5656 GB, free: 13.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/0.9316, allocations: 1.847 MB / 0.5674 GB, free: 11.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.934, allocations: 0.8975 MB / 0.5683 GB, free: 10.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.566e-05/0.9341, allocations: 12 kB / 0.5683 GB, free: 10.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.006464/0.9406, allocations: 2.077 MB / 0.5703 GB, free: 8.387 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/0.9407, allocations: 28 kB / 0.5703 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.743e-05/0.9408, allocations: 52 kB / 0.5704 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.941, allocations: 84 kB / 0.5705 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/0.9441, allocations: 491 kB / 0.5709 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001394/0.9442, allocations: 99.64 kB / 0.571 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.9467, allocations: 296.9 kB / 0.5713 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003453/0.9471, allocations: 136 kB / 0.5714 GB, free: 7.223 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004557/0.9476, allocations: 295.7 kB / 0.5717 GB, free: 6.926 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.9479, allocations: 122.4 kB / 0.5718 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.9483, allocations: 144.6 kB / 0.572 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.9483, allocations: 4 kB / 0.572 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.9483, allocations: 3.953 kB / 0.572 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.9483, allocations: 0 / 0.572 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006413/0.9547, allocations: 2.805 MB / 0.5747 GB, free: 3.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.9548, allocations: 12 kB / 0.5747 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.9554, allocations: 91.83 kB / 0.5748 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.909e-05/0.9555, allocations: 16 kB / 0.5748 GB, free: 3.516 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.9555, allocations: 24 kB / 0.5749 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-05/0.9556, allocations: 19.92 kB / 0.5749 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.472e-05/0.9556, allocations: 19.88 kB / 0.5749 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.9577, allocations: 1.506 MB / 0.5764 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.9582, allocations: 215.4 kB / 0.5766 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.9584, allocations: 31.94 kB / 0.5766 GB, free: 1.137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.9592, allocations: 27.98 kB / 0.5766 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.9593, allocations: 67.69 kB / 0.5767 GB, free: 1.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.9594, allocations: 27.98 kB / 0.5767 GB, free: 1.016 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002203/0.9616, allocations: 0.888 MB / 0.5776 GB, free: 128 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.9616, allocations: 0 / 0.5776 GB, free: 128 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.00273/0.9644, allocations: 406.6 kB / 0.578 GB, free: 15.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003884/0.9683, allocations: 5.276 MB / 0.5831 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003011/0.9714, allocations: 1.072 MB / 0.5842 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/0.9715, allocations: 4 kB / 0.5842 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005475/0.972, allocations: 215 kB / 0.5844 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.9734, allocations: 177.4 kB / 0.5846 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009562/0.983, allocations: 2.897 MB / 0.5874 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.9855, allocations: 1.563 MB / 0.5889 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002872/0.9885, allocations: 0.5659 MB / 0.5895 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/0.9899, allocations: 0.6203 MB / 0.5901 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of SimCode: time 1.493e-06/0.9899, allocations: 0 / 0.5901 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4399/1.43, allocations: 23.35 MB / 0.6129 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/1.43, allocations: 147.3 kB / 0.613 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.346/4.777, allocations: 0 / 0.613 GB, free: 151.1 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat