Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.152e-05/5.163e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.398, allocations: 54.85 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.5525, allocations: 83.04 MB / 442.9 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5528, allocations: 64.91 kB / 443 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05972/0.6125, allocations: 11.38 MB / 454.4 MB, free: 2.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6126, allocations: 0 / 454.4 MB, free: 2.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.058e-05/0.6126, allocations: 4 kB / 454.4 MB, free: 2.426 MB / 378.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.003448/0.6161, allocations: 0.8727 MB / 455.2 MB, free: 1.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6162, allocations: 8.031 kB / 455.2 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.6164, allocations: 82.53 kB / 455.3 MB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.6165, allocations: 59.44 kB / 455.4 MB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.6173, allocations: 337.4 kB / 455.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005856/0.6179, allocations: 279.6 kB / 456 MB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.618, allocations: 39.91 kB / 456 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.6196, allocations: 0.5558 MB / 456.6 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.6196, allocations: 3.938 kB / 456.6 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-05/0.6197, allocations: 16 kB / 456.6 MB, free: 40 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.6198, allocations: 12 kB / 456.6 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.6221, allocations: 0.8098 MB / 457.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.6263, allocations: 1.396 MB / 458.8 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.6289, allocations: 0.5812 MB / 459.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008965/0.6298, allocations: 314.8 kB / 459.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.63, allocations: 12.55 kB / 459.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.63, allocations: 39.12 kB / 459.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 3.497e-06/0.63, allocations: 0 / 459.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.03849/0.6685, allocations: 7.394 MB / 467.2 MB, free: 5.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.6686, allocations: 92.95 kB / 467.2 MB, free: 5.129 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006754/0.6693, allocations: 323.3 kB / 467.6 MB, free: 4.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002592/0.6696, allocations: 45.7 kB / 467.6 MB, free: 4.754 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.6698, allocations: 185.3 kB / 467.8 MB, free: 4.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005751/0.6704, allocations: 402.1 kB / 468.2 MB, free: 4.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.6706, allocations: 24 kB / 468.2 MB, free: 4.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.6708, allocations: 370.8 kB / 468.6 MB, free: 3.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002784/0.6736, allocations: 0.9634 MB / 469.5 MB, free: 2.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002924/0.6765, allocations: 1.059 MB / 470.6 MB, free: 1.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.6789, allocations: 0.8125 MB / 471.4 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.679, allocations: 4 kB / 471.4 MB, free: 0.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.006079/0.685, allocations: 2.036 MB / 473.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.6851, allocations: 9.719 kB / 473.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.6851, allocations: 0 / 473.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.6852, allocations: 11.94 kB / 473.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005357/0.6905, allocations: 455.5 kB / 473.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.168e-05/0.6906, allocations: 8 kB / 473.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/0.6945, allocations: 275.7 kB / 474.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003311/0.6949, allocations: 36 kB / 474.2 MB, free: 14.1 MB / 410.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.0005705/0.6955, allocations: 160.7 kB / 474.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/0.6959, allocations: 71.19 kB / 474.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.6962, allocations: 107.7 kB / 474.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.6963, allocations: 12 kB / 474.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.6963, allocations: 0 / 474.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.6963, allocations: 3.984 kB / 474.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/0.7122, allocations: 4.716 MB / 479.3 MB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/0.7123, allocations: 24.17 kB / 479.3 MB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/0.7154, allocations: 411.4 kB / 479.7 MB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.581e-05/0.7155, allocations: 28 kB / 479.7 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.7157, allocations: 48.94 kB / 479.8 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.681e-05/0.7157, allocations: 43.84 kB / 479.8 MB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.153e-05/0.7158, allocations: 31.88 kB / 479.9 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005732/0.7215, allocations: 3.309 MB / 483.2 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006549/0.7222, allocations: 240.3 kB / 483.4 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.7225, allocations: 55.97 kB / 483.5 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/0.725, allocations: 255.8 kB / 483.7 MB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007798/0.7258, allocations: 235.2 kB / 483.9 MB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.726, allocations: 56 kB / 484 MB, free: 3.086 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004819/0.7265, allocations: 251.1 kB / 484.2 MB, free: 2.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7265, allocations: 0.75 kB / 484.2 MB, free: 2.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001633/0.7282, allocations: 232 kB / 484.5 MB, free: 2.613 MB / 410.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.008174/0.7364, allocations: 10.31 MB / 494.8 MB, free: 7.641 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004743/0.7412, allocations: 1.636 MB / 496.4 MB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/0.7412, allocations: 0 / 496.4 MB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003387/0.7446, allocations: 0.7854 MB / 497.2 MB, free: 5.227 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.7462, allocations: 131.6 kB / 497.3 MB, free: 5.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006681/0.7529, allocations: 1.804 MB / 499.1 MB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/0.7537, allocations: 0.9241 MB / 0.4883 GB, free: 2.012 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002183/0.7559, allocations: 189.6 kB / 0.4885 GB, free: 1.824 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.7571, allocations: 207.3 kB / 0.4887 GB, free: 1.621 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7571, allocations: 0 / 0.4887 GB, free: 1.621 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06808/0.8252, allocations: 19.56 MB / 0.5078 GB, free: 14.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/0.8256, allocations: 140.2 kB / 0.5079 GB, free: 13.87 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/3.959, allocations: 7.875 kB / 0.508 GB, free: 13.86 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat