Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.789/1.789, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.243e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3018, allocations: 38.76 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4282, allocations: 66.51 MB / 330.4 MB, free: 7.109 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4285, allocations: 63.97 kB / 330.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01974/0.4482, allocations: 4.072 MB / 334.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4483, allocations: 0 / 334.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.04e-05/0.4484, allocations: 11.98 kB / 334.5 MB, free: 2.945 MB / 282.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.001256/0.4496, allocations: 486.5 kB / 335 MB, free: 2.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.4497, allocations: 8.031 kB / 335 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.4499, allocations: 62.53 kB / 335.1 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.45, allocations: 27.72 kB / 335.1 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.4505, allocations: 239.2 kB / 335.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.4505, allocations: 16.56 kB / 335.3 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.4506, allocations: 24 kB / 335.4 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/0.4515, allocations: 230.4 kB / 335.6 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.4515, allocations: 4 kB / 335.6 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.4516, allocations: 8 kB / 335.6 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4516, allocations: 4 kB / 335.6 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/0.4523, allocations: 151.9 kB / 335.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.4545, allocations: 0.8088 MB / 336.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.4557, allocations: 279.6 kB / 336.8 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.4563, allocations: 134.5 kB / 337 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.4563, allocations: 8 kB / 337 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.4564, allocations: 42.64 kB / 337 MB, free: 232 kB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 4.849e-06/0.4564, allocations: 0 / 337 MB, free: 232 kB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.005737/0.4622, allocations: 1.854 MB / 338.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.4623, allocations: 110.8 kB / 339 MB, free: 13.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.4627, allocations: 161.9 kB / 339.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.4628, allocations: 37.7 kB / 339.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.463, allocations: 132.8 kB / 339.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.4633, allocations: 169.6 kB / 339.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.4633, allocations: 4 kB / 339.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.4636, allocations: 346.5 kB / 339.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.464, allocations: 84.88 kB / 339.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.4645, allocations: 149.5 kB / 340 MB, free: 12.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.465, allocations: 117.1 kB / 340.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.465, allocations: 4 kB / 340.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001255/0.4663, allocations: 325.6 kB / 340.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.4663, allocations: 8 kB / 340.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4664, allocations: 3.938 kB / 340.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.4664, allocations: 4 kB / 340.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009305/0.4674, allocations: 95.89 kB / 340.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.4674, allocations: 0 / 340.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.4677, allocations: 8 kB / 340.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.4678, allocations: 19.94 kB / 340.6 MB, free: 12.28 MB / 298.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.0001968/0.468, allocations: 136.3 kB / 340.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.4682, allocations: 32.38 kB / 340.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.4684, allocations: 37.64 kB / 340.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.4684, allocations: 4 kB / 340.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.4685, allocations: 4 kB / 340.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.4685, allocations: 0 / 340.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.4716, allocations: 1.048 MB / 341.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.4716, allocations: 0 / 341.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.4723, allocations: 91.89 kB / 342 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.4724, allocations: 4 kB / 342 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.4724, allocations: 12 kB / 342 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/0.4724, allocations: 4 kB / 342 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/0.4725, allocations: 15.86 kB / 342 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.4737, allocations: 0.8294 MB / 342.8 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.4739, allocations: 112.7 kB / 342.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.4739, allocations: 12.06 kB / 342.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.4743, allocations: 8 kB / 343 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.4744, allocations: 31.97 kB / 343 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.4744, allocations: 16 kB / 343 MB, free: 9.672 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.4746, allocations: 136.2 kB / 343.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4746, allocations: 0 / 343.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006682/0.4753, allocations: 75.95 kB / 343.2 MB, free: 9.465 MB / 298.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.001942/0.4772, allocations: 2.155 MB / 345.4 MB, free: 7.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000707/0.478, allocations: 245.8 kB / 345.6 MB, free: 6.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.478, allocations: 0 / 345.6 MB, free: 6.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.4783, allocations: 131.8 kB / 345.7 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.4791, allocations: 73.31 kB / 345.8 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.4816, allocations: 0.8544 MB / 346.7 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.4821, allocations: 0.7724 MB / 347.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000221/0.4823, allocations: 38.95 kB / 347.5 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.4825, allocations: 87.42 kB / 347.6 MB, free: 4.926 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.4825, allocations: 0 / 347.6 MB, free: 4.926 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.5154, allocations: 5.319 MB / 352.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003175/0.5158, allocations: 145.1 kB / 353 MB, free: 15.44 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.126, allocations: 0 / 353 MB, free: 15.44 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat