Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.532e-05, allocations: 3.938 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4234/0.5376, allocations: 94.56 MB / 0.493 GB, free: 9.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5379, allocations: 71.97 kB / 0.493 GB, free: 9.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1042/0.6422, allocations: 28.05 MB / 0.5204 GB, free: 13.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.967e-06/0.6422, allocations: 0 / 0.5204 GB, free: 13.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.482e-05/0.6423, allocations: 32 kB / 0.5205 GB, free: 13.24 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002796/0.6451, allocations: 1.593 MB / 0.522 GB, free: 11.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.6452, allocations: 8.031 kB / 0.522 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.6464, allocations: 265.2 kB / 0.5223 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.6486, allocations: 0.8372 MB / 0.5231 GB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.6488, allocations: 139.8 kB / 0.5232 GB, free: 10.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/0.6492, allocations: 187.9 kB / 0.5234 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006475/0.6557, allocations: 3.318 MB / 0.5267 GB, free: 6.414 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-05/0.6558, allocations: 19.81 kB / 0.5267 GB, free: 6.395 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000256/0.6561, allocations: 87.95 kB / 0.5268 GB, free: 6.309 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005774/0.6566, allocations: 336.1 kB / 0.5271 GB, free: 5.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.6608, allocations: 1.753 MB / 0.5288 GB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01822/0.679, allocations: 15.22 MB / 0.5437 GB, free: 4.508 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.6792, allocations: 173.1 kB / 0.5438 GB, free: 4.328 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.6792, allocations: 80.14 kB / 0.5439 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.6793, allocations: 75.28 kB / 0.544 GB, free: 4.172 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/0.6794, allocations: 113.8 kB / 0.5441 GB, free: 4.051 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 2.488e-06/0.6794, allocations: 0 / 0.5441 GB, free: 4.051 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003521/0.6797, allocations: 156 kB / 0.5442 GB, free: 3.891 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.6798, allocations: 130.6 kB / 0.5443 GB, free: 3.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.6825, allocations: 1.459 MB / 0.5458 GB, free: 2.285 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.6826, allocations: 25.7 kB / 0.5458 GB, free: 2.254 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.6839, allocations: 1.363 MB / 0.5471 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.6839, allocations: 43.95 kB / 0.5472 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.684, allocations: 44 kB / 0.5472 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003443/0.6844, allocations: 442.7 kB / 0.5476 GB, free: 348 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.6852, allocations: 352 kB / 0.548 GB, free: 15.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.6874, allocations: 1.886 MB / 0.5498 GB, free: 13.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.6889, allocations: 0.7839 MB / 0.5506 GB, free: 12.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.381e-05/0.6889, allocations: 16 kB / 0.5506 GB, free: 12.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004353/0.6933, allocations: 1.917 MB / 0.5525 GB, free: 10.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.6934, allocations: 28 kB / 0.5525 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.152e-05/0.6934, allocations: 56 kB / 0.5525 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.6936, allocations: 84 kB / 0.5526 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.6952, allocations: 487 kB / 0.5531 GB, free: 9.926 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001231/0.6953, allocations: 116.1 kB / 0.5532 GB, free: 9.812 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.6972, allocations: 320.6 kB / 0.5535 GB, free: 9.496 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/0.6975, allocations: 136 kB / 0.5536 GB, free: 9.363 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * 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.0004161/0.6979, allocations: 376.8 kB / 0.554 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.6982, allocations: 223.4 kB / 0.5542 GB, free: 8.762 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.6985, allocations: 232.5 kB / 0.5544 GB, free: 8.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.765e-05/0.6986, allocations: 176.3 kB / 0.5546 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-05/0.6987, allocations: 176.3 kB / 0.5548 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-05/0.6988, allocations: 188.1 kB / 0.5549 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.7012, allocations: 1.474 MB / 0.5564 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.834e-05/0.7013, allocations: 109 kB / 0.5565 GB, free: 6.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.7013, allocations: 108.9 kB / 0.5566 GB, free: 6.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.08e-05/0.7014, allocations: 176.4 kB / 0.5568 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-05/0.7016, allocations: 184.3 kB / 0.5569 GB, free: 5.844 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.821e-05/0.7017, allocations: 184.2 kB / 0.5571 GB, free: 5.656 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001054/0.7018, allocations: 180.3 kB / 0.5573 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.7021, allocations: 433.3 kB / 0.5577 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.7025, allocations: 296.5 kB / 0.558 GB, free: 4.707 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.7028, allocations: 184.3 kB / 0.5582 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.7032, allocations: 104.9 kB / 0.5583 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.7033, allocations: 180.3 kB / 0.5584 GB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/0.7034, allocations: 105 kB / 0.5585 GB, free: 4.117 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001842/0.7053, allocations: 0.9938 MB / 0.5595 GB, free: 3.125 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.08e-07/0.7053, allocations: 3.938 kB / 0.5595 GB, free: 3.121 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002301/0.7076, allocations: 442 kB / 0.5599 GB, free: 2.688 MB / 474.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 (0): * Single equations (assignments): 0 * 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.0002031/0.7078, allocations: 174.5 kB / 0.5601 GB, free: 2.504 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.7095, allocations: 0.8134 MB / 0.5609 GB, free: 1.703 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.7096, allocations: 3.938 kB / 0.5609 GB, free: 1.699 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.54e-06/0.7096, allocations: 4 kB / 0.5609 GB, free: 1.695 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.7105, allocations: 0.6382 MB / 0.5615 GB, free: 1.051 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.7151, allocations: 2.072 MB / 0.5635 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002012/0.7171, allocations: 1.607 MB / 0.5651 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001745/0.7189, allocations: 495.1 kB / 0.5656 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.7191, allocations: 83.38 kB / 0.5657 GB, free: 12.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.702e-06/0.7191, allocations: 0 / 0.5657 GB, free: 12.73 MB / 490.7 MB Notification: Performance of Templates: time 0.03403/0.7531, allocations: 7.807 MB / 0.5733 GB, free: 4.969 MB / 490.7 MB