Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.44/2.44, allocations: 225.8 MB / 239.3 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.891e-05, allocations: 4 kB / 292.7 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 50.41 MB / 343.1 MB, free: 9.008 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.514/0.636, allocations: 78.14 MB / 421.3 MB, free: 8.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.6363, allocations: 68.31 kB / 421.4 MB, free: 8.371 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.6535, allocations: 3.932 MB / 425.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6535, allocations: 0 / 425.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.6536, allocations: 7.719 kB / 425.3 MB, free: 7.781 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008752/0.6545, allocations: 484.7 kB / 425.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6545, allocations: 7.625 kB / 425.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.153e-05/0.6546, allocations: 52.31 kB / 425.8 MB, free: 7.336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.6547, allocations: 25.39 kB / 425.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.655, allocations: 231 kB / 426.1 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.6551, allocations: 19.62 kB / 426.1 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.6551, allocations: 15.34 kB / 426.1 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.6556, allocations: 204.5 kB / 426.3 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.6557, allocations: 7.875 kB / 426.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.6557, allocations: 3.375 kB / 426.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.6557, allocations: 3.812 kB / 426.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.6561, allocations: 127.5 kB / 426.5 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.6579, allocations: 0.808 MB / 427.3 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.6584, allocations: 178 kB / 427.4 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.6587, allocations: 94.12 kB / 427.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.6588, allocations: 7.516 kB / 427.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.6588, allocations: 38.41 kB / 427.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.487e-06/0.6588, allocations: 3.828 kB / 427.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001749/0.6606, allocations: 0.7596 MB / 428.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.6607, allocations: 80.95 kB / 428.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.6609, allocations: 160.2 kB / 428.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.661, allocations: 32.48 kB / 428.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.6611, allocations: 136 kB / 428.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.6611, allocations: 99.61 kB / 428.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.6612, allocations: 3.5 kB / 428.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.6613, allocations: 335 kB / 429.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.6615, allocations: 50.78 kB / 429.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.6616, allocations: 100.2 kB / 429.3 MB, free: 5.211 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.6619, allocations: 65.69 kB / 429.4 MB, free: 5.211 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6619, allocations: 0 / 429.4 MB, free: 5.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000551/0.6624, allocations: 215.3 kB / 429.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6625, allocations: 7.688 kB / 429.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.6625, allocations: 4.094 kB / 429.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.6625, allocations: 3.906 kB / 429.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.6631, allocations: 64.47 kB / 429.7 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.6631, allocations: 2.688 kB / 429.7 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.6633, allocations: 15.41 kB / 429.7 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.6634, allocations: 19.48 kB / 429.7 MB, free: 5.141 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001011/0.6635, allocations: 123.4 kB / 429.8 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.6636, allocations: 23.34 kB / 429.8 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.38e-05/0.6637, allocations: 26.61 kB / 429.9 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6637, allocations: 6.594 kB / 429.9 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6637, allocations: 0 / 429.9 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.6637, allocations: 0 / 429.9 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.6649, allocations: 0.5779 MB / 430.5 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.6649, allocations: 4 kB / 430.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.6655, allocations: 63.39 kB / 430.5 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.6656, allocations: 3.844 kB / 430.5 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.6656, allocations: 7.281 kB / 430.5 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.6656, allocations: 3.953 kB / 430.5 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6656, allocations: 4.219 kB / 430.5 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.6664, allocations: 0.5022 MB / 431 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.6665, allocations: 92.42 kB / 431.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.6666, allocations: 6.906 kB / 431.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.6669, allocations: 16.92 kB / 431.2 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.667, allocations: 19.2 kB / 431.2 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.667, allocations: 7.672 kB / 431.2 MB, free: 4.211 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003168/0.6673, allocations: 136.5 kB / 431.3 MB, free: 20.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6674, allocations: 0 / 431.3 MB, free: 20.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005314/0.6679, allocations: 52.47 kB / 431.4 MB, free: 20.13 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001224/0.6691, allocations: 1.317 MB / 432.7 MB, free: 19.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.6697, allocations: 150.8 kB / 432.8 MB, free: 19.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6697, allocations: 0 / 432.8 MB, free: 19.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.6699, allocations: 89.8 kB / 432.9 MB, free: 19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.6705, allocations: 34.12 kB / 432.9 MB, free: 19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.6724, allocations: 0.5863 MB / 433.5 MB, free: 18.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.6729, allocations: 0.758 MB / 434.3 MB, free: 17.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.6731, allocations: 27.36 kB / 434.3 MB, free: 17.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.6732, allocations: 66.89 kB / 434.4 MB, free: 17.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6733, allocations: 3.938 kB / 434.4 MB, free: 17.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.7012, allocations: 3.865 MB / 438.3 MB, free: 16.05 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.7015, allocations: 162.2 kB / 438.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/3.422, allocations: 0 / 438.4 MB, free: 15.82 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat