Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.614/2.614, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.11e-05/4.123e-05, allocations: 7.938 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5529/0.7043, allocations: 103.2 MB / 0.5015 GB, free: 0.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.7046, allocations: 74.09 kB / 0.5016 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4321/1.137, allocations: 84.69 MB / 0.5843 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.304e-06/1.137, allocations: 0 / 0.5843 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002043/1.137, allocations: 68 kB / 0.5843 GB, free: 11.3 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.02204/1.159, allocations: 3.856 MB / 0.5881 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/1.159, allocations: 12.02 kB / 0.5881 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003682/1.163, allocations: 0.7538 MB / 0.5889 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04319/1.206, allocations: 5.879 MB / 0.5946 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02619/1.232, allocations: 5.165 MB / 0.5996 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006264/1.233, allocations: 279.3 kB / 0.5999 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003451/1.237, allocations: 371.8 kB / 0.6003 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03921/1.276, allocations: 10.31 MB / 0.6103 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001904/1.276, allocations: 27.75 kB / 0.6104 GB, free: 4 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.4069/1.683, allocations: 169.4 kB / 0.6105 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003343/1.686, allocations: 1.151 MB / 0.6116 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03366/1.72, allocations: 9.857 MB / 0.6213 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.082/1.802, allocations: 37.41 MB / 0.6578 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02721/1.829, allocations: 5.546 MB / 0.6632 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006696/1.836, allocations: 2.309 MB / 0.6655 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00292/1.839, allocations: 1.878 MB / 0.6673 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/1.839, allocations: 50.28 kB / 0.6674 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=224): time 8.316e-06/1.839, allocations: 0 / 0.6674 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=231): time 0.05637/1.896, allocations: 12.36 MB / 0.6794 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001338/1.897, allocations: 1.519 MB / 0.6809 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004831/1.902, allocations: 2.479 MB / 0.6833 GB, free: 99.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007197/1.903, allocations: 57.02 kB / 0.6834 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002094/1.905, allocations: 2.68 MB / 0.686 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.906, allocations: 0.8509 MB / 0.6868 GB, free: 97.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007834/1.907, allocations: 108.5 kB / 0.6869 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004333/1.908, allocations: 0.537 MB / 0.6875 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006163/1.914, allocations: 2.562 MB / 0.69 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007764/1.922, allocations: 5.508 MB / 0.6953 GB, free: 91.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008173/1.93, allocations: 3.792 MB / 0.699 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.204e-05/1.93, allocations: 28.88 kB / 0.6991 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=724) (initialization): time 0.1161/2.046, allocations: 18.59 MB / 0.7172 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.117e-05/2.046, allocations: 55.95 kB / 0.7173 GB, free: 78.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0838/2.13, allocations: 11.96 MB / 0.729 GB, free: 67.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1079/2.238, allocations: 10.31 MB / 0.739 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/2.249, allocations: 1.248 MB / 0.7402 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04913/2.298, allocations: 15.86 MB / 0.7557 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006833/2.305, allocations: 436.8 kB / 0.7561 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/2.306, allocations: 321.7 kB / 0.7565 GB, free: 39.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (652): * Single equations (assignments): 641 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.001818/2.308, allocations: 0.5008 MB / 0.7569 GB, free: 38.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/2.309, allocations: 272.4 kB / 0.7572 GB, free: 38.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/2.324, allocations: 5.07 MB / 0.7622 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01296/2.337, allocations: 4.357 MB / 0.7664 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/2.337, allocations: 0 / 0.7664 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.066e-05/2.337, allocations: 7.969 kB / 0.7664 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03537/2.372, allocations: 12.94 MB / 0.7791 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/2.372, allocations: 8 kB / 0.7791 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003704/2.376, allocations: 399.4 kB / 0.7794 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005294/2.381, allocations: 0.9348 MB / 0.7804 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005789/2.382, allocations: 50.72 kB / 0.7804 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009903/2.392, allocations: 5.438 MB / 0.7857 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001174/2.393, allocations: 1.452 MB / 0.7871 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/2.412, allocations: 8.28 MB / 0.7952 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/2.413, allocations: 333.6 kB / 0.7955 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009326/2.414, allocations: 57.28 kB / 0.7956 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003363/2.418, allocations: 199.7 kB / 0.7958 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007277/2.419, allocations: 139.4 kB / 0.7959 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002956/2.419, allocations: 67.97 kB / 0.796 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004419/2.423, allocations: 1.685 MB / 0.7976 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.32e-07/2.423, allocations: 0 / 0.7976 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007685/2.431, allocations: 1.11 MB / 0.7987 GB, free: 11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3939/2.825, allocations: 10.88 MB / 0.8093 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02588/2.851, allocations: 6.308 MB / 0.8155 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/2.851, allocations: 1.125 kB / 0.8155 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007201/2.858, allocations: 2.473 MB / 0.8179 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/2.861, allocations: 331 kB / 0.8182 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03729/2.899, allocations: 9.847 MB / 0.8279 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008921/2.908, allocations: 3.249 MB / 0.831 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009292/2.917, allocations: 2.061 MB / 0.833 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004687/2.922, allocations: 1.672 MB / 0.8347 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.934e-06/2.922, allocations: 3.438 kB / 0.8347 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2165/3.138, allocations: 79.6 MB / 0.9124 GB, free: 93.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/3.139, allocations: 174 kB / 0.9126 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.838/7.977, allocations: 3.938 kB / 0.9126 GB, free: 93.24 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat