Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Brake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Brake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.712e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4996/0.6108, allocations: 77.42 MB / 394.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.6111, allocations: 63.91 kB / 394.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02587/0.637, allocations: 5.572 MB / 400.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6371, allocations: 0 / 400.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.6371, allocations: 8 kB / 400.1 MB, free: 5.727 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001685/0.6388, allocations: 0.5908 MB / 400.7 MB, free: 5.109 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.6389, allocations: 11.97 kB / 400.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.639, allocations: 65.22 kB / 400.8 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.6391, allocations: 39.41 kB / 400.8 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.6396, allocations: 266.1 kB / 401.1 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.6396, allocations: 20.27 kB / 401.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.995e-05/0.6397, allocations: 31.59 kB / 401.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/0.6407, allocations: 338.2 kB / 401.4 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.6407, allocations: 7.984 kB / 401.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.6408, allocations: 11.25 kB / 401.5 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.6408, allocations: 12 kB / 401.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000953/0.6418, allocations: 336.6 kB / 401.8 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.6451, allocations: 1.11 MB / 402.9 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/0.6458, allocations: 270.6 kB / 403.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.6463, allocations: 184.8 kB / 403.3 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.722e-05/0.6464, allocations: 11.94 kB / 403.4 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.6464, allocations: 37.44 kB / 403.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 3.416e-06/0.6465, allocations: 0 / 403.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.004208/0.6507, allocations: 1.418 MB / 404.8 MB, free: 1.652 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.6508, allocations: 55.84 kB / 404.9 MB, free: 1.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.6511, allocations: 186.7 kB / 405.1 MB, free: 1.426 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.259e-05/0.6512, allocations: 40.08 kB / 405.1 MB, free: 1.391 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.6513, allocations: 150.3 kB / 405.2 MB, free: 1.258 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.6515, allocations: 152.3 kB / 405.4 MB, free: 1.129 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.6516, allocations: 14.86 kB / 405.4 MB, free: 1.125 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6518, allocations: 340.4 kB / 405.7 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/0.6523, allocations: 171.1 kB / 405.9 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.6529, allocations: 247.5 kB / 406.1 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.6533, allocations: 143.7 kB / 406.3 MB, free: 420 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.6534, allocations: 0 / 406.3 MB, free: 420 kB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002228/0.6556, allocations: 0.6321 MB / 406.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.6556, allocations: 11.44 kB / 406.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.6557, allocations: 4 kB / 406.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.6568, allocations: 371.1 kB / 407.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.6574, allocations: 71.53 kB / 407.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.6591, allocations: 1.315 MB / 408.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.6599, allocations: 97.58 kB / 408.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.958e-05/0.6601, allocations: 27.23 kB / 408.8 MB, free: 14.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.6603, allocations: 136.7 kB / 408.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6604, allocations: 31.62 kB / 409 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.6627, allocations: 0.6213 MB / 409.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.6628, allocations: 4 kB / 409.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.6628, allocations: 4 kB / 409.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.6629, allocations: 3.984 kB / 409.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004755/0.6676, allocations: 1.303 MB / 410.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6677, allocations: 0 / 410.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/0.6683, allocations: 59.91 kB / 411 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.6695, allocations: 349.6 kB / 411.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.6696, allocations: 18.53 kB / 411.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.6713, allocations: 1.271 MB / 412.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.6714, allocations: 0 / 412.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.6742, allocations: 0.8952 MB / 413.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.6746, allocations: 149.4 kB / 413.6 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.6748, allocations: 17.38 kB / 413.6 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/0.6754, allocations: 58.09 kB / 413.7 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/0.6757, allocations: 97.72 kB / 413.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/0.6758, allocations: 30.78 kB / 413.8 MB, free: 9.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002469/0.6761, allocations: 153.9 kB / 414 MB, free: 9.695 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6761, allocations: 0 / 414 MB, free: 9.695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007892/0.6769, allocations: 107.8 kB / 414.1 MB, free: 9.602 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003462/0.6804, allocations: 1.831 MB / 415.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.682, allocations: 0.4944 MB / 416.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6821, allocations: 0 / 416.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008831/0.683, allocations: 258.9 kB / 416.7 MB, free: 7.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.6836, allocations: 51.78 kB / 416.7 MB, free: 7.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.6878, allocations: 0.9274 MB / 417.6 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.6883, allocations: 0.7956 MB / 418.4 MB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.6886, allocations: 34.91 kB / 418.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.6889, allocations: 84.47 kB / 418.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6889, allocations: 4 kB / 418.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04756/0.7364, allocations: 9.997 MB / 428.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004087/0.7369, allocations: 179.7 kB / 428.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/3.592, allocations: 0 / 428.7 MB, free: 11.45 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake_res.mat does not exist to compare? outputFormat=mat