Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.555e-05, allocations: 4 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5698, allocations: 94.66 MB / 437.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5702, allocations: 88.73 kB / 437.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2955/0.8657, allocations: 67.55 MB / 0.4936 GB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.8657, allocations: 4 kB / 0.4936 GB, free: 15.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002194/0.866, allocations: 67.98 kB / 0.4937 GB, free: 15.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.01192/0.8779, allocations: 3.083 MB / 0.4967 GB, free: 12.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.878, allocations: 12.03 kB / 0.4967 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001949/0.8799, allocations: 0.5929 MB / 0.4973 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.8943, allocations: 1.887 MB / 0.4991 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007254/0.9016, allocations: 1.977 MB / 0.5011 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.902, allocations: 238.1 kB / 0.5013 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.9033, allocations: 311.8 kB / 0.5016 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.9215, allocations: 7.361 MB / 0.5088 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.9217, allocations: 43.56 kB / 0.5088 GB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007261/0.9224, allocations: 159.9 kB / 0.509 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/0.9239, allocations: 0.7348 MB / 0.5097 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/0.9398, allocations: 5.459 MB / 0.515 GB, free: 9.039 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3472/1.287, allocations: 35.31 MB / 0.5495 GB, free: 86.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004958/1.292, allocations: 1.638 MB / 0.5511 GB, free: 86.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/1.293, allocations: 469.2 kB / 0.5515 GB, free: 85.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007041/1.3, allocations: 2.912 MB / 0.5544 GB, free: 84.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/1.301, allocations: 46.5 kB / 0.5544 GB, free: 84.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 4.348e-06/1.301, allocations: 0 / 0.5544 GB, free: 84.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.006786/1.307, allocations: 1.43 MB / 0.5558 GB, free: 84.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/1.308, allocations: 215.8 kB / 0.556 GB, free: 83.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008174/1.316, allocations: 3.274 MB / 0.5592 GB, free: 83.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001622/1.316, allocations: 37.75 kB / 0.5593 GB, free: 83.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002545/1.318, allocations: 2.699 MB / 0.5619 GB, free: 82.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/1.319, allocations: 386.1 kB / 0.5623 GB, free: 82.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004244/1.32, allocations: 91.31 kB / 0.5624 GB, free: 82.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003174/1.32, allocations: 0.5095 MB / 0.5629 GB, free: 81.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/1.323, allocations: 1.182 MB / 0.564 GB, free: 81.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004614/1.327, allocations: 4.5 MB / 0.5684 GB, free: 77.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004794/1.332, allocations: 2.319 MB / 0.5707 GB, free: 77.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/1.332, allocations: 39.44 kB / 0.5707 GB, free: 77.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01339/1.346, allocations: 5.101 MB / 0.5757 GB, free: 76.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.101e-05/1.346, allocations: 60.72 kB / 0.5757 GB, free: 76.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001568/1.346, allocations: 125.8 kB / 0.5759 GB, free: 76.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/1.346, allocations: 172.3 kB / 0.576 GB, free: 76.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006394/1.353, allocations: 1.132 MB / 0.5771 GB, free: 76.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002085/1.353, allocations: 232.4 kB / 0.5774 GB, free: 76.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005986/1.359, allocations: 0.7105 MB / 0.578 GB, free: 76.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/1.36, allocations: 346.3 kB / 0.5784 GB, free: 76.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 593 * Array equations: 3 * 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.0008523/1.361, allocations: 495.8 kB / 0.5789 GB, free: 75.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006911/1.362, allocations: 292.2 kB / 0.5791 GB, free: 75.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/1.363, allocations: 0.4988 MB / 0.5796 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-05/1.363, allocations: 10.34 kB / 0.5796 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.363, allocations: 0 / 0.5796 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.363, allocations: 7.312 kB / 0.5796 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009078/1.372, allocations: 3.288 MB / 0.5828 GB, free: 74.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/1.372, allocations: 7.656 kB / 0.5829 GB, free: 74.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009896/1.373, allocations: 110.8 kB / 0.583 GB, free: 74.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/1.373, allocations: 11.11 kB / 0.583 GB, free: 74.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/1.373, allocations: 18.58 kB / 0.583 GB, free: 74.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/1.373, allocations: 10.91 kB / 0.583 GB, free: 74.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.373, allocations: 7.156 kB / 0.583 GB, free: 74.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/1.377, allocations: 2.466 MB / 0.5854 GB, free: 72.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.378, allocations: 473.7 kB / 0.5859 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/1.378, allocations: 16.12 kB / 0.5859 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.38, allocations: 39.19 kB / 0.5859 GB, free: 72.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/1.38, allocations: 55.3 kB / 0.586 GB, free: 72.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/1.38, allocations: 30.55 kB / 0.586 GB, free: 72.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005359/1.386, allocations: 2.328 MB / 0.5883 GB, free: 71.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.12e-07/1.386, allocations: 2.844 kB / 0.5883 GB, free: 71.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005705/1.391, allocations: 0.8297 MB / 0.5891 GB, free: 71.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * Array equations: 3 * 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.003762/1.395, allocations: 4.05 MB / 0.593 GB, free: 68.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005909/1.401, allocations: 2.597 MB / 0.5956 GB, free: 67.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.401, allocations: 3.938 kB / 0.5956 GB, free: 67.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007996/1.402, allocations: 403 kB / 0.596 GB, free: 67.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.405, allocations: 362.9 kB / 0.5963 GB, free: 66.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/1.424, allocations: 6.419 MB / 0.6026 GB, free: 64.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00615/1.43, allocations: 2.752 MB / 0.6053 GB, free: 63.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007242/1.438, allocations: 1.581 MB / 0.6068 GB, free: 63.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00306/1.441, allocations: 1.488 MB / 0.6083 GB, free: 62.06 MB / 442.7 MB Notification: Performance of SimCode: time 2.425e-06/1.441, allocations: 0 / 0.6083 GB, free: 62.06 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1688/1.609, allocations: 56.44 MB / 0.6634 GB, free: 15.39 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/1.61, allocations: 163.8 kB / 0.6635 GB, free: 15.16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.515/6.125, allocations: 0 / 0.6635 GB, free: 15.16 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat