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.361/2.361, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.191e-05/4.207e-05, allocations: 0.9375 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3931, allocations: 54.85 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.544, allocations: 83.04 MB / 442.9 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.5443, allocations: 68.73 kB / 443 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05633/0.6007, allocations: 11.37 MB / 454.3 MB, free: 2.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6007, allocations: 0 / 454.3 MB, free: 2.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.73e-05/0.6008, allocations: 8 kB / 454.3 MB, free: 2.449 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.003434/0.6042, allocations: 0.8744 MB / 455.2 MB, free: 1.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.6043, allocations: 8.031 kB / 455.2 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002134/0.6045, allocations: 82.53 kB / 455.3 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.6047, allocations: 59.44 kB / 455.4 MB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.6054, allocations: 341.4 kB / 455.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005857/0.606, allocations: 275.6 kB / 456 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.6062, allocations: 39.91 kB / 456 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.6077, allocations: 0.5611 MB / 456.6 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.6078, allocations: 0 / 456.6 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/0.6079, allocations: 16 kB / 456.6 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.6079, allocations: 12 kB / 456.6 MB, free: 44 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.6103, allocations: 0.8106 MB / 457.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/0.6145, allocations: 1.399 MB / 458.8 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.617, allocations: 0.59 MB / 459.4 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008772/0.6179, allocations: 314.8 kB / 459.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.618, allocations: 8.547 kB / 459.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.6181, allocations: 47.62 kB / 459.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 3.957e-06/0.6181, allocations: 0 / 459.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.03825/0.6564, allocations: 7.394 MB / 467.1 MB, free: 5.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.6565, allocations: 91.08 kB / 467.2 MB, free: 5.129 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.6572, allocations: 327.2 kB / 467.5 MB, free: 4.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002343/0.6574, allocations: 45.7 kB / 467.6 MB, free: 4.754 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.6576, allocations: 189.4 kB / 467.8 MB, free: 4.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005668/0.6582, allocations: 398.1 kB / 468.2 MB, free: 4.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.6585, allocations: 24 kB / 468.2 MB, free: 4.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6587, allocations: 370.8 kB / 468.6 MB, free: 3.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002784/0.6615, allocations: 0.9634 MB / 469.5 MB, free: 2.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/0.6644, allocations: 1.07 MB / 470.6 MB, free: 1.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.6668, allocations: 0.8132 MB / 471.4 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6669, allocations: 0 / 471.4 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.006115/0.673, allocations: 2.039 MB / 473.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.673, allocations: 8 kB / 473.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.6731, allocations: 0 / 473.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.736e-05/0.6731, allocations: 8 kB / 473.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005326/0.6784, allocations: 459.4 kB / 473.9 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.6785, allocations: 8 kB / 473.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/0.6823, allocations: 272.5 kB / 474.2 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.6826, allocations: 39.98 kB / 474.2 MB, free: 14.09 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.0005318/0.6831, allocations: 164.7 kB / 474.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.6835, allocations: 63.2 kB / 474.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.6838, allocations: 107.7 kB / 474.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.6839, allocations: 15.94 kB / 474.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.6839, allocations: 0 / 474.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.6839, allocations: 7.969 kB / 474.6 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.6994, allocations: 4.771 MB / 479.3 MB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/0.6994, allocations: 24 kB / 479.4 MB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003085/0.7025, allocations: 411.4 kB / 479.8 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.812e-05/0.7026, allocations: 32 kB / 479.8 MB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.7028, allocations: 48 kB / 479.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-05/0.7028, allocations: 40.8 kB / 479.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.153e-05/0.7029, allocations: 31.81 kB / 479.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/0.7085, allocations: 3.31 MB / 483.2 MB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.7091, allocations: 245.7 kB / 483.5 MB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.7093, allocations: 55.92 kB / 483.5 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/0.7118, allocations: 243.8 kB / 483.8 MB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008188/0.7127, allocations: 239.3 kB / 484 MB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.7129, allocations: 56 kB / 484 MB, free: 3.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004906/0.7134, allocations: 247.1 kB / 484.3 MB, free: 2.781 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7134, allocations: 0 / 484.3 MB, free: 2.781 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001477/0.7149, allocations: 236 kB / 484.5 MB, free: 2.551 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.008643/0.7236, allocations: 10.31 MB / 494.8 MB, free: 7.574 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004962/0.7286, allocations: 1.681 MB / 496.5 MB, free: 5.898 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/0.7287, allocations: 0 / 496.5 MB, free: 5.898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003572/0.7322, allocations: 0.8046 MB / 497.3 MB, free: 5.098 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.7337, allocations: 136.6 kB / 497.4 MB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006324/0.74, allocations: 1.83 MB / 499.3 MB, free: 2.809 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006949/0.7408, allocations: 0.928 MB / 0.4885 GB, free: 1.852 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002134/0.7429, allocations: 185.6 kB / 0.4887 GB, free: 1.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/0.7442, allocations: 203.4 kB / 0.4888 GB, free: 1.469 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7442, allocations: 0 / 0.4888 GB, free: 1.469 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06644/0.8106, allocations: 19.63 MB / 0.508 GB, free: 13.88 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/0.811, allocations: 141.6 kB / 0.5082 GB, free: 13.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/3.812, allocations: 4 kB / 0.5082 GB, free: 13.65 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