Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.581e-05/4.593e-05, allocations: 7.984 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4258, allocations: 54.85 MB / 359.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.586, allocations: 82.48 MB / 442.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.5863, allocations: 60.75 kB / 442.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01799/0.6043, allocations: 4.111 MB / 446.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6044, allocations: 0 / 446.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.6044, allocations: 8 kB / 446.5 MB, free: 10.3 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008433/0.6053, allocations: 472.3 kB / 447 MB, free: 9.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.6053, allocations: 8.031 kB / 447 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.203e-05/0.6054, allocations: 66.47 kB / 447 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.541e-05/0.6055, allocations: 23.72 kB / 447.1 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.6058, allocations: 219.3 kB / 447.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.6059, allocations: 16.44 kB / 447.3 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.6059, allocations: 27.94 kB / 447.3 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.6065, allocations: 210.7 kB / 447.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.6065, allocations: 7.906 kB / 447.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.6065, allocations: 12 kB / 447.5 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.6066, allocations: 7.953 kB / 447.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.6069, allocations: 111.9 kB / 447.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.6089, allocations: 1.034 MB / 448.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.6093, allocations: 158.6 kB / 448.9 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.6094, allocations: 43.47 kB / 448.9 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.6095, allocations: 11.92 kB / 448.9 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.6095, allocations: 42.69 kB / 448.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.216e-06/0.6095, allocations: 0 / 448.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004322/0.61, allocations: 117.4 kB / 449.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.6101, allocations: 140.4 kB / 449.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.6103, allocations: 159.5 kB / 449.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.6103, allocations: 33.73 kB / 449.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.6105, allocations: 155.8 kB / 449.5 MB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/0.6106, allocations: 63.09 kB / 449.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.6106, allocations: 4 kB / 449.6 MB, free: 6.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6107, allocations: 330.8 kB / 449.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.6109, allocations: 44 kB / 450 MB, free: 6.504 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.6111, allocations: 142.6 kB / 450.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.6113, allocations: 71.91 kB / 450.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6113, allocations: 0 / 450.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005283/0.6119, allocations: 229.1 kB / 450.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6119, allocations: 8 kB / 450.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6119, allocations: 4 kB / 450.4 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.612, allocations: 5.188 kB / 450.4 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.6124, allocations: 63.91 kB / 450.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.6124, allocations: 17.73 kB / 450.5 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.6126, allocations: 23.75 kB / 450.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.6127, allocations: 12 kB / 450.5 MB, free: 5.883 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001388/0.6128, allocations: 128.8 kB / 450.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.6129, allocations: 15.81 kB / 450.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.6132, allocations: 74.61 kB / 450.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6132, allocations: 1.031 kB / 450.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.6132, allocations: 8 kB / 450.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.6132, allocations: 0 / 450.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.6139, allocations: 261.5 kB / 451 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6139, allocations: 0 / 451 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.6144, allocations: 51.91 kB / 451.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.6144, allocations: 0 / 451.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.6144, allocations: 4 kB / 451.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6145, allocations: 0 / 451.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.6145, allocations: 4.25 kB / 451.1 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.615, allocations: 0.5114 MB / 451.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.6151, allocations: 101.9 kB / 451.7 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.6152, allocations: 7.938 kB / 451.7 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.6155, allocations: 4 kB / 451.7 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.6155, allocations: 19.94 kB / 451.7 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.6156, allocations: 4 kB / 451.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001481/0.6157, allocations: 129.2 kB / 451.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6157, allocations: 0 / 451.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005985/0.6163, allocations: 64.33 kB / 451.9 MB, free: 4.387 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0009794/0.6173, allocations: 1.268 MB / 453.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.6177, allocations: 133.9 kB / 453.3 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6177, allocations: 0 / 453.3 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.6178, allocations: 40.88 kB / 453.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.6185, allocations: 36.16 kB / 453.4 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.6207, allocations: 0.799 MB / 454.2 MB, free: 2.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.6211, allocations: 0.7482 MB / 454.9 MB, free: 1.258 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.6213, allocations: 22.06 kB / 455 MB, free: 1.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.6214, allocations: 63.42 kB / 455 MB, free: 1.176 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6214, allocations: 0 / 455 MB, free: 1.176 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.6476, allocations: 3.57 MB / 458.6 MB, free: 13.68 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.6478, allocations: 136.6 kB / 458.7 MB, free: 13.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.21, allocations: 0 / 458.7 MB, free: 13.46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking_res.mat does not exist to compare? outputFormat=mat