Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_KinematicPTP",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.083/3.083, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.943e-05, allocations: 4 kB / 299.5 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4741, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.6505, allocations: 82.37 MB / 436.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.6508, allocations: 59.97 kB / 436.8 MB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06982/0.7207, allocations: 11.33 MB / 448.2 MB, free: 1.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7207, allocations: 0 / 448.2 MB, free: 1.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.933e-05/0.7208, allocations: 8 kB / 448.2 MB, free: 1.262 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.004187/0.725, allocations: 0.8765 MB / 449.1 MB, free: 344 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.7251, allocations: 11.97 kB / 449.1 MB, free: 332 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002165/0.7253, allocations: 62.53 kB / 449.1 MB, free: 260 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.7255, allocations: 59.44 kB / 449.2 MB, free: 200 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.7264, allocations: 333.4 kB / 449.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006584/0.727, allocations: 254.9 kB / 449.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.7273, allocations: 28.25 kB / 449.8 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002736/0.73, allocations: 0.798 MB / 450.6 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.7317, allocations: 0.5051 MB / 451.1 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.7318, allocations: 3.984 kB / 451.1 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/0.7319, allocations: 4 kB / 451.1 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.732, allocations: 8 kB / 451.1 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/0.7369, allocations: 1.328 MB / 452.4 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.7398, allocations: 0.5655 MB / 453 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009564/0.7408, allocations: 298.8 kB / 453.3 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.741, allocations: 4.562 kB / 453.3 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.7411, allocations: 39.12 kB / 453.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 3.988e-06/0.7411, allocations: 0 / 453.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.04602/0.7871, allocations: 7.103 MB / 460.4 MB, free: 4.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.7873, allocations: 90.23 kB / 460.5 MB, free: 4.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.788, allocations: 310.2 kB / 460.8 MB, free: 4.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003554/0.7884, allocations: 29.7 kB / 460.9 MB, free: 4.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.7886, allocations: 189.2 kB / 461 MB, free: 3.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007087/0.7893, allocations: 386.2 kB / 461.4 MB, free: 3.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.7896, allocations: 0 / 461.4 MB, free: 3.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.7898, allocations: 366.8 kB / 461.8 MB, free: 3.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003131/0.793, allocations: 0.9439 MB / 462.7 MB, free: 2.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/0.7964, allocations: 1.036 MB / 463.8 MB, free: 1.219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.7991, allocations: 0.7852 MB / 464.5 MB, free: 448 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.7991, allocations: 0 / 464.5 MB, free: 448 kB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.3678/1.167, allocations: 1.954 MB / 466.5 MB, free: 101.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/1.167, allocations: 5.594 kB / 466.5 MB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/1.167, allocations: 1.688 kB / 466.5 MB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.769e-05/1.167, allocations: 6.625 kB / 466.5 MB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007733/1.175, allocations: 458.2 kB / 467 MB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-05/1.175, allocations: 10.83 kB / 467 MB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005517/1.181, allocations: 253.5 kB / 467.2 MB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004714/1.181, allocations: 41.62 kB / 467.3 MB, free: 101.5 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.0007071/1.182, allocations: 119.9 kB / 467.4 MB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/1.182, allocations: 59.16 kB / 467.4 MB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/1.183, allocations: 89.95 kB / 467.5 MB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/1.183, allocations: 12.5 kB / 467.5 MB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.183, allocations: 0 / 467.5 MB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/1.183, allocations: 10.7 kB / 467.5 MB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/1.202, allocations: 4.567 MB / 472.1 MB, free: 99.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.481e-05/1.202, allocations: 22.22 kB / 472.1 MB, free: 99.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004126/1.206, allocations: 404.4 kB / 472.5 MB, free: 99.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.006e-05/1.206, allocations: 35.78 kB / 472.6 MB, free: 99.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/1.207, allocations: 27.81 kB / 472.6 MB, free: 99.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.85e-05/1.207, allocations: 43.91 kB / 472.6 MB, free: 99.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.112e-05/1.207, allocations: 31.03 kB / 472.7 MB, free: 99.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005352/1.212, allocations: 3.24 MB / 475.9 MB, free: 96.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007616/1.213, allocations: 237.4 kB / 476.1 MB, free: 95.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/1.213, allocations: 34.17 kB / 476.2 MB, free: 95.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003976/1.217, allocations: 227.1 kB / 476.4 MB, free: 95.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00156/1.219, allocations: 242.1 kB / 476.6 MB, free: 95.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004765/1.219, allocations: 59.31 kB / 476.7 MB, free: 95.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007322/1.22, allocations: 237.9 kB / 476.9 MB, free: 95.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.22, allocations: 0 / 476.9 MB, free: 95.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003345/1.223, allocations: 195.6 kB / 477.1 MB, free: 95.73 MB / 394.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.01007/1.234, allocations: 10.21 MB / 487.3 MB, free: 85.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007218/1.241, allocations: 1.594 MB / 488.9 MB, free: 83.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.24e-05/1.241, allocations: 0 / 488.9 MB, free: 83.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005989/1.247, allocations: 0.7616 MB / 489.7 MB, free: 83.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/1.25, allocations: 117.4 kB / 489.8 MB, free: 83.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.26, allocations: 1.708 MB / 491.5 MB, free: 81.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008913/1.261, allocations: 0.9302 MB / 492.4 MB, free: 80.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004052/1.265, allocations: 186.7 kB / 492.6 MB, free: 80.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002267/1.268, allocations: 201.2 kB / 492.8 MB, free: 80.06 MB / 394.7 MB Notification: Performance of SimCode: time 2.265e-06/1.268, allocations: 4 kB / 492.8 MB, free: 80.06 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09771/1.365, allocations: 19.34 MB / 0.5001 GB, free: 62.02 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003048/1.366, allocations: 128.6 kB / 0.5003 GB, free: 61.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.419/5.785, allocations: 0 / 0.5003 GB, free: 61.83 MB / 394.7 MB "" Variables in the reference:time,integrator.y,integrator1.y,integrator2.y,integrator3.y Variables in the result:der(der(kinematicPTP1b.Ta1)),der(der(kinematicPTP1b.Ta1s)),der(der(kinematicPTP1b.Ta2)),der(der(kinematicPTP1b.Ta2s)),der(der(kinematicPTP1b.Te)),der(der(kinematicPTP1b.Tv)),der(der(kinematicPTP1b.Tvs)),der(der(kinematicPTP1b.s1)),der(der(kinematicPTP1b.s2)),der(der(kinematicPTP1b.s3)),der(der(kinematicPTP1b.sd_max)),der(der(kinematicPTP1b.sd_max2)),der(der(kinematicPTP1b.sdd_max)),der(der(kinematicPTP2b.Ta1)),der(der(kinematicPTP2b.Ta1s)),der(der(kinematicPTP2b.Ta2)),der(der(kinematicPTP2b.Ta2s)),der(der(kinematicPTP2b.Te)),der(der(kinematicPTP2b.Tv)),der(der(kinematicPTP2b.Tvs)),der(der(kinematicPTP2b.s1)),der(der(kinematicPTP2b.s2)),der(der(kinematicPTP2b.s3)),der(der(kinematicPTP2b.sd_max)),der(der(kinematicPTP2b.sd_max2)),der(der(kinematicPTP2b.sdd_max)),der(integrator.y),der(integrator1.y),der(integrator2.y),der(integrator3.y),der(kinematicPTP1b.Ta1),der(kinematicPTP1b.Ta1s),der(kinematicPTP1b.Ta2),der(kinematicPTP1b.Ta2s),der(kinematicPTP1b.Te),der(kinematicPTP1b.Tv),der(kinematicPTP1b.Tvs),der(kinematicPTP1b.s),der(kinematicPTP1b.s1),der(kinematicPTP1b.s2),der(kinematicPTP1b.s3),der(kinematicPTP1b.sd),der(kinematicPTP1b.sd_max),der(kinematicPTP1b.sd_max2),der(kinematicPTP1b.sdd_max),der(kinematicPTP2b.Ta1),der(kinematicPTP2b.Ta1s),der(kinematicPTP2b.Ta2),der(kinematicPTP2b.Ta2s),der(kinematicPTP2b.Te),der(kinematicPTP2b.Tv),der(kinematicPTP2b.Tvs),der(kinematicPTP2b.s),der(kinematicPTP2b.s1),der(kinematicPTP2b.s2),der(kinematicPTP2b.s3),der(kinematicPTP2b.sd),der(kinematicPTP2b.sd_max),der(kinematicPTP2b.sd_max2),der(kinematicPTP2b.sdd_max),diff1.u1,diff1.u2,diff1.y,diff2.u1,diff2.u2,diff2.y,integrator.initType,integrator.k,integrator.u,integrator.y,integrator.y_start,integrator1.initType,integrator1.k,integrator1.u,integrator1.y,integrator1.y_start,integrator2.initType,integrator2.k,integrator2.u,integrator2.y,integrator2.y_start,integrator3.initType,integrator3.k,integrator3.u,integrator3.y,integrator3.y_start,kinematicPTP1a.Ta1,kinematicPTP1a.Ta2,kinematicPTP1a.Te,kinematicPTP1a.Tv,kinematicPTP1a.aux1[1],kinematicPTP1a.aux2[1],kinematicPTP1a.deltaq[1],kinematicPTP1a.noWphase,kinematicPTP1a.nout,kinematicPTP1a.p_deltaq[1],kinematicPTP1a.p_qd_max[1],kinematicPTP1a.p_qdd_max[1],kinematicPTP1a.qd_max[1],kinematicPTP1a.qdd_max[1],kinematicPTP1a.sd_max,kinematicPTP1a.sdd,kinematicPTP1a.sdd_max,kinematicPTP1a.startTime,kinematicPTP1a.y[1],kinematicPTP1b.Ta1,kinematicPTP1b.Ta1s,kinematicPTP1b.Ta2,kinematicPTP1b.Ta2s,kinematicPTP1b.Te,kinematicPTP1b.Tes,kinematicPTP1b.Tv,kinematicPTP1b.Tvs,kinematicPTP1b.aux1[1],kinematicPTP1b.aux2[1],kinematicPTP1b.endTime,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.noWphase,kinematicPTP1b.nout,kinematicPTP1b.p_deltaq[1],kinematicPTP1b.p_q_begin[1],kinematicPTP1b.p_q_end[1],kinematicPTP1b.p_qd_max[1],kinematicPTP1b.p_qdd_max[1],kinematicPTP1b.q[1],kinematicPTP1b.q_begin[1],kinematicPTP1b.q_end[1],kinematicPTP1b.qd[1],kinematicPTP1b.qd_max[1],kinematicPTP1b.qdd[1],kinematicPTP1b.qdd_max[1],kinematicPTP1b.s,kinematicPTP1b.s1,kinematicPTP1b.s2,kinematicPTP1b.s3,kinematicPTP1b.sd,kinematicPTP1b.sd_max,kinematicPTP1b.sd_max2,kinematicPTP1b.sd_max_inv,kinematicPTP1b.sdd,kinematicPTP1b.sdd_max,kinematicPTP1b.sdd_max_inv,kinematicPTP1b.startTime,kinematicPTP2a.Ta1,kinematicPTP2a.Ta2,kinematicPTP2a.Te,kinematicPTP2a.Tv,kinematicPTP2a.aux1[1],kinematicPTP2a.aux2[1],kinematicPTP2a.deltaq[1],kinematicPTP2a.noWphase,kinematicPTP2a.nout,kinematicPTP2a.p_deltaq[1],kinematicPTP2a.p_qd_max[1],kinematicPTP2a.p_qdd_max[1],kinematicPTP2a.qd_max[1],kinematicPTP2a.qdd_max[1],kinematicPTP2a.sd_max,kinematicPTP2a.sdd,kinematicPTP2a.sdd_max,kinematicPTP2a.startTime,kinematicPTP2a.y[1],kinematicPTP2b.Ta1,kinematicPTP2b.Ta1s,kinematicPTP2b.Ta2,kinematicPTP2b.Ta2s,kinematicPTP2b.Te,kinematicPTP2b.Tes,kinematicPTP2b.Tv,kinematicPTP2b.Tvs,kinematicPTP2b.aux1[1],kinematicPTP2b.aux2[1],kinematicPTP2b.endTime,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP2b.noWphase,kinematicPTP2b.nout,kinematicPTP2b.p_deltaq[1],kinematicPTP2b.p_q_begin[1],kinematicPTP2b.p_q_end[1],kinematicPTP2b.p_qd_max[1],kinematicPTP2b.p_qdd_max[1],kinematicPTP2b.q[1],kinematicPTP2b.q_begin[1],kinematicPTP2b.q_end[1],kinematicPTP2b.qd[1],kinematicPTP2b.qd_max[1],kinematicPTP2b.qdd[1],kinematicPTP2b.qdd_max[1],kinematicPTP2b.s,kinematicPTP2b.s1,kinematicPTP2b.s2,kinematicPTP2b.s3,kinematicPTP2b.sd,kinematicPTP2b.sd_max,kinematicPTP2b.sd_max2,kinematicPTP2b.sd_max_inv,kinematicPTP2b.sdd,kinematicPTP2b.sdd_max,kinematicPTP2b.sdd_max_inv,kinematicPTP2b.startTime,time