Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.419/2.419, allocations: 270 MB / 283.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.821e-05/4.832e-05, allocations: 4 kB / 348.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4371, allocations: 61.87 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.6174, allocations: 88.47 MB / 498.8 MB, free: 2.125 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.6177, allocations: 55.97 kB / 498.9 MB, free: 2.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02304/0.6408, allocations: 4.566 MB / 0.4916 GB, free: 13.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6408, allocations: 4 kB / 0.4916 GB, free: 13.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.6409, allocations: 0 / 0.4916 GB, free: 13.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008442/0.6417, allocations: 442 kB / 0.4921 GB, free: 13.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.6418, allocations: 12.03 kB / 0.4921 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.6419, allocations: 38.55 kB / 0.4921 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.945e-05/0.6419, allocations: 15.81 kB / 0.4921 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.6423, allocations: 210.6 kB / 0.4923 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.6423, allocations: 19.89 kB / 0.4923 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.6424, allocations: 12 kB / 0.4924 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.6427, allocations: 129.7 kB / 0.4925 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6428, allocations: 4 kB / 0.4925 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.6428, allocations: 7.984 kB / 0.4925 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.6428, allocations: 0 / 0.4925 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.643, allocations: 52 kB / 0.4925 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.6443, allocations: 472.4 kB / 0.493 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.6451, allocations: 162.5 kB / 0.4931 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.461e-05/0.6452, allocations: 28.86 kB / 0.4932 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.6453, allocations: 12.08 kB / 0.4932 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.6453, allocations: 38.59 kB / 0.4932 GB, free: 11.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.6453, allocations: 0 / 0.4932 GB, free: 11.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003347/0.6457, allocations: 85.55 kB / 0.4933 GB, free: 11.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.6458, allocations: 102.8 kB / 0.4934 GB, free: 11.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.646, allocations: 140 kB / 0.4935 GB, free: 11.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.646, allocations: 29.7 kB / 0.4936 GB, free: 11.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.6461, allocations: 112.2 kB / 0.4937 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.6462, allocations: 27.7 kB / 0.4937 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.6462, allocations: 0 / 0.4937 GB, free: 11.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6464, allocations: 322.8 kB / 0.494 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.6465, allocations: 23.94 kB / 0.494 GB, free: 10.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.6466, allocations: 42.58 kB / 0.4941 GB, free: 10.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.357e-05/0.6467, allocations: 23.98 kB / 0.4941 GB, free: 10.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.6467, allocations: 0 / 0.4941 GB, free: 10.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002625/0.647, allocations: 97.61 kB / 0.4942 GB, free: 10.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.6471, allocations: 96.95 kB / 0.4943 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6471, allocations: 0 / 0.4943 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6471, allocations: 0 / 0.4943 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.6475, allocations: 43.95 kB / 0.4943 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.6475, allocations: 8.25 kB / 0.4943 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.6478, allocations: 43.75 kB / 0.4944 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.6478, allocations: 4 kB / 0.4944 GB, free: 10.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.6478, allocations: 4 kB / 0.4944 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000151/0.648, allocations: 47.97 kB / 0.4944 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.648, allocations: 4 kB / 0.4944 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-06/0.648, allocations: 0 / 0.4944 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6482, allocations: 23.98 kB / 0.4944 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.6482, allocations: 0 / 0.4944 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.6484, allocations: 11.98 kB / 0.4945 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.6484, allocations: 4 kB / 0.4945 GB, free: 10.35 MB / 426.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 (8): * Single equations (assignments): 8 * 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.000118/0.6485, allocations: 120.9 kB / 0.4946 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.6486, allocations: 11.81 kB / 0.4946 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.287e-05/0.6487, allocations: 12.62 kB / 0.4946 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.6487, allocations: 0 / 0.4946 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6487, allocations: 0 / 0.4946 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.6487, allocations: 0 / 0.4946 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.6491, allocations: 233.5 kB / 0.4948 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6491, allocations: 0 / 0.4948 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.6494, allocations: 39.97 kB / 0.4949 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6494, allocations: 4 kB / 0.4949 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.6495, allocations: 0 / 0.4949 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.6495, allocations: 3.938 kB / 0.4949 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6495, allocations: 0 / 0.4949 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.65, allocations: 223.4 kB / 0.4951 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.65, allocations: 96.95 kB / 0.4952 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.6501, allocations: 0 / 0.4952 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.6506, allocations: 63.89 kB / 0.4952 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.6507, allocations: 7.984 kB / 0.4952 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.6507, allocations: 0 / 0.4952 GB, free: 9.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.6509, allocations: 118.3 kB / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6509, allocations: 0 / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004652/0.6514, allocations: 40 kB / 0.4954 GB, free: 9.305 MB / 426.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 (7): * Single equations (assignments): 7 * 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.0008601/0.6522, allocations: 0.7708 MB / 0.4961 GB, free: 8.508 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.6526, allocations: 88.7 kB / 0.4962 GB, free: 8.422 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6527, allocations: 3.938 kB / 0.4962 GB, free: 8.418 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.6528, allocations: 31.94 kB / 0.4963 GB, free: 8.387 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.6533, allocations: 27.97 kB / 0.4963 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008317/0.6541, allocations: 199.5 kB / 0.4965 GB, free: 8.125 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.6545, allocations: 0.7091 MB / 0.4972 GB, free: 7.391 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.6547, allocations: 21.55 kB / 0.4972 GB, free: 7.371 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.6548, allocations: 43.42 kB / 0.4972 GB, free: 7.328 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6548, allocations: 0 / 0.4972 GB, free: 7.328 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.6808, allocations: 3.282 MB / 0.5004 GB, free: 4.164 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000345/0.6812, allocations: 143.5 kB / 0.5006 GB, free: 3.938 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.103, allocations: 0 / 0.5006 GB, free: 3.938 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat