Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.294/2.294, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.897e-05, allocations: 8 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1401, allocations: 50.4 MB / 342.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5317/0.6718, allocations: 77.55 MB / 420.2 MB, free: 316 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.6722, allocations: 68.08 kB / 420.2 MB, free: 276 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01875/0.691, allocations: 4.304 MB / 424.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.691, allocations: 0 / 424.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.691, allocations: 4 kB / 424.6 MB, free: 12.65 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008858/0.6919, allocations: 480.6 kB / 425 MB, free: 12.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.692, allocations: 12.03 kB / 425 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.461e-05/0.6921, allocations: 55.3 kB / 425.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.6922, allocations: 31.62 kB / 425.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.6925, allocations: 230.5 kB / 425.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.6926, allocations: 19.62 kB / 425.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/0.6927, allocations: 29.64 kB / 425.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.6932, allocations: 222.9 kB / 425.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.6933, allocations: 15.89 kB / 425.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.6933, allocations: 7.5 kB / 425.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.6933, allocations: 8 kB / 425.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.6938, allocations: 154.7 kB / 425.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.6954, allocations: 0.795 MB / 426.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007286/0.6961, allocations: 283.4 kB / 426.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.6965, allocations: 125.8 kB / 427 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.6966, allocations: 7.094 kB / 427 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.6966, allocations: 49.48 kB / 427 MB, free: 10.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.757e-06/0.6966, allocations: 0 / 427 MB, free: 10.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.003824/0.7005, allocations: 1.849 MB / 428.9 MB, free: 8.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.7006, allocations: 110.9 kB / 429 MB, free: 8.324 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.7008, allocations: 169.4 kB / 429.2 MB, free: 8.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.7009, allocations: 36.89 kB / 429.2 MB, free: 8.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.701, allocations: 139.6 kB / 429.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.7012, allocations: 164.5 kB / 429.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.7012, allocations: 5.688 kB / 429.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.7014, allocations: 338.8 kB / 429.8 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.7017, allocations: 83.44 kB / 429.9 MB, free: 7.496 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.702, allocations: 156.5 kB / 430.1 MB, free: 7.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.7023, allocations: 115.3 kB / 430.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.7023, allocations: 3.984 kB / 430.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007956/0.7031, allocations: 324.2 kB / 430.5 MB, free: 7.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.7032, allocations: 4 kB / 430.5 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.7032, allocations: 8.094 kB / 430.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.7032, allocations: 4 kB / 430.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.7039, allocations: 91.45 kB / 430.6 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.7039, allocations: 4 kB / 430.6 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.7042, allocations: 11 kB / 430.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.7042, allocations: 15.06 kB / 430.6 MB, free: 6.918 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001418/0.7044, allocations: 131.5 kB / 430.8 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.7045, allocations: 31.58 kB / 430.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.7046, allocations: 42.39 kB / 430.8 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.7046, allocations: 8 kB / 430.8 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.7047, allocations: 0 / 430.8 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.7047, allocations: 3.984 kB / 430.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.7068, allocations: 1.054 MB / 431.9 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.7069, allocations: 8 kB / 431.9 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007517/0.7076, allocations: 87.89 kB / 432 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.7077, allocations: 4 kB / 432 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.7077, allocations: 15.45 kB / 432 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.7077, allocations: 7.938 kB / 432 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.7078, allocations: 4 kB / 432 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.709, allocations: 0.8353 MB / 432.9 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.7091, allocations: 100.8 kB / 433 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.7092, allocations: 14.88 kB / 433 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.7096, allocations: 10.91 kB / 433 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.7097, allocations: 39.22 kB / 433 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.7097, allocations: 15.81 kB / 433 MB, free: 4.648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.7099, allocations: 135.1 kB / 433.2 MB, free: 4.531 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7099, allocations: 0 / 433.2 MB, free: 4.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006417/0.7105, allocations: 73.44 kB / 433.2 MB, free: 4.473 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.001975/0.7125, allocations: 2.138 MB / 435.4 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006816/0.7132, allocations: 245.5 kB / 435.6 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7133, allocations: 3.938 kB / 435.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.7136, allocations: 132.5 kB / 435.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.7144, allocations: 51.84 kB / 435.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.7167, allocations: 0.8595 MB / 436.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.7172, allocations: 0.78 MB / 437.4 MB, free: 396 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.7175, allocations: 38.95 kB / 437.5 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.7177, allocations: 88.41 kB / 437.6 MB, free: 316 kB / 346.7 MB Notification: Performance of SimCode: time 1.253e-06/0.7177, allocations: 0 / 437.6 MB, free: 316 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.7476, allocations: 5.328 MB / 442.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/0.748, allocations: 150.1 kB / 443 MB, free: 10.85 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/3.438, allocations: 4 kB / 443 MB, free: 10.85 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat