Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.189e-05, allocations: 0 / 273.1 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5193, allocations: 76.65 MB / 398.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.5197, allocations: 63.97 kB / 398.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07039/0.5901, allocations: 11.36 MB / 409.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.889e-06/0.5901, allocations: 4 kB / 409.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.147e-05/0.5902, allocations: 8.125 kB / 409.9 MB, free: 1.52 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.00347/0.5937, allocations: 0.8687 MB / 410.8 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.5937, allocations: 8.031 kB / 410.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.5939, allocations: 87.22 kB / 410.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.5941, allocations: 71.38 kB / 411 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/0.5948, allocations: 337.4 kB / 411.3 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005864/0.5954, allocations: 271 kB / 411.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.5956, allocations: 43.89 kB / 411.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.5972, allocations: 0.5612 MB / 412.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.5972, allocations: 0 / 412.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/0.5973, allocations: 16 kB / 412.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.5974, allocations: 8 kB / 412.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.5997, allocations: 0.8182 MB / 413 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004255/0.604, allocations: 1.401 MB / 414.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.6065, allocations: 0.5849 MB / 415 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008831/0.6074, allocations: 318.8 kB / 415.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.6076, allocations: 8.547 kB / 415.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.6077, allocations: 39.69 kB / 415.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 3.166e-06/0.6077, allocations: 4 kB / 415.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.03852/0.6462, allocations: 7.38 MB / 422.7 MB, free: 4.324 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.6463, allocations: 94.17 kB / 422.8 MB, free: 4.215 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/0.647, allocations: 331.2 kB / 423.1 MB, free: 3.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002865/0.6473, allocations: 45.7 kB / 423.2 MB, free: 3.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.6475, allocations: 185.4 kB / 423.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00063/0.6482, allocations: 402.1 kB / 423.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.6484, allocations: 20 kB / 423.8 MB, free: 3.227 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.6486, allocations: 370.8 kB / 424.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/0.6516, allocations: 0.9634 MB / 425.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.6547, allocations: 1.066 MB / 426.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.6573, allocations: 0.8152 MB / 427 MB, free: 16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6573, allocations: 0 / 427 MB, free: 16 MB / 362.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.006266/0.6636, allocations: 2.031 MB / 429 MB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.6637, allocations: 11.94 kB / 429 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.6637, allocations: 4.062 kB / 429 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.311e-05/0.6637, allocations: 8 kB / 429 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005419/0.6692, allocations: 455.4 kB / 429.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/0.6692, allocations: 11.95 kB / 429.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/0.6731, allocations: 279.7 kB / 429.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.6734, allocations: 32 kB / 429.8 MB, free: 13.17 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.0005408/0.6739, allocations: 168.7 kB / 430 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/0.6743, allocations: 59.25 kB / 430 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.6746, allocations: 115.7 kB / 430.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.6747, allocations: 12 kB / 430.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.6747, allocations: 0 / 430.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.6747, allocations: 7.938 kB / 430.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.6901, allocations: 4.767 MB / 434.9 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.953e-05/0.6901, allocations: 24 kB / 435 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00313/0.6933, allocations: 407.8 kB / 435.4 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.043e-05/0.6934, allocations: 39.95 kB / 435.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.6935, allocations: 48 kB / 435.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-05/0.6936, allocations: 51.72 kB / 435.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.109e-05/0.6936, allocations: 31.88 kB / 435.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005886/0.6995, allocations: 3.298 MB / 438.8 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/0.7002, allocations: 248.2 kB / 439.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.7004, allocations: 59.97 kB / 439.1 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/0.7029, allocations: 251.8 kB / 439.4 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007374/0.7037, allocations: 227.3 kB / 439.6 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.7039, allocations: 60 kB / 439.6 MB, free: 2.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004783/0.7044, allocations: 251.1 kB / 439.9 MB, free: 1.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7044, allocations: 0 / 439.9 MB, free: 1.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001358/0.7057, allocations: 232 kB / 440.1 MB, free: 1.617 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.008824/0.7146, allocations: 10.31 MB / 450.4 MB, free: 6.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004878/0.7195, allocations: 1.669 MB / 452.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.209e-05/0.7196, allocations: 4 kB / 452.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.7231, allocations: 0.812 MB / 452.9 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.7244, allocations: 126.1 kB / 453 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/0.7311, allocations: 1.827 MB / 454.9 MB, free: 1.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007729/0.7319, allocations: 0.9202 MB / 455.8 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002155/0.7341, allocations: 185.6 kB / 456 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.7353, allocations: 203.4 kB / 456.2 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.7353, allocations: 0 / 456.2 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07597/0.8113, allocations: 19.66 MB / 475.8 MB, free: 12.95 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/0.8117, allocations: 141.5 kB / 476 MB, free: 12.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.552/4.364, allocations: 0 / 476 MB, free: 12.73 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat