Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.415/2.415, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.388e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1347, allocations: 61.87 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5217/0.6564, allocations: 94.56 MB / 0.4931 GB, free: 9.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.6568, allocations: 71.97 kB / 0.4932 GB, free: 9.336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1175/0.7744, allocations: 28.04 MB / 0.5205 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7744, allocations: 0 / 0.5205 GB, free: 13.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001141/0.7746, allocations: 36 kB / 0.5206 GB, free: 13.05 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.004954/0.7795, allocations: 1.589 MB / 0.5221 GB, free: 11.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.7796, allocations: 12.03 kB / 0.5221 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001362/0.781, allocations: 350.3 kB / 0.5225 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.7828, allocations: 261.2 kB / 0.5227 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/0.7858, allocations: 0.8372 MB / 0.5235 GB, free: 9.914 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.7861, allocations: 151.7 kB / 0.5237 GB, free: 9.766 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007904/0.7869, allocations: 188 kB / 0.5239 GB, free: 9.582 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009628/0.7965, allocations: 3.306 MB / 0.5271 GB, free: 5.883 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.422e-05/0.7967, allocations: 19.81 kB / 0.5271 GB, free: 5.863 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.7972, allocations: 91.95 kB / 0.5272 GB, free: 5.773 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007243/0.7979, allocations: 332.1 kB / 0.5275 GB, free: 5.449 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005896/0.8039, allocations: 1.757 MB / 0.5292 GB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/0.8265, allocations: 15.21 MB / 0.5441 GB, free: 3.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.8267, allocations: 165.1 kB / 0.5442 GB, free: 3.809 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.8267, allocations: 84.14 kB / 0.5443 GB, free: 3.723 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.8268, allocations: 83.28 kB / 0.5444 GB, free: 3.641 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.8269, allocations: 113.7 kB / 0.5445 GB, free: 3.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 3.406e-06/0.8269, allocations: 0 / 0.5445 GB, free: 3.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004732/0.8273, allocations: 152.1 kB / 0.5447 GB, free: 3.363 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.8274, allocations: 130.6 kB / 0.5448 GB, free: 3.223 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.8315, allocations: 1.459 MB / 0.5462 GB, free: 1.758 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.8316, allocations: 29.7 kB / 0.5462 GB, free: 1.723 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.8333, allocations: 1.359 MB / 0.5476 GB, free: 348 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.8335, allocations: 47.95 kB / 0.5476 GB, free: 300 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.8337, allocations: 40 kB / 0.5476 GB, free: 260 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004374/0.8341, allocations: 438.7 kB / 0.5481 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.8352, allocations: 352 kB / 0.5484 GB, free: 15.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/0.8378, allocations: 1.89 MB / 0.5502 GB, free: 12.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.8399, allocations: 0.7839 MB / 0.551 GB, free: 11.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.315e-05/0.8401, allocations: 16 kB / 0.551 GB, free: 11.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006212/0.8463, allocations: 1.908 MB / 0.5529 GB, free: 10.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.253e-05/0.8464, allocations: 35.94 kB / 0.5529 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-05/0.8465, allocations: 56.88 kB / 0.553 GB, free: 9.961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.8467, allocations: 80 kB / 0.553 GB, free: 9.883 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.8493, allocations: 495 kB / 0.5535 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001492/0.8495, allocations: 115.5 kB / 0.5536 GB, free: 9.285 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.852, allocations: 320.5 kB / 0.5539 GB, free: 8.969 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004395/0.8525, allocations: 140 kB / 0.5541 GB, free: 8.832 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.0005355/0.853, allocations: 377.3 kB / 0.5544 GB, free: 8.457 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.8534, allocations: 223.4 kB / 0.5546 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.8539, allocations: 224.5 kB / 0.5549 GB, free: 7.996 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.328e-05/0.854, allocations: 184.3 kB / 0.555 GB, free: 7.809 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-05/0.8541, allocations: 184.2 kB / 0.5552 GB, free: 7.621 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-05/0.8542, allocations: 180.2 kB / 0.5554 GB, free: 7.438 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/0.8576, allocations: 1.474 MB / 0.5568 GB, free: 5.906 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.423e-05/0.8578, allocations: 105 kB / 0.5569 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.8578, allocations: 108.9 kB / 0.557 GB, free: 5.684 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.418e-05/0.8579, allocations: 180.4 kB / 0.5572 GB, free: 5.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.644e-05/0.858, allocations: 180.3 kB / 0.5574 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.452e-05/0.8581, allocations: 184.2 kB / 0.5575 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.599e-05/0.8582, allocations: 188.2 kB / 0.5577 GB, free: 4.938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.8587, allocations: 429.3 kB / 0.5581 GB, free: 4.492 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/0.8592, allocations: 296.5 kB / 0.5584 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.8595, allocations: 176.3 kB / 0.5586 GB, free: 3.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/0.8601, allocations: 112.9 kB / 0.5587 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.8602, allocations: 184.2 kB / 0.5589 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.8603, allocations: 101 kB / 0.559 GB, free: 3.586 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002704/0.863, allocations: 0.9898 MB / 0.5599 GB, free: 2.598 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.233e-06/0.8631, allocations: 0 / 0.5599 GB, free: 2.598 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002791/0.8659, allocations: 446 kB / 0.5604 GB, free: 2.16 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.0008328/0.8668, allocations: 0.9361 MB / 0.5613 GB, free: 1.191 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.8692, allocations: 0.8143 MB / 0.5621 GB, free: 400 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.8692, allocations: 0 / 0.5621 GB, free: 400 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.8692, allocations: 0 / 0.5621 GB, free: 400 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.8705, allocations: 0.6412 MB / 0.5627 GB, free: 15.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009531/0.8801, allocations: 2.565 MB / 0.5652 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002954/0.8831, allocations: 1.615 MB / 0.5668 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002597/0.8858, allocations: 495.2 kB / 0.5672 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.8873, allocations: 0.6594 MB / 0.5679 GB, free: 10.32 MB / 490.7 MB Notification: Performance of SimCode: time 1.883e-06/0.8873, allocations: 0 / 0.5679 GB, free: 10.32 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07347/0.9608, allocations: 22.1 MB / 0.5895 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/0.9612, allocations: 146.3 kB / 0.5896 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/4.104, allocations: 3.938 kB / 0.5896 GB, free: 4.152 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat