Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.545/2.545, allocations: 235 MB / 247.6 MB, free: 14.42 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.684e-05/3.689e-05, allocations: 4 kB / 305 MB, free: 5.582 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4294, allocations: 54.86 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/0.6059, allocations: 84.32 MB / 444.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.6063, allocations: 65.41 kB / 444.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.069/0.6753, allocations: 13.51 MB / 457.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.6753, allocations: 0 / 457.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.815e-05/0.6754, allocations: 12 kB / 457.8 MB, free: 14.97 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.00342/0.6788, allocations: 0.9623 MB / 458.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.6789, allocations: 12.88 kB / 458.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002423/0.6792, allocations: 78.47 kB / 458.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.6795, allocations: 82.97 kB / 458.9 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.6813, allocations: 0.5385 MB / 459.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.6814, allocations: 33 kB / 459.5 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.6815, allocations: 51.91 kB / 459.5 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.6829, allocations: 467.1 kB / 460 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.6829, allocations: 0 / 460 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.711e-05/0.683, allocations: 16 kB / 460 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.683, allocations: 12.56 kB / 460 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.6842, allocations: 313.5 kB / 460.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004566/0.6888, allocations: 1.456 MB / 461.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/0.6918, allocations: 0.679 MB / 462.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/0.6924, allocations: 189.6 kB / 462.6 MB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.042e-05/0.6925, allocations: 19.94 kB / 462.6 MB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.6926, allocations: 43.2 kB / 462.7 MB, free: 9.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.096e-06/0.6926, allocations: 0 / 462.7 MB, free: 9.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001312/0.6939, allocations: 393.7 kB / 463.1 MB, free: 9.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/0.694, allocations: 144.2 kB / 463.2 MB, free: 9.246 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000783/0.6948, allocations: 405 kB / 463.6 MB, free: 8.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.509e-05/0.6949, allocations: 37.7 kB / 463.6 MB, free: 8.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.6952, allocations: 322.9 kB / 464 MB, free: 8.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.6954, allocations: 163.4 kB / 464.1 MB, free: 8.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.6955, allocations: 8 kB / 464.1 MB, free: 8.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6957, allocations: 326.8 kB / 464.4 MB, free: 7.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.6961, allocations: 144.9 kB / 464.6 MB, free: 7.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.6967, allocations: 187.3 kB / 464.8 MB, free: 7.652 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.6971, allocations: 145.6 kB / 464.9 MB, free: 7.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6971, allocations: 4.031 kB / 464.9 MB, free: 7.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001177/0.6983, allocations: 399.9 kB / 465.3 MB, free: 7.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.6984, allocations: 183.7 kB / 465.5 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6985, allocations: 0 / 465.5 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.6985, allocations: 7.984 kB / 465.5 MB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.7004, allocations: 191.8 kB / 465.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.7004, allocations: 0 / 465.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.7015, allocations: 111.6 kB / 465.8 MB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.263e-05/0.7016, allocations: 21.62 kB / 465.8 MB, free: 6.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.7016, allocations: 0 / 465.8 MB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/0.7027, allocations: 346.3 kB / 466.2 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7028, allocations: 0 / 466.2 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.7028, allocations: 11.95 kB / 466.2 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.7045, allocations: 157.7 kB / 466.3 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.7046, allocations: 4 kB / 466.3 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006825/0.7053, allocations: 75.64 kB / 466.4 MB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.7054, allocations: 19.98 kB / 466.4 MB, free: 5.996 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.0002345/0.7056, allocations: 127.1 kB / 466.5 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.7059, allocations: 59.25 kB / 466.6 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.7061, allocations: 73.86 kB / 466.7 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.7061, allocations: 11.94 kB / 466.7 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.7062, allocations: 4 kB / 466.7 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.7062, allocations: 0 / 466.7 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.709, allocations: 1.08 MB / 467.8 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.7091, allocations: 7.953 kB / 467.8 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.7107, allocations: 151.8 kB / 467.9 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/0.7108, allocations: 3.984 kB / 467.9 MB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.969e-05/0.7109, allocations: 16 kB / 467.9 MB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.7109, allocations: 4 kB / 467.9 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7109, allocations: 0 / 467.9 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.7129, allocations: 0.81 MB / 468.8 MB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.7133, allocations: 184.2 kB / 468.9 MB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.7135, allocations: 8 kB / 468.9 MB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.7146, allocations: 97.31 kB / 469 MB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.7148, allocations: 39.94 kB / 469.1 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-05/0.7149, allocations: 16 kB / 469.1 MB, free: 3.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006216/0.7155, allocations: 325.5 kB / 469.4 MB, free: 2.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7156, allocations: 0 / 469.4 MB, free: 2.895 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001221/0.7168, allocations: 199.3 kB / 469.6 MB, free: 2.699 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.002423/0.7193, allocations: 1.44 MB / 471 MB, free: 1.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.7211, allocations: 0.5576 MB / 471.6 MB, free: 0.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.7211, allocations: 0 / 471.6 MB, free: 0.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.7217, allocations: 203.9 kB / 471.8 MB, free: 480 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.7232, allocations: 119.2 kB / 471.9 MB, free: 360 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.7286, allocations: 1.167 MB / 473.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/0.7293, allocations: 0.8941 MB / 474 MB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/0.73, allocations: 235.3 kB / 474.2 MB, free: 13.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.73, allocations: 0 / 474.2 MB, free: 13.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.693/3.423, allocations: 9.594 MB / 483.8 MB, free: 4.418 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat