Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.243/2.243, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.186e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3885, allocations: 44.49 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/0.5799, allocations: 84.05 MB / 378.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/0.5804, allocations: 87.89 kB / 378.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5953/1.176, allocations: 55.85 MB / 434.3 MB, free: 90.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.176, allocations: 0 / 434.3 MB, free: 90.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001283/1.176, allocations: 56.61 kB / 434.3 MB, free: 90.89 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.0102/1.186, allocations: 2.521 MB / 436.9 MB, free: 89.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/1.186, allocations: 10.75 kB / 436.9 MB, free: 89.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01836/1.205, allocations: 1.961 MB / 438.8 MB, free: 89.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/1.219, allocations: 3.279 MB / 442.1 MB, free: 89.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/1.219, allocations: 81.42 kB / 442.2 MB, free: 89.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/1.22, allocations: 136.1 kB / 442.3 MB, free: 89.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01027/1.231, allocations: 3.908 MB / 446.2 MB, free: 89.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/1.246, allocations: 6.176 MB / 452.4 MB, free: 86.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/1.246, allocations: 44.47 kB / 452.4 MB, free: 86.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007589/1.247, allocations: 29.94 kB / 452.5 MB, free: 86.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001753/1.248, allocations: 0.7092 MB / 453.2 MB, free: 86.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0523/1.301, allocations: 31.97 MB / 485.1 MB, free: 60.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/1.305, allocations: 2.011 MB / 487.2 MB, free: 58.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/1.307, allocations: 0.9878 MB / 488.1 MB, free: 57.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/1.307, allocations: 16.53 kB / 488.2 MB, free: 57.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/1.307, allocations: 42.56 kB / 488.2 MB, free: 57.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 5.721e-06/1.307, allocations: 0 / 488.2 MB, free: 57.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.02903/1.336, allocations: 8.193 MB / 496.4 MB, free: 49.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/1.337, allocations: 140.5 kB / 496.5 MB, free: 48.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004459/1.341, allocations: 2.143 MB / 498.7 MB, free: 46.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002996/1.341, allocations: 29.64 kB / 498.7 MB, free: 46.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/1.343, allocations: 2.12 MB / 0.4891 GB, free: 44.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006762/1.344, allocations: 434.6 kB / 0.4895 GB, free: 44.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/1.344, allocations: 0 / 0.4895 GB, free: 44.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004218/1.345, allocations: 0.5359 MB / 0.49 GB, free: 43.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/1.348, allocations: 1.305 MB / 0.4913 GB, free: 42.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004935/1.353, allocations: 4.22 MB / 0.4954 GB, free: 36.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005643/1.359, allocations: 2.336 MB / 0.4977 GB, free: 34.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.021e-05/1.359, allocations: 32 kB / 0.4977 GB, free: 34.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01781/1.376, allocations: 5.48 MB / 0.5031 GB, free: 28.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/1.377, allocations: 52.05 kB / 0.5031 GB, free: 28.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/1.377, allocations: 107.9 kB / 0.5032 GB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004449/1.381, allocations: 0.8125 MB / 0.504 GB, free: 27.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006863/1.388, allocations: 1.041 MB / 0.505 GB, free: 26.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009003/1.397, allocations: 3.96 MB / 0.5089 GB, free: 22.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005552/1.403, allocations: 195.6 kB / 0.5091 GB, free: 22.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008697/1.404, allocations: 284 kB / 0.5094 GB, free: 22.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 548 * 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.0008154/1.405, allocations: 366.8 kB / 0.5097 GB, free: 21.72 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00791/1.412, allocations: 2.197 MB / 0.5119 GB, free: 19.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005654/1.413, allocations: 213.3 kB / 0.5121 GB, free: 19.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007066/1.42, allocations: 1.769 MB / 0.5138 GB, free: 17.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.308e-05/1.42, allocations: 12 kB / 0.5138 GB, free: 17.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.42, allocations: 7.75 kB / 0.5138 GB, free: 17.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/1.42, allocations: 3.984 kB / 0.5138 GB, free: 17.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/1.435, allocations: 4.313 MB / 0.518 GB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/1.435, allocations: 8.047 kB / 0.518 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.437, allocations: 139.8 kB / 0.5182 GB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004193/1.441, allocations: 0.6404 MB / 0.5188 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/1.441, allocations: 8 kB / 0.5188 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007976/1.449, allocations: 3.498 MB / 0.5222 GB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/1.449, allocations: 7.922 kB / 0.5222 GB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.46, allocations: 3.672 MB / 0.5258 GB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.461, allocations: 418.1 kB / 0.5262 GB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005912/1.462, allocations: 7.984 kB / 0.5262 GB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/1.464, allocations: 55.91 kB / 0.5263 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/1.464, allocations: 67.88 kB / 0.5263 GB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.465, allocations: 27.44 kB / 0.5264 GB, free: 4.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003703/1.468, allocations: 1.42 MB / 0.5278 GB, free: 2.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.468, allocations: 0 / 0.5278 GB, free: 2.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.009507/1.478, allocations: 0.5469 MB / 0.5283 GB, free: 2.414 MB / 362.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.01439/1.492, allocations: 4.598 MB / 0.5328 GB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009275/1.502, allocations: 3.171 MB / 0.5359 GB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.502, allocations: 0 / 0.5359 GB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002525/1.504, allocations: 0.8955 MB / 0.5368 GB, free: 9.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.507, allocations: 196.7 kB / 0.5369 GB, free: 9.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/1.528, allocations: 5.081 MB / 0.5419 GB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005042/1.533, allocations: 2.234 MB / 0.5441 GB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.008238/1.541, allocations: 1.441 MB / 0.5455 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003285/1.545, allocations: 1.046 MB / 0.5465 GB, free: 15.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/1.545, allocations: 0 / 0.5465 GB, free: 15.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5016/2.046, allocations: 44.87 MB / 0.5903 GB, free: 105.8 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003729/2.047, allocations: 154.6 kB / 0.5905 GB, free: 105.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.341/7.387, allocations: 3.938 kB / 0.5905 GB, free: 105.6 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat