Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.599e-05/4.598e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4774, allocations: 58.83 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.185/0.6625, allocations: 90.77 MB / 473.1 MB, free: 1.73 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.6628, allocations: 63.97 kB / 473.1 MB, free: 1.668 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.07968/0.7425, allocations: 15.77 MB / 488.9 MB, free: 1.863 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.809e-06/0.7425, allocations: 4 kB / 488.9 MB, free: 1.859 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001121/0.7427, allocations: 27.94 kB / 488.9 MB, free: 1.832 MB / 410.8 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.0039/0.7466, allocations: 1.046 MB / 490 MB, free: 0.7383 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.728e-05/0.7467, allocations: 8.031 kB / 490 MB, free: 0.7305 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003043/0.747, allocations: 90.52 kB / 490.1 MB, free: 0.6328 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/0.7474, allocations: 98.78 kB / 490.2 MB, free: 0.5352 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.7497, allocations: 0.617 MB / 490.8 MB, free: 15.88 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/0.7499, allocations: 40.98 kB / 490.8 MB, free: 15.84 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.75, allocations: 59.89 kB / 490.9 MB, free: 15.78 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.7516, allocations: 0.5648 MB / 491.4 MB, free: 15.16 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.7516, allocations: 7.875 kB / 491.5 MB, free: 15.15 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.835e-05/0.7518, allocations: 24 kB / 491.5 MB, free: 15.13 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.7518, allocations: 12 kB / 491.5 MB, free: 15.12 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.753, allocations: 349.9 kB / 491.8 MB, free: 14.77 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005898/0.7589, allocations: 2.294 MB / 494.1 MB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.7618, allocations: 0.6992 MB / 494.8 MB, free: 11.65 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/0.7624, allocations: 193.7 kB / 495 MB, free: 11.46 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.7e-05/0.7625, allocations: 4 kB / 495 MB, free: 11.45 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.7626, allocations: 42.56 kB / 495.1 MB, free: 11.4 MB / 426.8 MB Notification: Performance of pre-optimization done (n=46): time 4.328e-06/0.7626, allocations: 0 / 495.1 MB, free: 11.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=46): time 0.001464/0.764, allocations: 445.5 kB / 495.5 MB, free: 10.96 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/0.7642, allocations: 132.5 kB / 495.6 MB, free: 10.8 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.7653, allocations: 0.4999 MB / 496.1 MB, free: 10.29 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.7654, allocations: 33.64 kB / 496.2 MB, free: 10.25 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.7659, allocations: 364.8 kB / 496.5 MB, free: 9.895 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.7661, allocations: 165.7 kB / 496.7 MB, free: 9.73 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.7662, allocations: 12 kB / 496.7 MB, free: 9.719 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7664, allocations: 329.9 kB / 497 MB, free: 9.391 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.7669, allocations: 157.1 kB / 497.2 MB, free: 9.238 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.7675, allocations: 251.2 kB / 497.4 MB, free: 8.953 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.7681, allocations: 165.9 kB / 497.6 MB, free: 8.793 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7681, allocations: 4.031 kB / 497.6 MB, free: 8.789 MB / 426.8 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001572/0.7697, allocations: 0.5068 MB / 498.1 MB, free: 8.273 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004621/0.7702, allocations: 0.8827 MB / 499 MB, free: 7.324 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.7702, allocations: 0 / 499 MB, free: 7.324 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/0.7702, allocations: 8 kB / 499 MB, free: 7.316 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.7723, allocations: 207.7 kB / 499.2 MB, free: 7.113 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.7723, allocations: 4 kB / 499.2 MB, free: 7.109 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.7736, allocations: 119.5 kB / 499.3 MB, free: 6.992 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/0.7737, allocations: 19.98 kB / 499.3 MB, free: 6.973 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.7737, allocations: 4 kB / 499.3 MB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/0.7749, allocations: 406.3 kB / 499.7 MB, free: 6.57 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.7749, allocations: 0 / 499.7 MB, free: 6.57 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.775, allocations: 8 kB / 499.7 MB, free: 6.562 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.7766, allocations: 175.9 kB / 499.9 MB, free: 6.391 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.7767, allocations: 7.953 kB / 499.9 MB, free: 6.383 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/0.7777, allocations: 91.58 kB / 500 MB, free: 6.293 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.7777, allocations: 16 kB / 0.4883 GB, free: 6.277 MB / 426.8 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.0002916/0.778, allocations: 136.8 kB / 0.4884 GB, free: 6.137 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.7783, allocations: 75.06 kB / 0.4885 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.7786, allocations: 79 kB / 0.4886 GB, free: 5.98 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.7786, allocations: 4 kB / 0.4886 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.7786, allocations: 4 kB / 0.4886 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.7786, allocations: 11.94 kB / 0.4886 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.7815, allocations: 1.158 MB / 0.4897 GB, free: 4.746 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.7816, allocations: 0 / 0.4897 GB, free: 4.746 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.7831, allocations: 159.8 kB / 0.4899 GB, free: 4.59 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/0.7831, allocations: 7.938 kB / 0.4899 GB, free: 4.582 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/0.7832, allocations: 12 kB / 0.4899 GB, free: 4.57 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.7832, allocations: 8 kB / 0.4899 GB, free: 4.562 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7832, allocations: 3.984 kB / 0.4899 GB, free: 4.559 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.7854, allocations: 0.8564 MB / 0.4907 GB, free: 3.676 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/0.7859, allocations: 196.1 kB / 0.4909 GB, free: 3.465 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.786, allocations: 8 kB / 0.4909 GB, free: 3.457 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.7872, allocations: 95.92 kB / 0.491 GB, free: 3.363 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.7873, allocations: 39.88 kB / 0.4911 GB, free: 3.324 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.7874, allocations: 19.98 kB / 0.4911 GB, free: 3.305 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0008006/0.7882, allocations: 395.2 kB / 0.4915 GB, free: 2.926 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.71e-07/0.7882, allocations: 0 / 0.4915 GB, free: 2.926 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.001192/0.7894, allocations: 227.2 kB / 0.4917 GB, free: 2.703 MB / 426.8 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.002418/0.7919, allocations: 1.474 MB / 0.4931 GB, free: 1.199 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.7939, allocations: 0.6408 MB / 0.4937 GB, free: 0.5586 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.7939, allocations: 4.25 kB / 0.4937 GB, free: 0.5547 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006141/0.7946, allocations: 211.8 kB / 0.4939 GB, free: 356 kB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.7963, allocations: 172.4 kB / 0.4941 GB, free: 188 kB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005617/0.802, allocations: 1.261 MB / 0.4953 GB, free: 14.88 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.8027, allocations: 0.9431 MB / 0.4963 GB, free: 13.9 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001205/0.8039, allocations: 139.8 kB / 0.4964 GB, free: 13.76 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000651/0.8046, allocations: 271.3 kB / 0.4967 GB, free: 13.5 MB / 442.8 MB Notification: Performance of SimCode: time 1.834e-06/0.8046, allocations: 4 kB / 0.4967 GB, free: 13.49 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06007/0.8647, allocations: 14.72 MB / 0.511 GB, free: 14.85 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002977/0.8651, allocations: 137.7 kB / 0.5112 GB, free: 14.63 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/4.14, allocations: 4.062 kB / 0.5112 GB, free: 14.63 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat