Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.585/2.585, allocations: 249.5 MB / 261.6 MB, free: 2.176 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.809e-05/3.815e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4519, allocations: 58.84 MB / 382.3 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.6828, allocations: 105.3 MB / 487.6 MB, free: 3.18 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.6832, allocations: 75.97 kB / 487.7 MB, free: 3.105 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7773/1.46, allocations: 91.63 MB / 0.5657 GB, free: 108.5 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.795e-06/1.461, allocations: 0 / 0.5657 GB, free: 108.5 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002103/1.461, allocations: 78.44 kB / 0.5658 GB, free: 108.5 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01536/1.476, allocations: 3.98 MB / 0.5697 GB, free: 105.9 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/1.476, allocations: 16.03 kB / 0.5697 GB, free: 105.9 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004342/1.481, allocations: 0.837 MB / 0.5705 GB, free: 105.1 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02737/1.508, allocations: 3.555 MB / 0.574 GB, free: 101.5 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01725/1.525, allocations: 4.436 MB / 0.5783 GB, free: 97.07 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/1.526, allocations: 333.5 kB / 0.5787 GB, free: 96.77 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004678/1.531, allocations: 428.1 kB / 0.5791 GB, free: 96.39 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03658/1.567, allocations: 10.8 MB / 0.5896 GB, free: 85.23 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002642/1.568, allocations: 23.81 kB / 0.5896 GB, free: 85.2 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002688/1.571, allocations: 193.6 kB / 0.5898 GB, free: 85.05 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002944/1.574, allocations: 1.266 MB / 0.5911 GB, free: 83.78 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03012/1.604, allocations: 10.21 MB / 0.601 GB, free: 73.56 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07923/1.683, allocations: 37.83 MB / 0.638 GB, free: 35.01 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/1.697, allocations: 4.548 MB / 0.6424 GB, free: 30.24 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004581/1.701, allocations: 2.381 MB / 0.6447 GB, free: 27.86 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/1.703, allocations: 1.314 MB / 0.646 GB, free: 26.33 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.703, allocations: 56.56 kB / 0.6461 GB, free: 26.27 MB / 458.8 MB Notification: Performance of pre-optimization done (n=242): time 5.741e-06/1.703, allocations: 0 / 0.6461 GB, free: 26.27 MB / 458.8 MB Notification: Performance of matching and sorting (n=254): time 0.05416/1.757, allocations: 14.59 MB / 0.6603 GB, free: 11.62 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/1.757, allocations: 77.39 kB / 0.6604 GB, free: 11.54 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00522/1.763, allocations: 2.467 MB / 0.6628 GB, free: 9.055 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005687/1.763, allocations: 61.7 kB / 0.6629 GB, free: 8.988 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002162/1.765, allocations: 2.846 MB / 0.6656 GB, free: 6.137 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/1.767, allocations: 0.9227 MB / 0.6665 GB, free: 5.223 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006645/1.768, allocations: 108 kB / 0.6667 GB, free: 5.117 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004281/1.768, allocations: 0.5376 MB / 0.6672 GB, free: 4.574 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005362/1.773, allocations: 2.256 MB / 0.6694 GB, free: 2.312 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00851/1.782, allocations: 5.181 MB / 0.6744 GB, free: 11.68 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008868/1.791, allocations: 3.464 MB / 0.6778 GB, free: 8.215 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/1.791, allocations: 32 kB / 0.6779 GB, free: 8.184 MB / 474.8 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.026/1.817, allocations: 7.934 MB / 0.6856 GB, free: 240 kB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.817, allocations: 48 kB / 0.6856 GB, free: 192 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/1.817, allocations: 108.2 kB / 0.6857 GB, free: 84 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005326/1.823, allocations: 0.945 MB / 0.6867 GB, free: 15.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00854/1.831, allocations: 1.24 MB / 0.6879 GB, free: 13.89 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/1.843, allocations: 4.746 MB / 0.6925 GB, free: 9.008 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005929/1.849, allocations: 307.4 kB / 0.6928 GB, free: 8.711 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.851, allocations: 316 kB / 0.6931 GB, free: 8.402 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (664): * Single equations (assignments): 657 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002047/1.853, allocations: 0.4944 MB / 0.6936 GB, free: 7.898 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008443/1.853, allocations: 280.3 kB / 0.6939 GB, free: 7.621 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/1.871, allocations: 5.078 MB / 0.6988 GB, free: 2.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001297/1.871, allocations: 44 kB / 0.6989 GB, free: 2.477 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.871, allocations: 4 kB / 0.6989 GB, free: 2.473 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.406e-05/1.871, allocations: 15.91 kB / 0.6989 GB, free: 2.457 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03948/1.911, allocations: 11.91 MB / 0.7105 GB, free: 6.363 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.756e-05/1.911, allocations: 15.94 kB / 0.7105 GB, free: 6.348 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003797/1.914, allocations: 395.4 kB / 0.7109 GB, free: 5.961 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004798/1.919, allocations: 0.7655 MB / 0.7117 GB, free: 5.191 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006246/1.92, allocations: 59.95 kB / 0.7117 GB, free: 5.133 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00988/1.93, allocations: 4.021 MB / 0.7156 GB, free: 0.9727 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.527e-05/1.93, allocations: 19.92 kB / 0.7157 GB, free: 0.9531 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4762/2.406, allocations: 8.388 MB / 0.7239 GB, free: 137.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/2.409, allocations: 0.6852 MB / 0.7245 GB, free: 137 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007105/2.409, allocations: 50.09 kB / 0.7246 GB, free: 137 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/2.412, allocations: 137.7 kB / 0.7247 GB, free: 137 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004787/2.412, allocations: 159.5 kB / 0.7249 GB, free: 137 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/2.413, allocations: 72.95 kB / 0.7249 GB, free: 137 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004109/2.417, allocations: 1.686 MB / 0.7266 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.633e-06/2.417, allocations: 3.469 kB / 0.7266 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007992/2.425, allocations: 1.007 MB / 0.7276 GB, free: 136.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01912/2.444, allocations: 11.58 MB / 0.7389 GB, free: 132.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01209/2.456, allocations: 5.381 MB / 0.7441 GB, free: 131.3 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/2.456, allocations: 0 / 0.7441 GB, free: 131.3 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004642/2.461, allocations: 2.095 MB / 0.7462 GB, free: 130.6 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/2.464, allocations: 344.9 kB / 0.7465 GB, free: 130.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/2.495, allocations: 10.08 MB / 0.7563 GB, free: 126.9 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0076/2.502, allocations: 3.531 MB / 0.7598 GB, free: 125.6 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008898/2.511, allocations: 1.998 MB / 0.7617 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005008/2.516, allocations: 1.888 MB / 0.7636 GB, free: 124 MB / 0.4949 GB Notification: Performance of SimCode: time 2.023e-06/2.516, allocations: 0 / 0.7636 GB, free: 124 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1688/2.685, allocations: 69.99 MB / 0.8319 GB, free: 65.22 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/2.686, allocations: 160.8 kB / 0.8321 GB, free: 65 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.055/7.741, allocations: 3.938 kB / 0.8321 GB, free: 65 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat