Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.719e-05, allocations: 8 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.392/0.4944, allocations: 76.64 MB / 398.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4947, allocations: 74.39 kB / 398.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05893/0.5537, allocations: 11.37 MB / 409.9 MB, free: 1.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5537, allocations: 0 / 409.9 MB, free: 1.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.553e-05/0.5538, allocations: 12.12 kB / 409.9 MB, free: 1.836 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003468/0.5572, allocations: 0.8648 MB / 410.8 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5573, allocations: 12.03 kB / 410.8 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.5575, allocations: 79.22 kB / 410.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.5577, allocations: 71.38 kB / 410.9 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.5584, allocations: 337.4 kB / 411.3 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00056/0.559, allocations: 274.9 kB / 411.5 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.5592, allocations: 43.91 kB / 411.6 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.5607, allocations: 0.5534 MB / 412.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.5608, allocations: 0 / 412.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/0.5609, allocations: 16 kB / 412.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.5609, allocations: 12 kB / 412.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.5633, allocations: 0.8182 MB / 413 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.5676, allocations: 1.401 MB / 414.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.5701, allocations: 0.5849 MB / 415 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000873/0.571, allocations: 314.8 kB / 415.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.5712, allocations: 8.562 kB / 415.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.5712, allocations: 43.69 kB / 415.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 3.747e-06/0.5712, allocations: 4 kB / 415.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.03909/0.6103, allocations: 7.379 MB / 422.7 MB, free: 4.648 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.6105, allocations: 94.22 kB / 422.8 MB, free: 4.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000668/0.6112, allocations: 331.2 kB / 423.1 MB, free: 4.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003138/0.6115, allocations: 49.7 kB / 423.2 MB, free: 4.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.6117, allocations: 231.8 kB / 423.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005888/0.6123, allocations: 406.1 kB / 423.8 MB, free: 3.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.6125, allocations: 20 kB / 423.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6127, allocations: 354.8 kB / 424.2 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002848/0.6155, allocations: 0.9634 MB / 425.1 MB, free: 2.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/0.6186, allocations: 1.07 MB / 426.2 MB, free: 1.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.621, allocations: 0.8075 MB / 427 MB, free: 296 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.6211, allocations: 0 / 427 MB, free: 296 kB / 346.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.006272/0.6273, allocations: 2.027 MB / 429 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.6274, allocations: 4 kB / 429 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.6275, allocations: 0 / 429 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/0.6275, allocations: 12.06 kB / 429 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00555/0.6331, allocations: 455.4 kB / 429.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.33e-05/0.6331, allocations: 7.953 kB / 429.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/0.6372, allocations: 279.7 kB / 429.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/0.6376, allocations: 39.98 kB / 429.8 MB, free: 13.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * 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.0005626/0.6381, allocations: 168.7 kB / 430 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.6385, allocations: 63.19 kB / 430 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.6388, allocations: 107.7 kB / 430.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.6389, allocations: 12 kB / 430.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.6389, allocations: 0 / 430.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/0.6389, allocations: 11.94 kB / 430.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.6547, allocations: 4.772 MB / 434.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/0.6548, allocations: 20 kB / 435 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004572/0.6594, allocations: 407.7 kB / 435.4 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.6595, allocations: 35.95 kB / 435.4 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004277/0.66, allocations: 51.98 kB / 435.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.218e-05/0.6601, allocations: 43.8 kB / 435.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-05/0.6602, allocations: 31.88 kB / 435.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009229/0.6694, allocations: 3.303 MB / 438.8 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007135/0.6702, allocations: 244.2 kB / 439.1 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.6704, allocations: 55.98 kB / 439.1 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/0.673, allocations: 251.8 kB / 439.4 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000812/0.6738, allocations: 231.3 kB / 439.6 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.674, allocations: 59.98 kB / 439.6 MB, free: 2.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004664/0.6745, allocations: 247.1 kB / 439.9 MB, free: 2.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6745, allocations: 4 kB / 439.9 MB, free: 2.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001458/0.676, allocations: 232 kB / 440.1 MB, free: 1.926 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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.008299/0.6843, allocations: 10.32 MB / 450.4 MB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005044/0.6894, allocations: 1.669 MB / 452.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.061e-05/0.6895, allocations: 4 kB / 452.1 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003562/0.693, allocations: 0.8123 MB / 452.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.6945, allocations: 128.7 kB / 453 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/0.701, allocations: 1.868 MB / 454.9 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.7017, allocations: 0.9241 MB / 455.8 MB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/0.7032, allocations: 207.4 kB / 456 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.7032, allocations: 0 / 456 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.724/3.427, allocations: 15.44 MB / 471.5 MB, free: 1.531 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat