Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.609/2.609, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.314e-05, allocations: 4 kB / 299.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3633, allocations: 54.86 MB / 354.3 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.5213, allocations: 83.65 MB / 438 MB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.5216, allocations: 63.97 kB / 438.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06697/0.5885, allocations: 13.43 MB / 451.5 MB, free: 14.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5886, allocations: 0 / 451.5 MB, free: 14.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.42e-05/0.5887, allocations: 12 kB / 451.5 MB, free: 14.73 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003198/0.5919, allocations: 0.9587 MB / 452.5 MB, free: 13.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.592, allocations: 16.03 kB / 452.5 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.5924, allocations: 79.06 kB / 452.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.5942, allocations: 0.5309 MB / 453.1 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/0.5943, allocations: 19.95 kB / 453.1 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.5944, allocations: 24 kB / 453.1 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009439/0.5953, allocations: 294.6 kB / 453.4 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.5965, allocations: 418.6 kB / 453.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.5965, allocations: 3.938 kB / 453.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.101e-05/0.5966, allocations: 4 kB / 453.8 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.5966, allocations: 11.98 kB / 453.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.601, allocations: 1.377 MB / 455.2 MB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.6035, allocations: 0.6902 MB / 455.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/0.6041, allocations: 177.6 kB / 456.1 MB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-05/0.6041, allocations: 8 kB / 456.1 MB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.6042, allocations: 34.56 kB / 456.1 MB, free: 9.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.046e-06/0.6042, allocations: 4 kB / 456.1 MB, free: 9.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001222/0.6054, allocations: 393.6 kB / 456.5 MB, free: 9.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.6056, allocations: 140.2 kB / 456.6 MB, free: 9.328 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007296/0.6063, allocations: 382.4 kB / 457 MB, free: 8.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/0.6064, allocations: 25.7 kB / 457 MB, free: 8.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.6067, allocations: 300.5 kB / 457.3 MB, free: 8.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.6069, allocations: 145.8 kB / 457.5 MB, free: 8.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.607, allocations: 0 / 457.5 MB, free: 8.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.6072, allocations: 370.8 kB / 457.8 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.6076, allocations: 140.9 kB / 458 MB, free: 7.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.6081, allocations: 187.3 kB / 458.2 MB, free: 7.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.6085, allocations: 136.8 kB / 458.3 MB, free: 7.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6085, allocations: 0 / 458.3 MB, free: 7.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001231/0.6098, allocations: 431.2 kB / 458.7 MB, free: 7.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.61, allocations: 187.7 kB / 458.9 MB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.61, allocations: 0 / 458.9 MB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.61, allocations: 0 / 458.9 MB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.6118, allocations: 191.8 kB / 459.1 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.6119, allocations: 4 kB / 459.1 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.6129, allocations: 107.5 kB / 459.2 MB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/0.613, allocations: 19.98 kB / 459.2 MB, free: 6.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.613, allocations: 4 kB / 459.2 MB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009033/0.6139, allocations: 298.4 kB / 459.5 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6139, allocations: 0 / 459.5 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.614, allocations: 4 kB / 459.5 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.6155, allocations: 163.8 kB / 459.7 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.6156, allocations: 4 kB / 459.7 MB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008459/0.6164, allocations: 75.59 kB / 459.8 MB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/0.6165, allocations: 16 kB / 459.8 MB, free: 6.145 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002261/0.6168, allocations: 112.8 kB / 459.9 MB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001128/0.6179, allocations: 385.2 kB / 460.3 MB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.6181, allocations: 59.25 kB / 460.3 MB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.6184, allocations: 66.09 kB / 460.4 MB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.6184, allocations: 8.141 kB / 460.4 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.6184, allocations: 0 / 460.4 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.6184, allocations: 11.92 kB / 460.4 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.6208, allocations: 0.987 MB / 461.4 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6208, allocations: 0 / 461.4 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.6222, allocations: 159.8 kB / 461.5 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.6222, allocations: 3.953 kB / 461.5 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.6223, allocations: 11.98 kB / 461.6 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.6223, allocations: 4 kB / 461.6 MB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6223, allocations: 0 / 461.6 MB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.6241, allocations: 0.7796 MB / 462.3 MB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.6245, allocations: 188.1 kB / 462.5 MB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.6246, allocations: 4 kB / 462.5 MB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.6257, allocations: 83.92 kB / 462.6 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.6259, allocations: 35.94 kB / 462.6 MB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.6259, allocations: 15.98 kB / 462.7 MB, free: 3.145 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005558/0.6265, allocations: 299 kB / 463 MB, free: 2.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6265, allocations: 0 / 463 MB, free: 2.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009965/0.6275, allocations: 175.4 kB / 463.1 MB, free: 2.684 MB / 394.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 (44): * Single equations (assignments): 44 * 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.002138/0.6297, allocations: 1.408 MB / 464.5 MB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.6314, allocations: 0.5612 MB / 465.1 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6314, allocations: 0 / 465.1 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005131/0.6319, allocations: 195.8 kB / 465.3 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.6331, allocations: 128.8 kB / 465.4 MB, free: 376 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.638, allocations: 1.11 MB / 466.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.6386, allocations: 0.899 MB / 467.4 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009878/0.6397, allocations: 114.5 kB / 467.5 MB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/0.6402, allocations: 215.3 kB / 467.7 MB, free: 13.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6402, allocations: 4 kB / 467.7 MB, free: 13.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06661/0.7069, allocations: 11.65 MB / 479.4 MB, free: 2.316 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/0.7072, allocations: 118.7 kB / 479.5 MB, free: 2.129 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.987/3.694, allocations: 0 / 479.5 MB, free: 2.129 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat