Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.713/2.713, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.665e-05/2.665e-05, allocations: 4 kB / 299.6 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4239, allocations: 54.86 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.596, allocations: 81.68 MB / 436.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5963, allocations: 59.97 kB / 436.2 MB, free: 456 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02396/0.6203, allocations: 4.463 MB / 440.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6204, allocations: 4 kB / 440.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.6204, allocations: 4 kB / 440.6 MB, free: 11.96 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001039/0.6214, allocations: 470.3 kB / 441.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6215, allocations: 8.031 kB / 441.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/0.6216, allocations: 31.67 kB / 441.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.6221, allocations: 230.7 kB / 441.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.6221, allocations: 8 kB / 441.4 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.6222, allocations: 15.94 kB / 441.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000439/0.6226, allocations: 116.8 kB / 441.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.6232, allocations: 185.8 kB / 441.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.6232, allocations: 11.91 kB / 441.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.6233, allocations: 3.938 kB / 441.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.6233, allocations: 11.95 kB / 441.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.6255, allocations: 0.9401 MB / 442.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.626, allocations: 208.1 kB / 442.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.6262, allocations: 67.44 kB / 442.9 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.6262, allocations: 4 kB / 442.9 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.6263, allocations: 42.48 kB / 443 MB, free: 9.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.437e-06/0.6263, allocations: 0 / 443 MB, free: 9.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001991/0.6283, allocations: 0.9127 MB / 443.9 MB, free: 8.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/0.6284, allocations: 136.5 kB / 444 MB, free: 8.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.6287, allocations: 153.6 kB / 444.2 MB, free: 8.031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.6287, allocations: 29.7 kB / 444.2 MB, free: 7.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.6289, allocations: 152.2 kB / 444.3 MB, free: 7.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.6291, allocations: 98.55 kB / 444.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.6291, allocations: 0 / 444.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.6293, allocations: 334.8 kB / 444.8 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.6295, allocations: 56.73 kB / 444.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.6298, allocations: 167.7 kB / 445 MB, free: 7.137 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.6301, allocations: 79.89 kB / 445.1 MB, free: 7.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.6302, allocations: 4 kB / 445.1 MB, free: 7.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007838/0.631, allocations: 261.5 kB / 445.3 MB, free: 6.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.631, allocations: 6.5 kB / 445.3 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.631, allocations: 8 kB / 445.3 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/0.6311, allocations: 11.95 kB / 445.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/0.6317, allocations: 83.89 kB / 445.4 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.6318, allocations: 12.02 kB / 445.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.6321, allocations: 8.016 kB / 445.4 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.6321, allocations: 24.16 kB / 445.5 MB, free: 6.645 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 (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 prepare postOptimizeDAE: time 0.0001329/0.6323, allocations: 112.9 kB / 445.6 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005811/0.6328, allocations: 173.4 kB / 445.7 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.633, allocations: 35.61 kB / 445.8 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.6333, allocations: 91.52 kB / 445.9 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.6334, allocations: 4 kB / 445.9 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.6334, allocations: 96 / 445.9 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.6334, allocations: 11.92 kB / 445.9 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.6352, allocations: 0.7171 MB / 446.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.6352, allocations: 4 kB / 446.6 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.636, allocations: 71.91 kB / 446.7 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.636, allocations: 4 kB / 446.7 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.6361, allocations: 7.984 kB / 446.7 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.474e-05/0.6361, allocations: 4 kB / 446.7 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6361, allocations: 4.188 kB / 446.7 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.6372, allocations: 0.7054 MB / 447.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.6373, allocations: 96.92 kB / 447.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.6374, allocations: 4 kB / 447.5 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006977/0.6381, allocations: 11.94 kB / 447.5 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.6382, allocations: 19.92 kB / 447.5 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.6382, allocations: 12 kB / 447.5 MB, free: 4.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.6384, allocations: 128.3 kB / 447.7 MB, free: 4.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6384, allocations: 4 kB / 447.7 MB, free: 4.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001085/0.6395, allocations: 44 kB / 447.7 MB, free: 4.188 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.001626/0.6411, allocations: 1.865 MB / 449.6 MB, free: 2.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005652/0.6417, allocations: 164.4 kB / 449.7 MB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6418, allocations: 0 / 449.7 MB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.642, allocations: 88.02 kB / 449.8 MB, free: 1.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008776/0.6429, allocations: 36.67 kB / 449.9 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.6459, allocations: 0.8844 MB / 450.8 MB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.6464, allocations: 0.7598 MB / 451.5 MB, free: 228 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.6467, allocations: 26.06 kB / 451.5 MB, free: 204 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.6469, allocations: 71.42 kB / 451.6 MB, free: 132 kB / 378.7 MB Notification: Performance of SimCode: time 1.263e-06/0.647, allocations: 0 / 451.6 MB, free: 132 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04994/0.6969, allocations: 3.849 MB / 455.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003623/0.6974, allocations: 138 kB / 455.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.853/3.551, allocations: 0 / 455.6 MB, free: 12.11 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat