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.544/2.544, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.165e-05, allocations: 0 / 299.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4356, allocations: 54.86 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5927, allocations: 82.37 MB / 436.7 MB, free: 15.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.593, allocations: 71.95 kB / 436.8 MB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05746/0.6505, allocations: 11.32 MB / 448.1 MB, free: 4.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6505, allocations: 0 / 448.1 MB, free: 4.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.113e-05/0.6506, allocations: 8 kB / 448.1 MB, free: 4.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.00352/0.6541, allocations: 0.8724 MB / 449 MB, free: 3.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.6542, allocations: 12.03 kB / 449 MB, free: 3.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.6544, allocations: 55.44 kB / 449 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.6552, allocations: 337.5 kB / 449.4 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005652/0.6557, allocations: 258.9 kB / 449.6 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.6559, allocations: 31.89 kB / 449.6 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002341/0.6583, allocations: 0.7945 MB / 450.4 MB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.6597, allocations: 0.4972 MB / 450.9 MB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.6598, allocations: 4 kB / 450.9 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.339e-05/0.6599, allocations: 0 / 450.9 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.6599, allocations: 8 kB / 451 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.6644, allocations: 1.332 MB / 452.3 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.6667, allocations: 0.5648 MB / 452.8 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008096/0.6676, allocations: 302.8 kB / 453.1 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.6678, allocations: 4.562 kB / 453.1 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.6678, allocations: 43.06 kB / 453.2 MB, free: 15.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 3.356e-06/0.6678, allocations: 0 / 453.2 MB, free: 15.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.03699/0.7048, allocations: 7.104 MB / 460.3 MB, free: 7.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.7049, allocations: 90.23 kB / 460.4 MB, free: 7.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.7056, allocations: 310.2 kB / 460.7 MB, free: 7.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.7058, allocations: 25.7 kB / 460.7 MB, free: 7.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.706, allocations: 193.2 kB / 460.9 MB, free: 7.203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005856/0.7066, allocations: 382.2 kB / 461.3 MB, free: 6.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.7069, allocations: 0 / 461.3 MB, free: 6.824 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.7071, allocations: 370.8 kB / 461.6 MB, free: 6.453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00257/0.7097, allocations: 0.94 MB / 462.6 MB, free: 5.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/0.7125, allocations: 1.04 MB / 463.6 MB, free: 4.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/0.7148, allocations: 0.7852 MB / 464.4 MB, free: 3.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.7149, allocations: 7.938 kB / 464.4 MB, free: 3.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005798/0.7207, allocations: 1.949 MB / 466.4 MB, free: 1.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.7207, allocations: 4 kB / 466.4 MB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.7208, allocations: 8 kB / 466.4 MB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.7208, allocations: 4 kB / 466.4 MB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005554/0.7264, allocations: 463.4 kB / 466.8 MB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/0.7264, allocations: 15.89 kB / 466.8 MB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005072/0.7315, allocations: 251.7 kB / 467.1 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/0.732, allocations: 36 kB / 467.1 MB, free: 0.9375 MB / 394.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.0007445/0.7327, allocations: 120.8 kB / 467.2 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007082/0.7398, allocations: 1.695 MB / 468.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005699/0.7404, allocations: 59.34 kB / 469 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.741, allocations: 88.05 kB / 469.1 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/0.741, allocations: 15.95 kB / 469.1 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.7411, allocations: 7.922 kB / 469.1 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.7411, allocations: 3.984 kB / 469.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/0.7622, allocations: 4.555 MB / 473.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.305e-05/0.7623, allocations: 20 kB / 473.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004252/0.7665, allocations: 419.4 kB / 474.1 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.629e-05/0.7666, allocations: 28 kB / 474.1 MB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/0.7669, allocations: 28 kB / 474.1 MB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.702e-05/0.7669, allocations: 39.86 kB / 474.2 MB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.817e-05/0.767, allocations: 35.81 kB / 474.2 MB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/0.7744, allocations: 3.244 MB / 477.5 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009103/0.7753, allocations: 236.4 kB / 477.7 MB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.7757, allocations: 31.98 kB / 477.7 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003488/0.7792, allocations: 231.8 kB / 478 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009181/0.7801, allocations: 239.2 kB / 478.2 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/0.7803, allocations: 56 kB / 478.2 MB, free: 4.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004693/0.7808, allocations: 234 kB / 478.5 MB, free: 4.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7808, allocations: 0 / 478.5 MB, free: 4.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001686/0.7825, allocations: 192 kB / 478.7 MB, free: 4.176 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.009032/0.7916, allocations: 10.22 MB / 488.9 MB, free: 9.289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004523/0.7961, allocations: 1.595 MB / 490.5 MB, free: 7.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.209e-05/0.7963, allocations: 4 kB / 490.5 MB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003442/0.7997, allocations: 0.7601 MB / 491.2 MB, free: 6.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.8012, allocations: 114.5 kB / 491.3 MB, free: 6.828 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.8077, allocations: 1.703 MB / 493 MB, free: 4.797 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/0.8086, allocations: 0.9322 MB / 494 MB, free: 3.836 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002318/0.8109, allocations: 185.6 kB / 494.2 MB, free: 3.652 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.8122, allocations: 203.4 kB / 494.4 MB, free: 3.453 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8123, allocations: 0 / 494.4 MB, free: 3.453 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4177/1.23, allocations: 19.02 MB / 0.5013 GB, free: 123.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/1.23, allocations: 128.4 kB / 0.5015 GB, free: 123.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.227/4.457, allocations: 0 / 0.5015 GB, free: 123.4 MB / 426.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