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 1.916/1.916, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.358e-05, allocations: 4 kB / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.5206, allocations: 80.64 MB / 396.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.5209, allocations: 78.52 kB / 397 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06624/0.5872, allocations: 15.99 MB / 413 MB, free: 14.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5872, allocations: 0 / 413 MB, free: 14.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.297e-05/0.5873, allocations: 24 kB / 413 MB, free: 14.03 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.002115/0.5894, allocations: 0.9803 MB / 414 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5895, allocations: 8.031 kB / 414 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.5916, allocations: 234.3 kB / 414.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.5929, allocations: 0.5638 MB / 414.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.593, allocations: 28 kB / 414.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.5932, allocations: 48 kB / 414.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002226/0.5954, allocations: 0.9737 MB / 415.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.5985, allocations: 1.559 MB / 417.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.5986, allocations: 7.938 kB / 417.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.5987, allocations: 4 kB / 417.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005694/0.5993, allocations: 174 kB / 417.6 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.61, allocations: 6.934 MB / 424.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.6104, allocations: 142.2 kB / 424.7 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.6106, allocations: 76.77 kB / 424.7 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.6107, allocations: 15.97 kB / 424.8 MB, free: 3.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.6107, allocations: 30.56 kB / 424.8 MB, free: 3.402 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.495e-06/0.6107, allocations: 0 / 424.8 MB, free: 3.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005895/0.6113, allocations: 225 kB / 425 MB, free: 3.176 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.6114, allocations: 55.41 kB / 425.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.6126, allocations: 0.6945 MB / 425.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.6127, allocations: 25.7 kB / 425.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006709/0.6134, allocations: 0.7353 MB / 426.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/0.6135, allocations: 67.36 kB / 426.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.6135, allocations: 0 / 426.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6137, allocations: 354.8 kB / 426.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.6142, allocations: 214.5 kB / 427.1 MB, free: 1.004 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.6153, allocations: 0.9179 MB / 428.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008763/0.6162, allocations: 439.4 kB / 428.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/0.6163, allocations: 8 kB / 428.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002244/0.6185, allocations: 0.9554 MB / 429.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.6186, allocations: 24 kB / 429.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/0.6186, allocations: 24 kB / 429.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-05/0.6187, allocations: 40 kB / 429.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.6201, allocations: 251.5 kB / 429.8 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.915e-05/0.6202, allocations: 51.78 kB / 429.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.6213, allocations: 130.5 kB / 430 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.6214, allocations: 64 kB / 430 MB, free: 13.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (129): * Single equations (assignments): 129 * 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.0002242/0.6217, allocations: 182.1 kB / 430.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005059/0.6222, allocations: 236.6 kB / 430.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.6223, allocations: 59.25 kB / 430.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000684/0.623, allocations: 263.4 kB / 430.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.623, allocations: 0 / 430.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6231, allocations: 4 kB / 430.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6231, allocations: 0 / 430.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.6241, allocations: 0.5096 MB / 431.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6241, allocations: 3.984 kB / 431.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.6245, allocations: 31.94 kB / 431.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6245, allocations: 4 kB / 431.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.6245, allocations: 3.984 kB / 431.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6245, allocations: 7.938 kB / 431.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.6246, allocations: 0 / 431.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.6251, allocations: 338.7 kB / 431.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.6254, allocations: 152.2 kB / 431.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.6255, allocations: 3.953 kB / 431.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.626, allocations: 11.98 kB / 431.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.6261, allocations: 19.97 kB / 431.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.6262, allocations: 4 kB / 431.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008754/0.6271, allocations: 495.1 kB / 432.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6271, allocations: 0 / 432.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001225/0.6283, allocations: 203.1 kB / 432.5 MB, free: 11.17 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.0009557/0.6293, allocations: 0.8678 MB / 433.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.6305, allocations: 0.5045 MB / 433.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.6305, allocations: 3.938 kB / 433.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.6307, allocations: 87.88 kB / 434 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.6312, allocations: 60.41 kB / 434 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.6353, allocations: 1.449 MB / 435.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.6365, allocations: 1.163 MB / 436.6 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/0.6372, allocations: 339.3 kB / 437 MB, free: 6.609 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6373, allocations: 8 kB / 437 MB, free: 6.602 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.761/3.398, allocations: 13.99 MB / 451 MB, free: 8.598 MB / 378.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