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.775/1.775, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.056e-05, allocations: 4 kB / 225.1 MB, free: 2.203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2563, allocations: 38.76 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.4158, allocations: 66.5 MB / 330.3 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4161, allocations: 63.97 kB / 330.4 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01708/0.4332, allocations: 4.08 MB / 334.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4333, allocations: 0 / 334.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.4333, allocations: 4 kB / 334.5 MB, free: 3.047 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.0008412/0.4342, allocations: 482.5 kB / 335 MB, free: 2.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.4342, allocations: 12.03 kB / 335 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.116e-05/0.4343, allocations: 62.53 kB / 335 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.4344, allocations: 27.72 kB / 335.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.4348, allocations: 239.2 kB / 335.3 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.4348, allocations: 20.56 kB / 335.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.4349, allocations: 27.94 kB / 335.3 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.4355, allocations: 227.5 kB / 335.6 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.4355, allocations: 4 kB / 335.6 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.4356, allocations: 12 kB / 335.6 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.4356, allocations: 4 kB / 335.6 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.436, allocations: 155.9 kB / 335.7 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.4376, allocations: 0.8049 MB / 336.5 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/0.4384, allocations: 287.6 kB / 336.8 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.4387, allocations: 126.7 kB / 337 MB, free: 388 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.4388, allocations: 8 kB / 337 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.4388, allocations: 42.52 kB / 337 MB, free: 328 kB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 3.065e-06/0.4389, allocations: 0 / 337 MB, free: 328 kB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.003804/0.4427, allocations: 1.86 MB / 338.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.4428, allocations: 110.8 kB / 339 MB, free: 14.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.4431, allocations: 161.9 kB / 339.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.4431, allocations: 33.7 kB / 339.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.4433, allocations: 140.8 kB / 339.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.4435, allocations: 161.6 kB / 339.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.4435, allocations: 8 kB / 339.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4437, allocations: 346.7 kB / 339.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.444, allocations: 84.88 kB / 339.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.4443, allocations: 146.4 kB / 340 MB, free: 12.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.4446, allocations: 125 kB / 340.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4446, allocations: 0 / 340.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008414/0.4455, allocations: 330.6 kB / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4455, allocations: 4 kB / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4455, allocations: 0 / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4456, allocations: 4 kB / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.4463, allocations: 103.9 kB / 340.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.4463, allocations: 11.94 kB / 340.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.4465, allocations: 8 kB / 340.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.4466, allocations: 19.94 kB / 340.6 MB, free: 12.36 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.0001304/0.4467, allocations: 124.9 kB / 340.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.4468, allocations: 27.72 kB / 340.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.447, allocations: 37.64 kB / 340.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.447, allocations: 8 kB / 340.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.447, allocations: 4 kB / 340.8 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.447, allocations: 7.922 kB / 340.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.4492, allocations: 1.047 MB / 341.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.4492, allocations: 288 / 341.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.45, allocations: 87.91 kB / 342 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/0.45, allocations: 7.938 kB / 342 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.4501, allocations: 19.98 kB / 342 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.4501, allocations: 4 kB / 342 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.4501, allocations: 7.938 kB / 342 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.4514, allocations: 0.8293 MB / 342.8 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.4515, allocations: 112.7 kB / 342.9 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.4516, allocations: 8.062 kB / 342.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.4519, allocations: 12 kB / 343 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.452, allocations: 31.91 kB / 343 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.4521, allocations: 19.98 kB / 343 MB, free: 9.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.4523, allocations: 132.3 kB / 343.1 MB, free: 9.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4523, allocations: 4 kB / 343.1 MB, free: 9.609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006253/0.4529, allocations: 75.95 kB / 343.2 MB, free: 9.535 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.001939/0.4548, allocations: 2.151 MB / 345.4 MB, free: 7.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007397/0.4556, allocations: 259.3 kB / 345.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4556, allocations: 0 / 345.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.456, allocations: 135.9 kB / 345.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.4567, allocations: 60.06 kB / 345.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.4591, allocations: 0.8622 MB / 346.7 MB, free: 5.914 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.4596, allocations: 0.7763 MB / 347.4 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.4598, allocations: 42.89 kB / 347.5 MB, free: 5.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.46, allocations: 91.41 kB / 347.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4601, allocations: 0 / 347.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.4883, allocations: 5.339 MB / 352.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.4886, allocations: 146.4 kB / 353.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.138, allocations: 3.938 kB / 353.1 MB, free: 15.47 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