Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.748/1.748, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.406e-05, allocations: 8 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2627, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.4127, allocations: 86.39 MB / 344.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.413, allocations: 79.95 kB / 344.8 MB, free: 7.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5307/0.9438, allocations: 72.35 MB / 417.2 MB, free: 58.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.9438, allocations: 3.938 kB / 417.2 MB, free: 58.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001566/0.944, allocations: 68 kB / 417.2 MB, free: 58.35 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1322 * Number of variables: 1322 Notification: Performance of Generate backend data structure: time 0.011/0.955, allocations: 3.425 MB / 420.7 MB, free: 54.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.955, allocations: 12.03 kB / 420.7 MB, free: 54.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/0.9715, allocations: 2.265 MB / 422.9 MB, free: 52.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.9855, allocations: 3.879 MB / 426.8 MB, free: 48.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.9857, allocations: 120 kB / 426.9 MB, free: 48.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.9871, allocations: 211.8 kB / 427.1 MB, free: 48.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01197/0.9991, allocations: 5.499 MB / 432.6 MB, free: 42.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/1.016, allocations: 8.454 MB / 441.1 MB, free: 33.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001534/1.016, allocations: 51.56 kB / 441.1 MB, free: 33.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006464/1.017, allocations: 28 kB / 441.2 MB, free: 33.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002071/1.019, allocations: 0.9813 MB / 442.1 MB, free: 32.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07391/1.093, allocations: 43.4 MB / 485.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005479/1.098, allocations: 2.683 MB / 488.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003279/1.101, allocations: 1.618 MB / 489.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008576/1.102, allocations: 0.5449 MB / 490.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/1.102, allocations: 47.34 kB / 490.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=145): time 4.709e-06/1.102, allocations: 0 / 490.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=162): time 0.3121/1.415, allocations: 16.15 MB / 0.4947 GB, free: 89.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/1.415, allocations: 147 kB / 0.4949 GB, free: 89.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00511/1.42, allocations: 2.595 MB / 0.4974 GB, free: 88.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004017/1.42, allocations: 29.67 kB / 0.4974 GB, free: 88.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/1.422, allocations: 2.747 MB / 0.5001 GB, free: 87.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000865/1.423, allocations: 0.6123 MB / 0.5007 GB, free: 87.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/1.423, allocations: 5.625 kB / 0.5007 GB, free: 87.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003417/1.424, allocations: 0.5444 MB / 0.5012 GB, free: 87.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003819/1.428, allocations: 1.795 MB / 0.503 GB, free: 87.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005953/1.434, allocations: 5.28 MB / 0.5081 GB, free: 82.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006729/1.44, allocations: 3.047 MB / 0.5111 GB, free: 82.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/1.441, allocations: 39.06 kB / 0.5112 GB, free: 82.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02236/1.463, allocations: 7.348 MB / 0.5183 GB, free: 81.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.772e-05/1.463, allocations: 59.16 kB / 0.5184 GB, free: 81.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/1.463, allocations: 125.5 kB / 0.5185 GB, free: 81.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006902/1.47, allocations: 1.295 MB / 0.5198 GB, free: 81.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007866/1.478, allocations: 1.315 MB / 0.5211 GB, free: 81.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/1.491, allocations: 5.819 MB / 0.5267 GB, free: 78.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006693/1.497, allocations: 241.7 kB / 0.527 GB, free: 78.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/1.499, allocations: 364 kB / 0.5273 GB, free: 78.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (696): * Single equations (assignments): 692 * 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,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001068/1.5, allocations: 414.6 kB / 0.5277 GB, free: 78.31 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01118/1.511, allocations: 3.471 MB / 0.5311 GB, free: 77.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009754/1.512, allocations: 274.5 kB / 0.5314 GB, free: 77.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.523, allocations: 3.149 MB / 0.5344 GB, free: 76.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-05/1.523, allocations: 17.31 kB / 0.5345 GB, free: 76.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/1.523, allocations: 5.719 kB / 0.5345 GB, free: 76.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/1.523, allocations: 7.641 kB / 0.5345 GB, free: 76.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/1.543, allocations: 6.904 MB / 0.5412 GB, free: 72.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/1.543, allocations: 4 kB / 0.5412 GB, free: 72.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.546, allocations: 243.8 kB / 0.5414 GB, free: 72.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006282/1.552, allocations: 1.106 MB / 0.5425 GB, free: 71.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/1.552, allocations: 4 kB / 0.5425 GB, free: 71.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/1.564, allocations: 5.45 MB / 0.5479 GB, free: 67.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.564, allocations: 64 / 0.5479 GB, free: 67.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.579, allocations: 5.547 MB / 0.5533 GB, free: 62.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.58, allocations: 0.5409 MB / 0.5538 GB, free: 61.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006338/1.581, allocations: 0 / 0.5538 GB, free: 61.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.583, allocations: 91.23 kB / 0.5539 GB, free: 61.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/1.584, allocations: 89.52 kB / 0.554 GB, free: 61.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/1.584, allocations: 44 kB / 0.554 GB, free: 61.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003088/1.587, allocations: 1.7 MB / 0.5557 GB, free: 60.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.587, allocations: 0 / 0.5557 GB, free: 60.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005927/1.593, allocations: 0.7788 MB / 0.5564 GB, free: 59.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01405/1.607, allocations: 6.342 MB / 0.5626 GB, free: 54.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00917/1.616, allocations: 4.418 MB / 0.5669 GB, free: 50.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.616, allocations: 0 / 0.5669 GB, free: 50.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00302/1.619, allocations: 1.466 MB / 0.5684 GB, free: 48.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.621, allocations: 244.3 kB / 0.5686 GB, free: 48.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/1.645, allocations: 7.65 MB / 0.5761 GB, free: 41.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004039/1.649, allocations: 2.888 MB / 0.5789 GB, free: 38.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00722/1.657, allocations: 1.769 MB / 0.5806 GB, free: 36.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003181/1.66, allocations: 1.554 MB / 0.5821 GB, free: 35.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.143e-06/1.66, allocations: 0 / 0.5821 GB, free: 35.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3936/2.053, allocations: 61.63 MB / 0.6423 GB, free: 87.56 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/2.054, allocations: 168.8 kB / 0.6425 GB, free: 87.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.257/6.311, allocations: 0 / 0.6425 GB, free: 87.37 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat does not exist to compare? outputFormat=mat