Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.309/2.309, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.472e-05, allocations: 6.812 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 50.4 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4835/0.6011, allocations: 83.2 MB / 425.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.6014, allocations: 70.22 kB / 425.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06527/0.6667, allocations: 14.63 MB / 440.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6668, allocations: 0 / 440.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.297e-05/0.6669, allocations: 27.98 kB / 440.6 MB, free: 14.26 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002084/0.669, allocations: 0.8991 MB / 441.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.669, allocations: 8.031 kB / 441.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002395/0.6693, allocations: 134.5 kB / 441.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.6695, allocations: 98.78 kB / 441.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.6708, allocations: 0.5182 MB / 442.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.6709, allocations: 60.06 kB / 442.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.671, allocations: 81.17 kB / 442.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.6728, allocations: 0.8048 MB / 443.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.6729, allocations: 11.84 kB / 443.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/0.673, allocations: 35.77 kB / 443.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.6731, allocations: 24 kB / 443.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.6743, allocations: 421.2 kB / 443.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005578/0.6799, allocations: 4.403 MB / 448.1 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008258/0.6808, allocations: 283.3 kB / 448.3 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.6812, allocations: 130.5 kB / 448.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.6814, allocations: 174.3 kB / 448.6 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.6815, allocations: 34.62 kB / 448.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.778e-06/0.6815, allocations: 0 / 448.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.004495/0.686, allocations: 1.586 MB / 450.2 MB, free: 5.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.6861, allocations: 59.92 kB / 450.3 MB, free: 5.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008525/0.6869, allocations: 467.5 kB / 450.8 MB, free: 5.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/0.687, allocations: 35.89 kB / 450.8 MB, free: 5.039 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.6874, allocations: 484.7 kB / 451.3 MB, free: 4.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.6877, allocations: 212.1 kB / 451.5 MB, free: 4.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.6877, allocations: 17.5 kB / 451.5 MB, free: 4.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.6879, allocations: 382.1 kB / 451.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.6884, allocations: 147.1 kB / 452 MB, free: 4.047 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.689, allocations: 428.4 kB / 452.4 MB, free: 3.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.6896, allocations: 229.1 kB / 452.7 MB, free: 3.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.6896, allocations: 4 kB / 452.7 MB, free: 3.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001774/0.6914, allocations: 0.6981 MB / 453.4 MB, free: 2.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.6915, allocations: 8 kB / 453.4 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.6915, allocations: 12 kB / 453.4 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.6918, allocations: 48.28 kB / 453.4 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.6929, allocations: 179.3 kB / 453.6 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.6947, allocations: 1.495 MB / 455.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006381/0.6953, allocations: 35.98 kB / 455.1 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/0.6954, allocations: 32 kB / 455.2 MB, free: 1.004 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002128/0.6956, allocations: 169.4 kB / 455.3 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.6958, allocations: 75.05 kB / 455.4 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.696, allocations: 79.08 kB / 455.5 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.696, allocations: 4 kB / 455.5 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.6961, allocations: 0 / 455.5 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6961, allocations: 3.984 kB / 455.5 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.6991, allocations: 1.39 MB / 456.9 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.6992, allocations: 4 kB / 456.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.7002, allocations: 115.9 kB / 457 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.7004, allocations: 20.86 kB / 457 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/0.7004, allocations: 16 kB / 457 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.7017, allocations: 1.269 MB / 458.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/0.7017, allocations: 7.938 kB / 458.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.7035, allocations: 0.8804 MB / 459.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.7038, allocations: 132.3 kB / 459.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.704, allocations: 19.98 kB / 459.3 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.7044, allocations: 19.92 kB / 459.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.7045, allocations: 43.91 kB / 459.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.7046, allocations: 20.09 kB / 459.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006667/0.7053, allocations: 355.1 kB / 459.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7053, allocations: 0 / 459.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001049/0.7063, allocations: 144 kB / 459.9 MB, free: 11.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002402/0.7087, allocations: 2.2 MB / 462.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.7102, allocations: 0.535 MB / 462.6 MB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7103, allocations: 192 / 462.6 MB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.7109, allocations: 283.4 kB / 462.9 MB, free: 8.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.7118, allocations: 95.17 kB / 463 MB, free: 8.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/0.7166, allocations: 1.678 MB / 464.7 MB, free: 6.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/0.7174, allocations: 0.989 MB / 465.7 MB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005389/0.718, allocations: 85.92 kB / 465.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006424/0.7186, allocations: 327.3 kB / 466.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7187, allocations: 0 / 466.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06225/0.7809, allocations: 11.45 MB / 477.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003996/0.7814, allocations: 183.7 kB / 477.7 MB, free: 9.914 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/3.964, allocations: 7.938 kB / 477.7 MB, free: 9.906 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat