Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.198/2.198, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.979e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3221, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.4553, allocations: 71.14 MB / 365.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4556, allocations: 59.97 kB / 365.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01834/0.474, allocations: 4.017 MB / 369.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.474, allocations: 4 kB / 369.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.4741, allocations: 12 kB / 369.5 MB, free: 6.598 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009461/0.475, allocations: 486.5 kB / 369.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.4751, allocations: 8.031 kB / 369.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.4752, allocations: 36.02 kB / 370 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.4756, allocations: 231.4 kB / 370.2 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.4756, allocations: 12 kB / 370.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.4757, allocations: 15.98 kB / 370.2 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004449/0.4762, allocations: 145 kB / 370.4 MB, free: 5.598 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.4767, allocations: 202.2 kB / 370.6 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.4768, allocations: 7.906 kB / 370.6 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.4768, allocations: 3.953 kB / 370.6 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.4768, allocations: 4 kB / 370.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.4784, allocations: 0.7439 MB / 371.3 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/0.4792, allocations: 259.6 kB / 371.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.4796, allocations: 118.6 kB / 371.7 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.4796, allocations: 8.125 kB / 371.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4797, allocations: 42.52 kB / 371.7 MB, free: 4.113 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.188e-06/0.4797, allocations: 0 / 371.7 MB, free: 4.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.003583/0.4833, allocations: 1.732 MB / 373.5 MB, free: 2.125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.4834, allocations: 114.8 kB / 373.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.4837, allocations: 147.1 kB / 373.7 MB, free: 1.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.4837, allocations: 26.36 kB / 373.8 MB, free: 1.809 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.4838, allocations: 144.9 kB / 373.9 MB, free: 1.664 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.484, allocations: 149.7 kB / 374 MB, free: 1.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.4841, allocations: 4 kB / 374.1 MB, free: 1.512 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4843, allocations: 334.8 kB / 374.4 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.4845, allocations: 76.88 kB / 374.5 MB, free: 1.102 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.4848, allocations: 142.9 kB / 374.6 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.4851, allocations: 111.9 kB / 374.7 MB, free: 0.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4851, allocations: 0 / 374.7 MB, free: 0.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007843/0.4859, allocations: 297 kB / 375 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.486, allocations: 8.094 kB / 375 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.486, allocations: 4 kB / 375 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.486, allocations: 4 kB / 375 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/0.4867, allocations: 87.91 kB / 375.1 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.4868, allocations: 7.984 kB / 375.1 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.487, allocations: 8 kB / 375.1 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.4871, allocations: 8 kB / 375.1 MB, free: 420 kB / 314.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.0001626/0.4872, allocations: 128.5 kB / 375.2 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007156/0.488, allocations: 241.3 kB / 375.5 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.4881, allocations: 31.72 kB / 375.5 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.4882, allocations: 33.95 kB / 375.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4883, allocations: 4 kB / 375.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4883, allocations: 0 / 375.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4883, allocations: 4 kB / 375.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.4905, allocations: 0.9689 MB / 376.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4906, allocations: 0 / 376.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.4914, allocations: 91.89 kB / 376.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/0.4914, allocations: 4 kB / 376.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.4915, allocations: 4 kB / 376.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.4915, allocations: 4 kB / 376.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.4915, allocations: 7.938 kB / 376.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.4928, allocations: 0.81 MB / 377.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.493, allocations: 100.8 kB / 377.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.493, allocations: 4 kB / 377.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.4935, allocations: 0 / 377.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.4936, allocations: 36.02 kB / 377.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.4936, allocations: 19.95 kB / 377.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.4938, allocations: 115.2 kB / 377.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4938, allocations: 3.938 kB / 377.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000716/0.4945, allocations: 56 kB / 377.8 MB, free: 13.53 MB / 330.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.001841/0.4963, allocations: 2.101 MB / 379.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000673/0.4971, allocations: 231.4 kB / 380.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4971, allocations: 0 / 380.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.4975, allocations: 129.2 kB / 380.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.4983, allocations: 48.98 kB / 380.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.5009, allocations: 0.8297 MB / 381.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.5014, allocations: 0.7722 MB / 381.9 MB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002579/0.5017, allocations: 43.25 kB / 381.9 MB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.5019, allocations: 87.41 kB / 382 MB, free: 9.117 MB / 330.7 MB Notification: Performance of SimCode: time 1.021e-06/0.5019, allocations: 0 / 382 MB, free: 9.117 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04438/0.5463, allocations: 4.777 MB / 386.8 MB, free: 4.352 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.5467, allocations: 143.4 kB / 386.9 MB, free: 4.152 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.242, allocations: 0 / 386.9 MB, free: 4.152 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat