Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.134/2.134, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.106e-05, allocations: 0 / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 50.41 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.5717, allocations: 91.97 MB / 435.1 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.5721, allocations: 88.58 kB / 435.2 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2712/0.8432, allocations: 58.36 MB / 493.6 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.8433, allocations: 3.938 kB / 493.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.8434, allocations: 40 kB / 493.6 MB, free: 11.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009597/0.853, allocations: 2.529 MB / 496.1 MB, free: 9.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.8531, allocations: 11.97 kB / 496.2 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001835/0.855, allocations: 0.49 MB / 496.6 MB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.8713, allocations: 1.962 MB / 498.6 MB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.8846, allocations: 3.146 MB / 0.49 GB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.8849, allocations: 176.6 kB / 0.4902 GB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.8863, allocations: 235.9 kB / 0.4904 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/0.9044, allocations: 6.707 MB / 0.4969 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.9047, allocations: 55.52 kB / 0.497 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006114/0.9053, allocations: 119.9 kB / 0.4971 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001671/0.907, allocations: 0.7111 MB / 0.4978 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/0.9235, allocations: 5.567 MB / 0.5032 GB, free: 5.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4254/1.349, allocations: 33.36 MB / 0.5358 GB, free: 94.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/1.36, allocations: 2.277 MB / 0.538 GB, free: 93.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003344/1.363, allocations: 1.021 MB / 0.539 GB, free: 93.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/1.363, allocations: 14.3 kB / 0.539 GB, free: 93.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/1.363, allocations: 47.7 kB / 0.5391 GB, free: 93.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 6.662e-06/1.363, allocations: 1.375 kB / 0.5391 GB, free: 93.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.03895/1.402, allocations: 6.969 MB / 0.5459 GB, free: 91.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/1.403, allocations: 137 kB / 0.546 GB, free: 91.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008137/1.411, allocations: 2.489 MB / 0.5485 GB, free: 91.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000336/1.411, allocations: 40.89 kB / 0.5485 GB, free: 91.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002424/1.414, allocations: 2.073 MB / 0.5505 GB, free: 90.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008516/1.414, allocations: 439 kB / 0.5509 GB, free: 90.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004407/1.415, allocations: 90.67 kB / 0.551 GB, free: 90.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003954/1.415, allocations: 498.2 kB / 0.5515 GB, free: 89.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004765/1.42, allocations: 1.36 MB / 0.5528 GB, free: 89.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006145/1.426, allocations: 4.127 MB / 0.5569 GB, free: 86.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004871/1.431, allocations: 2.369 MB / 0.5592 GB, free: 86.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.3e-05/1.431, allocations: 33.89 kB / 0.5592 GB, free: 86.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01613/1.447, allocations: 5.685 MB / 0.5648 GB, free: 85.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/1.448, allocations: 44.66 kB / 0.5648 GB, free: 85.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/1.448, allocations: 103 kB / 0.5649 GB, free: 85.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/1.452, allocations: 0.8033 MB / 0.5657 GB, free: 85.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00574/1.457, allocations: 0.9997 MB / 0.5667 GB, free: 85.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007968/1.465, allocations: 4.103 MB / 0.5707 GB, free: 83.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.471, allocations: 287.8 kB / 0.5709 GB, free: 83.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007115/1.471, allocations: 270 kB / 0.5712 GB, free: 83.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (531): * Single equations (assignments): 527 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008146/1.472, allocations: 449.6 kB / 0.5716 GB, free: 82.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005984/1.473, allocations: 229.9 kB / 0.5719 GB, free: 82.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005989/1.479, allocations: 1.842 MB / 0.5737 GB, free: 82.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.701e-05/1.479, allocations: 16.56 kB / 0.5737 GB, free: 82.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/1.479, allocations: 4.219 kB / 0.5737 GB, free: 82.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/1.479, allocations: 7.328 kB / 0.5737 GB, free: 82.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/1.493, allocations: 4.785 MB / 0.5783 GB, free: 80.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.493, allocations: 0 / 0.5783 GB, free: 80.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.494, allocations: 139.8 kB / 0.5785 GB, free: 80.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003541/1.498, allocations: 0.6382 MB / 0.5791 GB, free: 80.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/1.498, allocations: 19.84 kB / 0.5791 GB, free: 80.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007185/1.505, allocations: 3.639 MB / 0.5827 GB, free: 78.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.505, allocations: 0 / 0.5827 GB, free: 78.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009255/1.515, allocations: 3.756 MB / 0.5863 GB, free: 76.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009412/1.516, allocations: 306.7 kB / 0.5866 GB, free: 76.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005605/1.516, allocations: 19.47 kB / 0.5867 GB, free: 76.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/1.518, allocations: 73.3 kB / 0.5867 GB, free: 76.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/1.518, allocations: 58.02 kB / 0.5868 GB, free: 76.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.519, allocations: 30.44 kB / 0.5868 GB, free: 76.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003748/1.522, allocations: 1.715 MB / 0.5885 GB, free: 76.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.522, allocations: 0.6562 kB / 0.5885 GB, free: 76.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005048/1.527, allocations: 0.6497 MB / 0.5891 GB, free: 75.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01355/1.541, allocations: 4.69 MB / 0.5937 GB, free: 73.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007624/1.549, allocations: 3.195 MB / 0.5968 GB, free: 72.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.549, allocations: 0 / 0.5968 GB, free: 72.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001945/1.551, allocations: 0.9094 MB / 0.5977 GB, free: 71.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.553, allocations: 235.7 kB / 0.5979 GB, free: 71.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/1.571, allocations: 5.239 MB / 0.6031 GB, free: 66.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004086/1.575, allocations: 2.243 MB / 0.6052 GB, free: 65.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006503/1.582, allocations: 1.392 MB / 0.6066 GB, free: 64.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002597/1.584, allocations: 1.051 MB / 0.6076 GB, free: 63.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.933e-06/1.584, allocations: 0 / 0.6076 GB, free: 63.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/1.701, allocations: 48.51 MB / 0.655 GB, free: 18.59 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/1.701, allocations: 194.8 kB / 0.6552 GB, free: 18.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.086/5.787, allocations: 0 / 0.6552 GB, free: 18.35 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat