Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.758e-05, allocations: 0 / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 61.88 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/0.6261, allocations: 91.63 MB / 0.4902 GB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.6264, allocations: 68.72 kB / 0.4903 GB, free: 12.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07437/0.7008, allocations: 15.67 MB / 0.5056 GB, free: 12.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7009, allocations: 0 / 0.5056 GB, free: 12.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.542e-05/0.701, allocations: 23.94 kB / 0.5056 GB, free: 12.69 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003532/0.7045, allocations: 1.032 MB / 0.5066 GB, free: 11.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.7046, allocations: 8.031 kB / 0.5066 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002545/0.7049, allocations: 94.47 kB / 0.5067 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.7052, allocations: 94.88 kB / 0.5068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.7072, allocations: 0.5976 MB / 0.5074 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/0.7073, allocations: 48.94 kB / 0.5074 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.7075, allocations: 48 kB / 0.5075 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.709, allocations: 0.5687 MB / 0.508 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.709, allocations: 3.938 kB / 0.508 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/0.7091, allocations: 23.95 kB / 0.5081 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.7092, allocations: 16 kB / 0.5081 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.7102, allocations: 345.9 kB / 0.5084 GB, free: 9.672 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.7156, allocations: 2.294 MB / 0.5106 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.7183, allocations: 0.6914 MB / 0.5113 GB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.7189, allocations: 197.7 kB / 0.5115 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/0.719, allocations: 12.06 kB / 0.5115 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.7191, allocations: 38.56 kB / 0.5116 GB, free: 6.301 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 3.457e-06/0.7191, allocations: 0 / 0.5116 GB, free: 6.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.001381/0.7205, allocations: 441.5 kB / 0.512 GB, free: 5.863 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.7206, allocations: 136.5 kB / 0.5121 GB, free: 5.699 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.7215, allocations: 499.7 kB / 0.5126 GB, free: 5.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.129e-05/0.7216, allocations: 33.7 kB / 0.5126 GB, free: 5.164 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.722, allocations: 352.8 kB / 0.513 GB, free: 4.816 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.7222, allocations: 165.6 kB / 0.5131 GB, free: 4.652 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.7223, allocations: 4 kB / 0.5131 GB, free: 4.648 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.7225, allocations: 386.7 kB / 0.5135 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.723, allocations: 153.1 kB / 0.5136 GB, free: 4.113 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.7236, allocations: 263.1 kB / 0.5139 GB, free: 3.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.7241, allocations: 166 kB / 0.514 GB, free: 3.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.7241, allocations: 0 / 0.514 GB, free: 3.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001467/0.7256, allocations: 0.5107 MB / 0.5145 GB, free: 3.141 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003827/0.726, allocations: 0.8788 MB / 0.5154 GB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.726, allocations: 4 kB / 0.5154 GB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.7261, allocations: 8 kB / 0.5154 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.728, allocations: 203.7 kB / 0.5156 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.728, allocations: 4 kB / 0.5156 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.7292, allocations: 123.5 kB / 0.5157 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.7293, allocations: 19.98 kB / 0.5157 GB, free: 1.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7293, allocations: 10.81 kB / 0.5157 GB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/0.7305, allocations: 402.2 kB / 0.5161 GB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7305, allocations: 0 / 0.5161 GB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.7306, allocations: 8 kB / 0.5161 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.7321, allocations: 172 kB / 0.5163 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.7322, allocations: 4 kB / 0.5163 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008943/0.7331, allocations: 87.62 kB / 0.5164 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.7332, allocations: 23.95 kB / 0.5164 GB, free: 1.148 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0002384/0.7334, allocations: 129.4 kB / 0.5165 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.7336, allocations: 75.06 kB / 0.5166 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.7339, allocations: 86.73 kB / 0.5167 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7339, allocations: 4 kB / 0.5167 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.7339, allocations: 0 / 0.5167 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.734, allocations: 3.938 kB / 0.5167 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.7368, allocations: 1.154 MB / 0.5178 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.7368, allocations: 0 / 0.5178 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.7383, allocations: 163.8 kB / 0.518 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.7383, allocations: 4 kB / 0.518 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/0.7384, allocations: 8 kB / 0.518 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.7384, allocations: 11.94 kB / 0.518 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7384, allocations: 0 / 0.518 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.7405, allocations: 0.8484 MB / 0.5188 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/0.7409, allocations: 196 kB / 0.519 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.741, allocations: 15.95 kB / 0.519 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.7422, allocations: 95.92 kB / 0.5191 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.7423, allocations: 35.94 kB / 0.5192 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.7424, allocations: 15.98 kB / 0.5192 GB, free: 14.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007068/0.7431, allocations: 387.2 kB / 0.5195 GB, free: 13.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7431, allocations: 0 / 0.5195 GB, free: 13.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001071/0.7442, allocations: 227.3 kB / 0.5198 GB, free: 13.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.002328/0.7466, allocations: 1.479 MB / 0.5212 GB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.7485, allocations: 0.644 MB / 0.5218 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.7485, allocations: 0 / 0.5218 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.7492, allocations: 215.9 kB / 0.522 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.7507, allocations: 173.9 kB / 0.5222 GB, free: 11.08 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/0.756, allocations: 1.248 MB / 0.5234 GB, free: 9.789 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/0.7567, allocations: 0.9314 MB / 0.5243 GB, free: 8.828 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001088/0.7578, allocations: 143.3 kB / 0.5245 GB, free: 8.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006352/0.7584, allocations: 267.3 kB / 0.5247 GB, free: 8.426 MB / 442.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7584, allocations: 0 / 0.5247 GB, free: 8.426 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/0.8152, allocations: 14.44 MB / 0.5388 GB, free: 10.15 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.8155, allocations: 142.8 kB / 0.539 GB, free: 9.922 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.087/3.903, allocations: 0 / 0.539 GB, free: 9.922 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat