Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.079e-05/4.124e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 48.69 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.5564, allocations: 75.67 MB / 397.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5566, allocations: 70.86 kB / 397.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01892/0.5756, allocations: 3.7 MB / 401.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5756, allocations: 0 / 401.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.5756, allocations: 0 / 401.3 MB, free: 10.19 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009936/0.5766, allocations: 454.2 kB / 401.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5767, allocations: 15.97 kB / 401.8 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/0.5768, allocations: 34.56 kB / 401.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.5769, allocations: 19.81 kB / 401.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.5777, allocations: 259.3 kB / 402.1 MB, free: 9.324 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.5778, allocations: 85.11 kB / 402.2 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.5778, allocations: 11.98 kB / 402.2 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.5783, allocations: 136.2 kB / 402.3 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.5783, allocations: 0 / 402.3 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.5783, allocations: 8 kB / 402.3 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.5783, allocations: 0 / 402.3 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.5786, allocations: 63.92 kB / 402.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.5802, allocations: 488.5 kB / 402.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.5805, allocations: 78.45 kB / 402.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.5806, allocations: 29.08 kB / 403 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.5806, allocations: 0 / 403 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.5806, allocations: 34.56 kB / 403 MB, free: 8.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.5807, allocations: 0 / 403 MB, free: 8.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003379/0.581, allocations: 93.48 kB / 403.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.5811, allocations: 106.8 kB / 403.2 MB, free: 8.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.5813, allocations: 142.5 kB / 403.3 MB, free: 7.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.5814, allocations: 25.7 kB / 403.3 MB, free: 7.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.5815, allocations: 124.1 kB / 403.5 MB, free: 7.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.5815, allocations: 15.7 kB / 403.5 MB, free: 7.754 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.5815, allocations: 4 kB / 403.5 MB, free: 7.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5817, allocations: 322.8 kB / 403.8 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.466e-05/0.5818, allocations: 28 kB / 403.8 MB, free: 7.398 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.5819, allocations: 50.58 kB / 403.9 MB, free: 7.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.582, allocations: 28.11 kB / 403.9 MB, free: 7.312 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5821, allocations: 0 / 403.9 MB, free: 7.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002952/0.5824, allocations: 109.5 kB / 404 MB, free: 7.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5824, allocations: 7.938 kB / 404 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.5824, allocations: 0 / 404 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.5824, allocations: 4 kB / 404 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.5829, allocations: 44 kB / 404.1 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5829, allocations: 0 / 404.1 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.5831, allocations: 23.83 kB / 404.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.5831, allocations: 0 / 404.1 MB, free: 7.121 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001308/0.5832, allocations: 116.9 kB / 404.2 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.5833, allocations: 15.86 kB / 404.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.5834, allocations: 13.52 kB / 404.2 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.5834, allocations: 4 kB / 404.2 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5834, allocations: 0 / 404.2 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5834, allocations: 0 / 404.2 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.5838, allocations: 225.5 kB / 404.5 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5838, allocations: 4.062 kB / 404.5 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.5842, allocations: 51.95 kB / 404.5 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.006e-06/0.5842, allocations: 4 kB / 404.5 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.5843, allocations: 3.953 kB / 404.5 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5843, allocations: 0 / 404.5 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5843, allocations: 3.984 kB / 404.5 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.5847, allocations: 219.4 kB / 404.7 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.5849, allocations: 97.02 kB / 404.8 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.5849, allocations: 8 kB / 404.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.5855, allocations: 51.97 kB / 404.9 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.5855, allocations: 4 kB / 404.9 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.5856, allocations: 3.984 kB / 404.9 MB, free: 6.223 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.5857, allocations: 129.4 kB / 405 MB, free: 6.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5857, allocations: 0 / 405 MB, free: 6.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.5861, allocations: 23.91 kB / 405.1 MB, free: 6.074 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0008295/0.5869, allocations: 0.7475 MB / 405.8 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.5872, allocations: 55.97 kB / 405.9 MB, free: 5.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.5872, allocations: 4 kB / 405.9 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.64e-05/0.5873, allocations: 27.98 kB / 405.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.5877, allocations: 19.89 kB / 405.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.5884, allocations: 185.2 kB / 406.1 MB, free: 4.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.5887, allocations: 0.7082 MB / 406.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.5889, allocations: 20.41 kB / 406.8 MB, free: 4.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.589, allocations: 35.42 kB / 406.8 MB, free: 4.188 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.589, allocations: 0 / 406.8 MB, free: 4.188 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.618, allocations: 2.725 MB / 409.6 MB, free: 1.543 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003337/0.6184, allocations: 139.9 kB / 409.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.172, allocations: 3.938 kB / 409.7 MB, free: 1.309 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat