Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.146/2.146, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.9e-05/3.919e-05, allocations: 4 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.146, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4794/0.6255, allocations: 77.54 MB / 420.7 MB, free: 308 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.6258, allocations: 65.59 kB / 420.8 MB, free: 272 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.644, allocations: 4.293 MB / 425.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6441, allocations: 3.938 kB / 425.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.6441, allocations: 7.984 kB / 425.1 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.00087/0.645, allocations: 487.2 kB / 425.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.645, allocations: 12.03 kB / 425.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.079e-05/0.6451, allocations: 49.98 kB / 425.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.6452, allocations: 35.56 kB / 425.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.6456, allocations: 230.8 kB / 425.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.6456, allocations: 19.81 kB / 425.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.6457, allocations: 30.89 kB / 425.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.6463, allocations: 224.1 kB / 426.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.6463, allocations: 11.91 kB / 426.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.6463, allocations: 7.062 kB / 426.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.6464, allocations: 11.98 kB / 426.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.6468, allocations: 148.9 kB / 426.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.6483, allocations: 0.7992 MB / 427.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/0.6491, allocations: 283.4 kB / 427.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.6495, allocations: 124.6 kB / 427.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.6495, allocations: 4 kB / 427.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.6496, allocations: 53.44 kB / 427.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 5.54e-06/0.6496, allocations: 3.984 kB / 427.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.003725/0.6533, allocations: 1.851 MB / 429.4 MB, free: 8.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.6534, allocations: 110.8 kB / 429.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.6537, allocations: 159.5 kB / 429.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.6537, allocations: 40.08 kB / 429.7 MB, free: 8.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.6538, allocations: 140.4 kB / 429.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.654, allocations: 161.8 kB / 430 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.6541, allocations: 6.625 kB / 430 MB, free: 7.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6543, allocations: 341.3 kB / 430.4 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.6545, allocations: 84.25 kB / 430.4 MB, free: 7.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.6548, allocations: 152.1 kB / 430.6 MB, free: 7.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.6551, allocations: 121.9 kB / 430.7 MB, free: 7.285 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6551, allocations: 0 / 430.7 MB, free: 7.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007537/0.6559, allocations: 329.1 kB / 431 MB, free: 7.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6559, allocations: 4 kB / 431 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.656, allocations: 8.094 kB / 431 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.656, allocations: 4 kB / 431 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.6567, allocations: 86.91 kB / 431.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.6567, allocations: 4 kB / 431.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.6569, allocations: 12.62 kB / 431.1 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.6569, allocations: 15.31 kB / 431.2 MB, free: 6.914 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.0001291/0.6571, allocations: 128.8 kB / 431.3 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.6572, allocations: 31.58 kB / 431.3 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.6573, allocations: 39.16 kB / 431.4 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6573, allocations: 8 kB / 431.4 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6574, allocations: 0 / 431.4 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.6574, allocations: 3.984 kB / 431.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.6595, allocations: 1.052 MB / 432.4 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.6595, allocations: 4 kB / 432.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007464/0.6603, allocations: 91.7 kB / 432.5 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.6603, allocations: 4 kB / 432.5 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.6603, allocations: 14.77 kB / 432.5 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.148e-06/0.6604, allocations: 4.094 kB / 432.5 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.6604, allocations: 11.88 kB / 432.5 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.6616, allocations: 0.836 MB / 433.4 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.6617, allocations: 96.83 kB / 433.5 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.6618, allocations: 15.88 kB / 433.5 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.6621, allocations: 10.81 kB / 433.5 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.6622, allocations: 31.66 kB / 433.5 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.6623, allocations: 14.94 kB / 433.5 MB, free: 4.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.6624, allocations: 144.9 kB / 433.7 MB, free: 4.531 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.62e-07/0.6625, allocations: 0 / 433.7 MB, free: 4.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006268/0.6631, allocations: 70.69 kB / 433.8 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.001699/0.6648, allocations: 2.14 MB / 435.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006439/0.6655, allocations: 243.3 kB / 436.1 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/0.6655, allocations: 0 / 436.1 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.6658, allocations: 137.9 kB / 436.3 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.0008107/0.6666, allocations: 55.09 kB / 436.3 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.669, allocations: 0.862 MB / 437.2 MB, free: 1.191 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.6695, allocations: 0.78 MB / 438 MB, free: 396 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.6697, allocations: 38.95 kB / 438 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.6699, allocations: 92.09 kB / 438.1 MB, free: 316 kB / 346.7 MB Notification: Performance of SimCode: time 2.084e-06/0.67, allocations: 0 / 438.1 MB, free: 316 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.7015, allocations: 5.317 MB / 443.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.7018, allocations: 146.9 kB / 443.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/3.466, allocations: 4 kB / 443.6 MB, free: 10.85 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat