Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.273e-05/4.295e-05, allocations: 8 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1082, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4267/0.535, allocations: 81.04 MB / 402.9 MB, free: 8.875 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.5353, allocations: 75.95 kB / 403 MB, free: 8.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07008/0.6054, allocations: 16.3 MB / 419.2 MB, free: 8.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6054, allocations: 4 kB / 419.3 MB, free: 8.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.337e-05/0.6055, allocations: 20 kB / 419.3 MB, free: 8.367 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002239/0.6077, allocations: 0.9783 MB / 420.2 MB, free: 7.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.6078, allocations: 8.031 kB / 420.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000415/0.6082, allocations: 181.3 kB / 420.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.6104, allocations: 238.3 kB / 420.7 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.6121, allocations: 0.5574 MB / 421.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.6123, allocations: 61.97 kB / 421.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.6125, allocations: 83.98 kB / 421.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/0.6165, allocations: 1.696 MB / 423.1 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.582e-05/0.6166, allocations: 7.938 kB / 423.1 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.6168, allocations: 35.98 kB / 423.1 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006052/0.6174, allocations: 173.4 kB / 423.3 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003223/0.6206, allocations: 1.114 MB / 424.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.6332, allocations: 7.43 MB / 431.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.6337, allocations: 150.5 kB / 432 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.6339, allocations: 80.81 kB / 432 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.634, allocations: 0 / 432 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.634, allocations: 34.55 kB / 432.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.684e-06/0.634, allocations: 336 / 432.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.000715/0.6347, allocations: 248.5 kB / 432.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.6348, allocations: 55.41 kB / 432.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.6365, allocations: 0.8435 MB / 433.2 MB, free: 9.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.6366, allocations: 29.64 kB / 433.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006098/0.6372, allocations: 0.7084 MB / 434 MB, free: 9.051 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.6373, allocations: 59.42 kB / 434 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.6374, allocations: 20 kB / 434 MB, free: 8.973 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.6376, allocations: 350.8 kB / 434.4 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/0.6382, allocations: 225.9 kB / 434.6 MB, free: 8.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.6393, allocations: 0.8994 MB / 435.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009772/0.6403, allocations: 443.4 kB / 435.9 MB, free: 6.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-05/0.6403, allocations: 8 kB / 435.9 MB, free: 6.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00247/0.6428, allocations: 1.06 MB / 437 MB, free: 5.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.6429, allocations: 16 kB / 437 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/0.6429, allocations: 24 kB / 437 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.539e-05/0.643, allocations: 36 kB / 437.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.6445, allocations: 243.5 kB / 437.3 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.059e-05/0.6445, allocations: 47.84 kB / 437.4 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.6457, allocations: 154.7 kB / 437.5 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.6459, allocations: 64 kB / 437.6 MB, free: 5.078 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * Number of states: 0 () * Number of discrete variables: 18 (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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * 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.0002505/0.6461, allocations: 202 kB / 437.8 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.6463, allocations: 71.06 kB / 437.8 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/0.6471, allocations: 272.4 kB / 438.1 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6471, allocations: 3.984 kB / 438.1 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6471, allocations: 0 / 438.1 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.6471, allocations: 0 / 438.1 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.6486, allocations: 0.7392 MB / 438.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.6486, allocations: 3.953 kB / 438.9 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.649, allocations: 31.97 kB / 438.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.6491, allocations: 0 / 438.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.6491, allocations: 12 kB / 438.9 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.6491, allocations: 3.938 kB / 438.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6491, allocations: 0 / 438.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.6498, allocations: 346.6 kB / 439.2 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.6502, allocations: 172.1 kB / 439.4 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.6503, allocations: 7.938 kB / 439.4 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.6508, allocations: 11.98 kB / 439.4 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.6509, allocations: 23.97 kB / 439.4 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.6509, allocations: 4 kB / 439.5 MB, free: 3.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00126/0.6522, allocations: 0.5967 MB / 440 MB, free: 2.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.6522, allocations: 0 / 440 MB, free: 2.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001293/0.6535, allocations: 215.2 kB / 440.3 MB, free: 2.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.00105/0.6546, allocations: 0.895 MB / 441.2 MB, free: 1.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.6561, allocations: 0.5364 MB / 441.7 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.6562, allocations: 0 / 441.7 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.6564, allocations: 95.81 kB / 441.8 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.6571, allocations: 71.3 kB / 441.9 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.6616, allocations: 1.485 MB / 443.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.6629, allocations: 1.163 MB / 444.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007685/0.6637, allocations: 347.3 kB / 444.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6637, allocations: 4 kB / 444.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.74/3.404, allocations: 14.75 MB / 459.6 MB, free: 14.85 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat